Compare commits

..
81 Commits
Author SHA1 Message Date
CrazyMax 54042514f5 Merge pull request #144 from docker/dependabot/npm_and_yarn/js-yaml-4.3.2
chore(deps): bump js-yaml from 4.3.1 to 4.3.2
2026-09-16 11:22:51 +02:00
dependabot[bot] c17116e50b chore(deps): bump js-yaml from 4.3.1 to 4.3.2
Bumps [js-yaml](https://github.com/nodeca/js-yaml) from 4.3.1 to 4.3.2.
- [Changelog](https://github.com/nodeca/js-yaml/blob/4.3.2/CHANGELOG.md)
- [Commits](https://github.com/nodeca/js-yaml/compare/4.3.1...4.3.2)

---
updated-dependencies:
- dependency-name: js-yaml
  dependency-version: 4.3.2
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-09-16 09:20:37 +00:00
CrazyMax dfe9b534f4 Merge pull request #143 from docker/dependabot/github_actions/codecov/codecov-action-7.1.0
chore(deps): bump codecov/codecov-action from 7.0.0 to 7.1.0
2026-09-16 11:19:25 +02:00
CrazyMax e7149b6d02 Merge pull request #132 from docker/dependabot/npm_and_yarn/docker/actions-toolkit-0.94.0
chore(deps): bump @docker/actions-toolkit from 0.92.0 to 0.100.0
2026-09-16 11:18:55 +02:00
github-actions[bot] 04a1cef6f6 [dependabot skip] chore: update generated content 2026-09-16 09:10:15 +00:00
dependabot[bot] 2e06c82625 chore(deps): bump @docker/actions-toolkit from 0.92.0 to 0.100.0
Bumps [@docker/actions-toolkit](https://github.com/docker/actions-toolkit) from 0.92.0 to 0.100.0.
- [Release notes](https://github.com/docker/actions-toolkit/releases)
- [Commits](https://github.com/docker/actions-toolkit/compare/v0.92.0...v0.100.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2026-09-16 09:09:25 +00:00
CrazyMax bd7e71630a Merge pull request #141 from docker/dependabot/npm_and_yarn/nanoid-3.3.18
chore(deps): bump nanoid from 3.3.16 to 3.3.19
2026-09-16 11:07:22 +02:00
CrazyMax f6ed05785e Merge pull request #135 from docker/dependabot/npm_and_yarn/brace-expansion-1.1.18
chore(deps): bump brace-expansion from 1.1.15 to 1.1.18
2026-09-16 11:02:06 +02:00
github-actions[bot] 277b2d495e [dependabot skip] chore: update generated content 2026-09-16 08:58:43 +00:00
dependabot[bot] 2171dbff54 chore(deps): bump brace-expansion from 1.1.15 to 1.1.18
Bumps [brace-expansion](https://github.com/juliangruber/brace-expansion) from 1.1.15 to 1.1.18.
- [Release notes](https://github.com/juliangruber/brace-expansion/releases)
- [Commits](https://github.com/juliangruber/brace-expansion/compare/v1.1.15...v1.1.18)

---
updated-dependencies:
- dependency-name: brace-expansion
  dependency-version: 1.1.18
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-09-16 08:57:54 +00:00
dependabot[bot] 0ba385c4f0 chore(deps): bump nanoid from 3.3.16 to 3.3.19
Bumps [nanoid](https://github.com/ai/nanoid) from 3.3.16 to 3.3.19.
- [Release notes](https://github.com/ai/nanoid/releases)
- [Changelog](https://github.com/ai/nanoid/blob/main/CHANGELOG.md)
- [Commits](https://github.com/ai/nanoid/compare/3.3.16...3.3.19)

---
updated-dependencies:
- dependency-name: nanoid
  dependency-version: 3.3.18
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-09-16 08:56:13 +00:00
CrazyMax 33f1d09a4a Merge pull request #138 from docker/dependabot/npm_and_yarn/js-yaml-4.3.1
chore(deps): bump js-yaml from 4.3.0 to 4.3.1
2026-09-16 10:55:40 +02:00
CrazyMax e0cbec0f6a Merge pull request #140 from docker/dependabot/npm_and_yarn/humanfs/node-0.16.8
chore(deps): bump @humanfs/node from 0.16.7 to 0.16.8
2026-09-16 10:55:13 +02:00
CrazyMax 922bd60568 Merge pull request #142 from docker/dependabot/npm_and_yarn/csv-parse-7.0.2
chore(deps): bump csv-parse from 7.0.0 to 7.0.2
2026-09-16 10:54:49 +02:00
CrazyMax ac43c8ab7f Merge pull request #139 from docker/dependabot/npm_and_yarn/postcss-selector-parser-7.1.5
chore(deps): bump postcss-selector-parser from 7.1.1 to 7.1.5
2026-09-16 10:54:11 +02:00
CrazyMax 47b8e2114d Merge pull request #137 from docker/dependabot/github_actions/crazy-max-dot-github-6f52f8ed50
chore(deps): bump the crazy-max-dot-github group with 2 updates
2026-09-16 10:54:02 +02:00
CrazyMax 48ceb00594 Merge pull request #134 from docker/dependabot/npm_and_yarn/postcss-8.5.25
chore(deps): bump postcss from 8.5.10 to 8.5.25
2026-09-16 10:53:52 +02:00
CrazyMax e06d81015c Merge pull request #130 from docker/dependabot/github_actions/actions/checkout-7.0.1
chore(deps): bump actions/checkout from 7.0.0 to 7.0.1
2026-09-16 10:53:43 +02:00
CrazyMax 0e2beee9aa Merge pull request #128 from docker/dependabot/github_actions/actions/setup-node-7.0.0
chore(deps): bump actions/setup-node from 6.4.0 to 7.0.0
2026-09-16 10:53:32 +02:00
CrazyMax e16fb745c6 Merge pull request #127 from docker/dependabot/github_actions/codeql-actions-af2beed448
chore(deps): bump the codeql-actions group with 2 updates
2026-09-16 10:53:22 +02:00
CrazyMax c72f178b2e Merge pull request #121 from docker/dependabot/npm_and_yarn/sigstore-4.1.1
chore(deps): bump sigstore from 4.1.0 to 4.1.1
2026-09-16 10:53:12 +02:00
dependabot[bot] bd544acf48 chore(deps): bump codecov/codecov-action from 7.0.0 to 7.1.0
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 7.0.0 to 7.1.0.
- [Release notes](https://github.com/codecov/codecov-action/releases)
- [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/codecov/codecov-action/compare/fb8b3582c8e4def4969c97caa2f19720cb33a72f...0b35c9ecc4f0529d0eb674914510c22f85b196b4)

---
updated-dependencies:
- dependency-name: codecov/codecov-action
  dependency-version: 7.1.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-09-16 01:33:01 +00:00
github-actions[bot] aca6cd7525 [dependabot skip] chore: update generated content 2026-09-09 10:10:39 +00:00
dependabot[bot] bc8ab59a4a chore(deps): bump csv-parse from 7.0.0 to 7.0.2
Bumps [csv-parse](https://github.com/adaltas/node-csv/tree/HEAD/packages/csv-parse) from 7.0.0 to 7.0.2.
- [Changelog](https://github.com/adaltas/node-csv/blob/master/packages/csv-parse/CHANGELOG.md)
- [Commits](https://github.com/adaltas/node-csv/commits/csv-parse@7.0.2/packages/csv-parse)

---
updated-dependencies:
- dependency-name: csv-parse
  dependency-version: 7.0.2
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-09-09 10:09:48 +00:00
dependabot[bot] 3646ebda06 chore(deps): bump @humanfs/node from 0.16.7 to 0.16.8
Bumps [@humanfs/node](https://github.com/humanwhocodes/humanfs/tree/HEAD/packages/node) from 0.16.7 to 0.16.8.
- [Release notes](https://github.com/humanwhocodes/humanfs/releases)
- [Changelog](https://github.com/humanwhocodes/humanfs/blob/main/packages/node/CHANGELOG.md)
- [Commits](https://github.com/humanwhocodes/humanfs/commits/node-v0.16.8/packages/node)

---
updated-dependencies:
- dependency-name: "@humanfs/node"
  dependency-version: 0.16.8
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-09-03 13:23:31 +00:00
dependabot[bot] d747bb22c8 chore(deps): bump postcss-selector-parser from 7.1.1 to 7.1.5
Bumps [postcss-selector-parser](https://github.com/postcss/postcss-selector-parser) from 7.1.1 to 7.1.5.
- [Release notes](https://github.com/postcss/postcss-selector-parser/releases)
- [Changelog](https://github.com/postcss/postcss-selector-parser/blob/main/CHANGELOG.md)
- [Commits](https://github.com/postcss/postcss-selector-parser/compare/v7.1.1...7.1.5)

---
updated-dependencies:
- dependency-name: postcss-selector-parser
  dependency-version: 7.1.5
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-09-01 23:11:41 +00:00
dependabot[bot] 801841f18d chore(deps): bump js-yaml from 4.3.0 to 4.3.1
Bumps [js-yaml](https://github.com/nodeca/js-yaml) from 4.3.0 to 4.3.1.
- [Changelog](https://github.com/nodeca/js-yaml/blob/4.3.1/CHANGELOG.md)
- [Commits](https://github.com/nodeca/js-yaml/compare/4.3.0...4.3.1)

---
updated-dependencies:
- dependency-name: js-yaml
  dependency-version: 4.3.1
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-08-28 00:41:59 +00:00
dependabot[bot] bf947fbe0c chore(deps): bump the crazy-max-dot-github group with 2 updates
Bumps the crazy-max-dot-github group with 2 updates: [crazy-max/.github/.github/workflows/pr-assign-author.yml](https://github.com/crazy-max/.github) and [crazy-max/.github/.github/workflows/zizmor.yml](https://github.com/crazy-max/.github).


Updates `crazy-max/.github/.github/workflows/pr-assign-author.yml` from 1.10.1 to 1.11.0
- [Release notes](https://github.com/crazy-max/.github/releases)
- [Commits](https://github.com/crazy-max/.github/compare/46267a6e61cd56aac2fc79943df180152f4c89d6...f91220cba053bd54299ba645a599ee8ed436f222)

Updates `crazy-max/.github/.github/workflows/zizmor.yml` from 1.10.1 to 1.11.0
- [Release notes](https://github.com/crazy-max/.github/releases)
- [Commits](https://github.com/crazy-max/.github/compare/46267a6e61cd56aac2fc79943df180152f4c89d6...f91220cba053bd54299ba645a599ee8ed436f222)

---
updated-dependencies:
- dependency-name: crazy-max/.github/.github/workflows/pr-assign-author.yml
  dependency-version: 1.11.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: crazy-max-dot-github
- dependency-name: crazy-max/.github/.github/workflows/zizmor.yml
  dependency-version: 1.11.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: crazy-max-dot-github
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-08-12 01:32:56 +00:00
dependabot[bot] 429ebeeda4 chore(deps): bump postcss from 8.5.10 to 8.5.25
Bumps [postcss](https://github.com/postcss/postcss) from 8.5.10 to 8.5.25.
- [Release notes](https://github.com/postcss/postcss/releases)
- [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md)
- [Commits](https://github.com/postcss/postcss/compare/8.5.10...8.5.25)

---
updated-dependencies:
- dependency-name: postcss
  dependency-version: 8.5.25
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-07-31 19:45:03 +00:00
dependabot[bot] 1dea35db2b chore(deps): bump actions/checkout from 7.0.0 to 7.0.1
Bumps [actions/checkout](https://github.com/actions/checkout) from 7.0.0 to 7.0.1.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0...3d3c42e5aac5ba805825da76410c181273ba90b1)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: 7.0.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-07-21 01:33:06 +00:00
dependabot[bot] aa86b34797 chore(deps): bump actions/setup-node from 6.4.0 to 7.0.0
Bumps [actions/setup-node](https://github.com/actions/setup-node) from 6.4.0 to 7.0.0.
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](https://github.com/actions/setup-node/compare/48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e...820762786026740c76f36085b0efc47a31fe5020)

---
updated-dependencies:
- dependency-name: actions/setup-node
  dependency-version: 7.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-07-15 01:33:03 +00:00
dependabot[bot] a47e61c274 chore(deps): bump the codeql-actions group with 2 updates
Bumps the codeql-actions group with 2 updates: [github/codeql-action/init](https://github.com/github/codeql-action) and [github/codeql-action/analyze](https://github.com/github/codeql-action).


Updates `github/codeql-action/init` from 4.36.2 to 4.36.3
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/github/codeql-action/compare/8aad20d150bbac5944a9f9d289da16a4b0d87c1e...54f647b7e1bb85c95cddabcd46b0c578ec92bc1a)

Updates `github/codeql-action/analyze` from 4.36.2 to 4.36.3
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/github/codeql-action/compare/8aad20d150bbac5944a9f9d289da16a4b0d87c1e...54f647b7e1bb85c95cddabcd46b0c578ec92bc1a)

---
updated-dependencies:
- dependency-name: github/codeql-action/init
  dependency-version: 4.36.3
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: codeql-actions
- dependency-name: github/codeql-action/analyze
  dependency-version: 4.36.3
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: codeql-actions
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-07-09 12:03:02 +00:00
CrazyMax 3408803818 Merge pull request #126 from crazy-max/group-codeql-dependabot-updates
chore: group codeql dependabot updates
2026-07-09 13:59:17 +02:00
CrazyMax a1601254b6 chore: group codeql dependabot updates
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
2026-07-09 12:44:35 +02:00
dependabot[bot] 0138363dc6 chore(deps): bump sigstore from 4.1.0 to 4.1.1
Bumps [sigstore](https://github.com/sigstore/sigstore-js) from 4.1.0 to 4.1.1.
- [Release notes](https://github.com/sigstore/sigstore-js/releases)
- [Commits](https://github.com/sigstore/sigstore-js/compare/sigstore@4.1.0...sigstore@4.1.1)

---
updated-dependencies:
- dependency-name: sigstore
  dependency-version: 4.1.1
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-07-03 09:17:32 +00:00
CrazyMax 367f527aff Merge pull request #123 from docker/dependabot/github_actions/docker/bake-action/subaction/matrix-7.3.0
chore(deps): bump docker/bake-action/subaction/matrix from 7.2.0 to 7.3.0
2026-07-03 11:15:21 +02:00
CrazyMax d015707be9 Merge pull request #122 from docker/dependabot/github_actions/docker/bake-action-7.3.0
chore(deps): bump docker/bake-action from 7.2.0 to 7.3.0
2026-07-03 11:15:02 +02:00
CrazyMax 98a82a90de Merge pull request #120 from docker/dependabot/npm_and_yarn/sigstore/verify-3.1.1
chore(deps): bump @sigstore/verify from 3.1.0 to 3.1.1
2026-07-03 11:14:28 +02:00
dependabot[bot] 00039fda4c chore(deps): bump docker/bake-action/subaction/matrix
Bumps [docker/bake-action/subaction/matrix](https://github.com/docker/bake-action) from 7.2.0 to 7.3.0.
- [Release notes](https://github.com/docker/bake-action/releases)
- [Commits](https://github.com/docker/bake-action/compare/6614cfa25eff9a0b2b2697efb0b6159e7680d584...d3418bd7d0e9324001bca92fa8ba175ea7e6dc9b)

---
updated-dependencies:
- dependency-name: docker/bake-action/subaction/matrix
  dependency-version: 7.3.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-07-03 01:34:27 +00:00
dependabot[bot] 39a6db919e chore(deps): bump docker/bake-action from 7.2.0 to 7.3.0
Bumps [docker/bake-action](https://github.com/docker/bake-action) from 7.2.0 to 7.3.0.
- [Release notes](https://github.com/docker/bake-action/releases)
- [Commits](https://github.com/docker/bake-action/compare/6614cfa25eff9a0b2b2697efb0b6159e7680d584...d3418bd7d0e9324001bca92fa8ba175ea7e6dc9b)

---
updated-dependencies:
- dependency-name: docker/bake-action
  dependency-version: 7.3.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-07-03 01:33:09 +00:00
dependabot[bot] 27d069315a chore(deps): bump @sigstore/verify from 3.1.0 to 3.1.1
Bumps [@sigstore/verify](https://github.com/sigstore/sigstore-js) from 3.1.0 to 3.1.1.
- [Release notes](https://github.com/sigstore/sigstore-js/releases)
- [Commits](https://github.com/sigstore/sigstore-js/compare/sigstore@3.1.0...@sigstore/verify@3.1.1)

---
updated-dependencies:
- dependency-name: "@sigstore/verify"
  dependency-version: 3.1.1
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-07-02 02:37:18 +00:00
CrazyMax 4eb059ff7f Merge pull request #119 from docker/dependabot/npm_and_yarn/docker/actions-toolkit-0.92.0
chore(deps): bump @docker/actions-toolkit from 0.91.0 to 0.92.0
2026-07-01 14:25:06 +02:00
github-actions[bot] 310654b5cc [dependabot skip] chore: update generated content 2026-07-01 12:21:25 +00:00
dependabot[bot] 2f4a3092b7 chore(deps): bump @docker/actions-toolkit from 0.91.0 to 0.92.0
Bumps [@docker/actions-toolkit](https://github.com/docker/actions-toolkit) from 0.91.0 to 0.92.0.
- [Release notes](https://github.com/docker/actions-toolkit/releases)
- [Commits](https://github.com/docker/actions-toolkit/compare/v0.91.0...v0.92.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2026-07-01 12:20:38 +00:00
CrazyMax 7d865ffaf9 Merge pull request #111 from docker/dependabot/npm_and_yarn/undici-6.27.0
chore(deps): bump undici from 6.26.0 to 6.27.0
2026-07-01 14:18:04 +02:00
github-actions[bot] a11ad46116 [dependabot skip] chore: update generated content 2026-07-01 12:13:46 +00:00
dependabot[bot] ea03e82695 chore(deps): bump undici from 6.26.0 to 6.27.0
Bumps [undici](https://github.com/nodejs/undici) from 6.26.0 to 6.27.0.
- [Release notes](https://github.com/nodejs/undici/releases)
- [Commits](https://github.com/nodejs/undici/compare/v6.26.0...v6.27.0)

---
updated-dependencies:
- dependency-name: undici
  dependency-version: 6.27.0
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-07-01 12:12:52 +00:00
CrazyMax d37dd72e1d Merge pull request #118 from docker/dependabot/npm_and_yarn/js-yaml-4.3.0
chore(deps): bump js-yaml from 4.1.1 to 4.3.0
2026-07-01 14:12:47 +02:00
github-actions[bot] 146a460e6d [dependabot skip] chore: update generated content 2026-07-01 12:10:56 +00:00
CrazyMax d3b0309f78 Merge pull request #108 from docker/dependabot/npm_and_yarn/tmp-0.2.7
chore(deps): bump tmp from 0.2.6 to 0.2.7
2026-07-01 14:10:15 +02:00
dependabot[bot] e04d0bad3c chore(deps): bump js-yaml from 4.1.1 to 4.3.0
Bumps [js-yaml](https://github.com/nodeca/js-yaml) from 4.1.1 to 4.3.0.
- [Changelog](https://github.com/nodeca/js-yaml/blob/master/CHANGELOG.md)
- [Commits](https://github.com/nodeca/js-yaml/compare/4.1.1...4.3.0)

---
updated-dependencies:
- dependency-name: js-yaml
  dependency-version: 4.3.0
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-07-01 12:09:59 +00:00
github-actions[bot] cb0af0a09b [dependabot skip] chore: update generated content 2026-07-01 12:09:39 +00:00
CrazyMax fd436c18c9 Merge pull request #109 from docker/dependabot/github_actions/actions/checkout-7.0.0
chore(deps): bump actions/checkout from 6.0.2 to 7.0.0
2026-07-01 14:09:05 +02:00
dependabot[bot] ae64015cc2 chore(deps): bump tmp from 0.2.6 to 0.2.7
Bumps [tmp](https://github.com/raszi/node-tmp) from 0.2.6 to 0.2.7.
- [Changelog](https://github.com/raszi/node-tmp/blob/master/CHANGELOG.md)
- [Commits](https://github.com/raszi/node-tmp/compare/v0.2.6...v0.2.7)

---
updated-dependencies:
- dependency-name: tmp
  dependency-version: 0.2.7
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-07-01 12:08:51 +00:00
CrazyMax 6ba698af1b Merge pull request #106 from docker/dependabot/github_actions/codecov/codecov-action-7.0.0
chore(deps): bump codecov/codecov-action from 6.0.1 to 7.0.0
2026-07-01 14:08:41 +02:00
CrazyMax daf7ec5eda Merge pull request #104 from docker/dependabot/github_actions/crazy-max-dot-github-a6a0ecf511
chore(deps): bump the crazy-max-dot-github group across 1 directory with 2 updates
2026-07-01 14:08:14 +02:00
CrazyMax bf10f6e6a0 Merge pull request #105 from docker/dependabot/github_actions/github/codeql-action-4.36.2
chore(deps): bump github/codeql-action from 4.36.0 to 4.36.2
2026-07-01 14:07:51 +02:00
CrazyMax a55b08de68 Merge pull request #110 from docker/dependabot/npm_and_yarn/vite-7.3.5
chore(deps): bump vite from 7.3.3 to 7.3.6
2026-07-01 14:07:01 +02:00
CrazyMax 2a56b96c64 Merge pull request #115 from docker/dependabot/npm_and_yarn/sigstore/core-3.2.1
chore(deps): bump @sigstore/core from 3.1.0 to 3.2.1
2026-07-01 14:06:21 +02:00
CrazyMax 398185fd5e Merge pull request #117 from crazy-max/fix-yarn-preapprove-actions-toolkit
chore: allow actions-toolkit to bypass yarn age gate
2026-07-01 12:50:50 +02:00
CrazyMax 0b6d64dd19 Merge pull request #116 from crazy-max/dependabot-skip-update-dist
dependabot: skip for update-dist commits
2026-07-01 12:50:41 +02:00
CrazyMax b7884b55c0 chore: allow actions-toolkit to bypass yarn age gate
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
2026-07-01 11:43:34 +02:00
CrazyMax 31417945f5 dependabot: skip for update-dist commits
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
2026-06-30 11:09:28 +02:00
dependabot[bot] 9668eca79b chore(deps): bump the crazy-max-dot-github group across 1 directory with 2 updates
Bumps the crazy-max-dot-github group with 2 updates in the / directory: [crazy-max/.github/.github/workflows/pr-assign-author.yml](https://github.com/crazy-max/.github) and [crazy-max/.github/.github/workflows/zizmor.yml](https://github.com/crazy-max/.github).


Updates `crazy-max/.github/.github/workflows/pr-assign-author.yml` from 1.8.0 to 1.10.1
- [Release notes](https://github.com/crazy-max/.github/releases)
- [Commits](https://github.com/crazy-max/.github/compare/9ba6e6f9450baf3b1237f8035c1fdc45932510bd...46267a6e61cd56aac2fc79943df180152f4c89d6)

Updates `crazy-max/.github/.github/workflows/zizmor.yml` from 1.8.0 to 1.10.1
- [Release notes](https://github.com/crazy-max/.github/releases)
- [Commits](https://github.com/crazy-max/.github/compare/9ba6e6f9450baf3b1237f8035c1fdc45932510bd...46267a6e61cd56aac2fc79943df180152f4c89d6)

---
updated-dependencies:
- dependency-name: crazy-max/.github/.github/workflows/pr-assign-author.yml
  dependency-version: 1.10.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: crazy-max-dot-github
- dependency-name: crazy-max/.github/.github/workflows/zizmor.yml
  dependency-version: 1.10.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: crazy-max-dot-github
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-06-30 01:32:44 +00:00
dependabot[bot] a4632bf49a chore(deps): bump vite from 7.3.3 to 7.3.6
Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite) from 7.3.3 to 7.3.6.
- [Release notes](https://github.com/vitejs/vite/releases)
- [Changelog](https://github.com/vitejs/vite/blob/v7.3.6/packages/vite/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite/commits/v7.3.6/packages/vite)

---
updated-dependencies:
- dependency-name: vite
  dependency-version: 7.3.5
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-06-29 14:18:30 +00:00
github-actions[bot] e94f5ff3d8 chore: update generated content 2026-06-29 14:17:52 +00:00
dependabot[bot] 51d5930742 chore(deps): bump @sigstore/core from 3.1.0 to 3.2.1
Bumps [@sigstore/core](https://github.com/sigstore/sigstore-js) from 3.1.0 to 3.2.1.
- [Release notes](https://github.com/sigstore/sigstore-js/releases)
- [Commits](https://github.com/sigstore/sigstore-js/compare/sigstore@3.1.0...@sigstore/core@3.2.1)

---
updated-dependencies:
- dependency-name: "@sigstore/core"
  dependency-version: 3.2.1
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-06-29 14:17:00 +00:00
CrazyMax a8074e13c2 Merge pull request #114 from crazy-max/fix-esbuild
preserve names in esbuild bundle
2026-06-29 16:15:18 +02:00
CrazyMax 7fbdfd3c1a preserve names in esbuild bundle
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
2026-06-29 15:04:20 +02:00
dependabot[bot] 09ed12acf8 chore(deps): bump actions/checkout from 6.0.2 to 7.0.0
Bumps [actions/checkout](https://github.com/actions/checkout) from 6.0.2 to 7.0.0.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/de0fac2e4500dabe0009e67214ff5f5447ce83dd...9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: 7.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-06-19 01:32:46 +00:00
Alexandre Vallières-Lagacé 6fe408f5ba Merge pull request #107 from docker/sec-cli/npm-ci-20260615-142203
fix: replace npm install with npm ci (20260615-142203)
2026-06-15 11:53:25 -04:00
securityeng-bot[bot] f6cde28f68 fix: use lockfile-aware install commands 2026-06-15 14:22:04 +00:00
dependabot[bot] c1ee995bf9 chore(deps): bump codecov/codecov-action from 6.0.1 to 7.0.0
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 6.0.1 to 7.0.0.
- [Release notes](https://github.com/codecov/codecov-action/releases)
- [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/codecov/codecov-action/compare/e79a6962e0d4c0c17b229090214935d2e33f8354...fb8b3582c8e4def4969c97caa2f19720cb33a72f)

---
updated-dependencies:
- dependency-name: codecov/codecov-action
  dependency-version: 7.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-06-08 01:34:29 +00:00
dependabot[bot] de9dc1b95d chore(deps): bump github/codeql-action from 4.36.0 to 4.36.2
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 4.36.0 to 4.36.2.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/github/codeql-action/compare/7211b7c8077ea37d8641b6271f6a365a22a5fbfa...8aad20d150bbac5944a9f9d289da16a4b0d87c1e)

---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-version: 4.36.2
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-06-08 01:34:24 +00:00
CrazyMax dd8b913e80 Merge pull request #101 from crazy-max/yarn-update
update yarn to 4.15.0
2026-05-28 18:45:01 +02:00
CrazyMax 168cd6c426 update yarn to 4.15.0
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
2026-05-28 15:13:46 +02:00
CrazyMax 410c00e878 Merge pull request #100 from docker/dependabot/npm_and_yarn/actions/core-3.0.1
chore(deps): bump @actions/core from 3.0.0 to 3.0.1
2026-05-28 10:22:30 +02:00
CrazyMax 5d29e18d06 Merge pull request #99 from docker/sec-cli/ignore-scripts-fix-20260527-193420
ci: add ignore-scripts to Node package manager config (20260527-193420)
2026-05-28 09:59:38 +02:00
github-actions[bot] 70b1359563 chore: update generated content 2026-05-28 01:58:55 +00:00
dependabot[bot] f0bcefd12e chore(deps): bump @actions/core from 3.0.0 to 3.0.1
Bumps [@actions/core](https://github.com/actions/toolkit/tree/HEAD/packages/core) from 3.0.0 to 3.0.1.
- [Changelog](https://github.com/actions/toolkit/blob/main/packages/core/RELEASES.md)
- [Commits](https://github.com/actions/toolkit/commits/HEAD/packages/core)

---
updated-dependencies:
- dependency-name: "@actions/core"
  dependency-version: 3.0.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-05-28 01:58:09 +00:00
securityeng-bot[bot] 41e3c799a3 ci: enforce ignore-scripts policy for Node package managers 2026-05-27 20:05:06 +00:00
16 changed files with 470 additions and 1133 deletions

No files matched your search

+3
View File
@@ -10,6 +10,9 @@ updates:
crazy-max-dot-github:
patterns:
- "crazy-max/.github/*"
codeql-actions:
patterns:
- "github/codeql-action/*"
labels:
- "dependencies"
- "bot"
+4 -4
View File
@@ -34,7 +34,7 @@ jobs:
steps:
-
name: Checkout
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
-
name: Set up Docker Compose
uses: ./
@@ -46,7 +46,7 @@ jobs:
steps:
-
name: Checkout
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
-
name: Set up Docker Compose 1
uses: ./
@@ -59,7 +59,7 @@ jobs:
steps:
-
name: Checkout
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
-
name: Uninstall docker cli
run: |
@@ -83,7 +83,7 @@ jobs:
steps:
-
name: Checkout
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
-
name: Set up Docker Compose
uses: ./
+4 -4
View File
@@ -22,7 +22,7 @@ jobs:
steps:
-
name: Checkout
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
-
name: Enable corepack
run: |
@@ -30,17 +30,17 @@ jobs:
yarn --version
-
name: Set up Node
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
with:
node-version: ${{ env.NODE_VERSION }}
-
name: Initialize CodeQL
uses: github/codeql-action/init@7211b7c8077ea37d8641b6271f6a365a22a5fbfa # v4.36.0
uses: github/codeql-action/init@54f647b7e1bb85c95cddabcd46b0c578ec92bc1a # v4.36.3
with:
languages: javascript-typescript
build-mode: none
-
name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@7211b7c8077ea37d8641b6271f6a365a22a5fbfa # v4.36.0
uses: github/codeql-action/analyze@54f647b7e1bb85c95cddabcd46b0c578ec92bc1a # v4.36.3
with:
category: "/language:javascript-typescript"
+1 -1
View File
@@ -11,7 +11,7 @@ on:
jobs:
run:
uses: crazy-max/.github/.github/workflows/pr-assign-author.yml@9ba6e6f9450baf3b1237f8035c1fdc45932510bd # v1.8.0
uses: crazy-max/.github/.github/workflows/pr-assign-author.yml@f91220cba053bd54299ba645a599ee8ed436f222 # v1.11.0
permissions:
contents: read
pull-requests: write
+1 -1
View File
@@ -22,7 +22,7 @@ jobs:
steps:
-
name: Checkout
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
-
name: Publish
uses: actions/publish-immutable-action@4bc8754ffc40f27910afb20287dbbbb675a4e978 # v0.0.4
+3 -3
View File
@@ -20,16 +20,16 @@ jobs:
steps:
-
name: Checkout
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
-
name: Test
uses: docker/bake-action@6614cfa25eff9a0b2b2697efb0b6159e7680d584 # v7.2.0
uses: docker/bake-action@d3418bd7d0e9324001bca92fa8ba175ea7e6dc9b # v7.3.0
with:
source: .
targets: test
-
name: Upload coverage
uses: codecov/codecov-action@e79a6962e0d4c0c17b229090214935d2e33f8354 # v6.0.1
uses: codecov/codecov-action@0b35c9ecc4f0529d0eb674914510c22f85b196b4 # v7.1.0
with:
files: ./coverage/clover.xml
token: ${{ secrets.CODECOV_TOKEN }}
+3 -3
View File
@@ -30,14 +30,14 @@ jobs:
permission-contents: write
-
name: Checkout
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
ref: ${{ github.event.pull_request.head.ref }}
fetch-depth: 0
token: ${{ steps.docker-read-app.outputs.token }}
-
name: Build
uses: docker/bake-action@6614cfa25eff9a0b2b2697efb0b6159e7680d584 # v7.2.0
uses: docker/bake-action@d3418bd7d0e9324001bca92fa8ba175ea7e6dc9b # v7.3.0
with:
source: .
targets: build
@@ -50,7 +50,7 @@ jobs:
git config user.name "github-actions[bot]"
git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
git add dist
git commit -m "chore: update generated content"
git commit -m "[dependabot skip] chore: update generated content"
git push
)
else
+3 -3
View File
@@ -22,11 +22,11 @@ jobs:
steps:
-
name: Checkout
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
-
name: Generate matrix
id: generate
uses: docker/bake-action/subaction/matrix@6614cfa25eff9a0b2b2697efb0b6159e7680d584 # v7.2.0
uses: docker/bake-action/subaction/matrix@d3418bd7d0e9324001bca92fa8ba175ea7e6dc9b # v7.3.0
with:
target: validate
@@ -41,6 +41,6 @@ jobs:
steps:
-
name: Validate
uses: docker/bake-action@6614cfa25eff9a0b2b2697efb0b6159e7680d584 # v7.2.0
uses: docker/bake-action@d3418bd7d0e9324001bca92fa8ba175ea7e6dc9b # v7.3.0
with:
targets: ${{ matrix.target }}
+1 -1
View File
@@ -19,7 +19,7 @@ on:
jobs:
zizmor:
uses: crazy-max/.github/.github/workflows/zizmor.yml@9ba6e6f9450baf3b1237f8035c1fdc45932510bd # v1.8.0
uses: crazy-max/.github/.github/workflows/zizmor.yml@f91220cba053bd54299ba645a599ee8ed436f222 # v1.11.0
permissions:
contents: read
security-events: write
+11 -4
View File
@@ -1,10 +1,10 @@
# https://yarnpkg.com/configuration/yarnrc
compressionLevel: mixed
enableGlobalCache: false
enableHardenedMode: true
nodeLinker: node-modules
logFilters:
- code: YN0004
level: discard
- code: YN0013
level: discard
- code: YN0019
@@ -14,4 +14,11 @@ logFilters:
- code: YN0086
level: discard
nodeLinker: node-modules
npmPreapprovedPackages:
- "@docker/actions-toolkit"
compressionLevel: mixed
enableGlobalCache: false
enableHardenedMode: true
enableScripts: false
npmMinimalAgeGate: 2d
+1 -1
View File
@@ -17,7 +17,7 @@ FROM base AS deps
RUN --mount=type=bind,target=.,rw \
--mount=type=cache,target=/src/.yarn/cache \
--mount=type=cache,target=/src/node_modules \
yarn install && mkdir /vendor && cp yarn.lock /vendor
yarn install --immutable && mkdir /vendor && cp yarn.lock /vendor
FROM scratch AS vendor-update
COPY --from=deps /vendor /
Generated Vendored
+123 -184
View File
@@ -1,184 +1,161 @@
var UPe=Object.create;var _D=Object.defineProperty;var FPe=Object.getOwnPropertyDescriptor;var qPe=Object.getOwnPropertyNames;var GPe=Object.getPrototypeOf,HPe=Object.prototype.hasOwnProperty;var zPe=(t,e)=>()=>(t&&(e=t(t=0)),e);var A=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),HW=(t,e)=>{for(var r in e)_D(t,r,{get:e[r],enumerable:!0})},VPe=(t,e,r,s)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of qPe(e))!HPe.call(t,i)&&i!==r&&_D(t,i,{get:()=>e[i],enumerable:!(s=FPe(e,i))||s.enumerable});return t};var O=(t,e,r)=>(r=t!=null?UPe(GPe(t)):{},VPe(e||!t||!t.__esModule?_D(r,"default",{value:t,enumerable:!0}):r,t));var YW=A(PA=>{"use strict";var jQt=require("net"),KPe=require("tls"),kD=require("http"),$W=require("https"),XPe=require("events"),JQt=require("assert"),ZPe=require("util");PA.httpOverHttp=eOe;PA.httpsOverHttp=tOe;PA.httpOverHttps=rOe;PA.httpsOverHttps=sOe;function eOe(t){var e=new Gl(t);return e.request=kD.request,e}function tOe(t){var e=new Gl(t);return e.request=kD.request,e.createSocket=jW,e.defaultPort=443,e}function rOe(t){var e=new Gl(t);return e.request=$W.request,e}function sOe(t){var e=new Gl(t);return e.request=$W.request,e.createSocket=jW,e.defaultPort=443,e}function Gl(t){var e=this;e.options=t||{},e.proxyOptions=e.options.proxy||{},e.maxSockets=e.options.maxSockets||kD.Agent.defaultMaxSockets,e.requests=[],e.sockets=[],e.on("free",function(s,i,n,o){for(var a=JW(i,n,o),c=0,l=e.requests.length;c<l;++c){var u=e.requests[c];if(u.host===a.host&&u.port===a.port){e.requests.splice(c,1),u.request.onSocket(s);return}}s.destroy(),e.removeSocket(s)})}ZPe.inherits(Gl,XPe.EventEmitter);Gl.prototype.addRequest=function(e,r,s,i){var n=this,o=MD({request:e},n.options,JW(r,s,i));if(n.sockets.length>=this.maxSockets){n.requests.push(o);return}n.createSocket(o,function(a){a.on("free",c),a.on("close",l),a.on("agentRemove",l),e.onSocket(a);function c(){n.emit("free",a,o)}function l(u){n.removeSocket(a),a.removeListener("free",c),a.removeListener("close",l),a.removeListener("agentRemove",l)}})};Gl.prototype.createSocket=function(e,r){var s=this,i={};s.sockets.push(i);var n=MD({},s.proxyOptions,{method:"CONNECT",path:e.host+":"+e.port,agent:!1,headers:{host:e.host+":"+e.port}});e.localAddress&&(n.localAddress=e.localAddress),n.proxyAuth&&(n.headers=n.headers||{},n.headers["Proxy-Authorization"]="Basic "+new Buffer(n.proxyAuth).toString("base64")),Ih("making CONNECT request");var o=s.request(n);o.useChunkedEncodingByDefault=!1,o.once("response",a),o.once("upgrade",c),o.once("connect",l),o.once("error",u),o.end();function a(h){h.upgrade=!0}function c(h,d,f){process.nextTick(function(){l(h,d,f)})}function l(h,d,f){if(o.removeAllListeners(),d.removeAllListeners(),h.statusCode!==200){Ih("tunneling socket could not be established, statusCode=%d",h.statusCode),d.destroy();var p=new Error("tunneling socket could not be established, statusCode="+h.statusCode);p.code="ECONNRESET",e.request.emit("error",p),s.removeSocket(i);return}if(f.length>0){Ih("got illegal response body from proxy"),d.destroy();var p=new Error("got illegal response body from proxy");p.code="ECONNRESET",e.request.emit("error",p),s.removeSocket(i);return}return Ih("tunneling connection has established"),s.sockets[s.sockets.indexOf(i)]=d,r(d)}function u(h){o.removeAllListeners(),Ih(`tunneling socket could not be established, cause=%s
`,h.message,h.stack);var d=new Error("tunneling socket could not be established, cause="+h.message);d.code="ECONNRESET",e.request.emit("error",d),s.removeSocket(i)}};Gl.prototype.removeSocket=function(e){var r=this.sockets.indexOf(e);if(r!==-1){this.sockets.splice(r,1);var s=this.requests.shift();s&&this.createSocket(s,function(i){s.request.onSocket(i)})}};function jW(t,e){var r=this;Gl.prototype.createSocket.call(r,t,function(s){var i=t.request.getHeader("host"),n=MD({},r.options,{socket:s,servername:i?i.replace(/:.*$/,""):t.host}),o=KPe.connect(0,n);r.sockets[r.sockets.indexOf(s)]=o,e(o)})}function JW(t,e,r){return typeof t=="string"?{host:t,port:e,localAddress:r}:t}function MD(t){for(var e=1,r=arguments.length;e<r;++e){var s=arguments[e];if(typeof s=="object")for(var i=Object.keys(s),n=0,o=i.length;n<o;++n){var a=i[n];s[a]!==void 0&&(t[a]=s[a])}}return t}var Ih;process.env.NODE_DEBUG&&/\btunnel\b/.test(process.env.NODE_DEBUG)?Ih=function(){var t=Array.prototype.slice.call(arguments);typeof t[0]=="string"?t[0]="TUNNEL: "+t[0]:t.unshift("TUNNEL:"),console.error.apply(console,t)}:Ih=function(){};PA.debug=Ih});var af=A((WQt,WW)=>{WW.exports=YW()});var tr=A((KQt,KW)=>{KW.exports={kClose:Symbol("close"),kDestroy:Symbol("destroy"),kDispatch:Symbol("dispatch"),kUrl:Symbol("url"),kWriting:Symbol("writing"),kResuming:Symbol("resuming"),kQueue:Symbol("queue"),kConnect:Symbol("connect"),kConnecting:Symbol("connecting"),kKeepAliveDefaultTimeout:Symbol("default keep alive timeout"),kKeepAliveMaxTimeout:Symbol("max keep alive timeout"),kKeepAliveTimeoutThreshold:Symbol("keep alive timeout threshold"),kKeepAliveTimeoutValue:Symbol("keep alive timeout"),kKeepAlive:Symbol("keep alive"),kHeadersTimeout:Symbol("headers timeout"),kBodyTimeout:Symbol("body timeout"),kServerName:Symbol("server name"),kLocalAddress:Symbol("local address"),kHost:Symbol("host"),kNoRef:Symbol("no ref"),kBodyUsed:Symbol("used"),kBody:Symbol("abstracted request body"),kRunning:Symbol("running"),kBlocking:Symbol("blocking"),kPending:Symbol("pending"),kSize:Symbol("size"),kBusy:Symbol("busy"),kQueued:Symbol("queued"),kFree:Symbol("free"),kConnected:Symbol("connected"),kClosed:Symbol("closed"),kNeedDrain:Symbol("need drain"),kReset:Symbol("reset"),kDestroyed:Symbol.for("nodejs.stream.destroyed"),kResume:Symbol("resume"),kOnError:Symbol("on error"),kMaxHeadersSize:Symbol("max headers size"),kRunningIdx:Symbol("running index"),kPendingIdx:Symbol("pending index"),kError:Symbol("error"),kClients:Symbol("clients"),kClient:Symbol("client"),kParser:Symbol("parser"),kOnDestroyed:Symbol("destroy callbacks"),kPipelining:Symbol("pipelining"),kSocket:Symbol("socket"),kHostHeader:Symbol("host header"),kConnector:Symbol("connector"),kStrictContentLength:Symbol("strict content length"),kMaxRedirections:Symbol("maxRedirections"),kMaxRequests:Symbol("maxRequestsPerClient"),kProxy:Symbol("proxy agent options"),kCounter:Symbol("socket request counter"),kInterceptors:Symbol("dispatch interceptors"),kMaxResponseSize:Symbol("max response size"),kHTTP2Session:Symbol("http2Session"),kHTTP2SessionState:Symbol("http2Session state"),kRetryHandlerDefaultRetry:Symbol("retry agent default retry"),kConstruct:Symbol("constructable"),kListeners:Symbol("listeners"),kHTTPContext:Symbol("http context"),kMaxConcurrentStreams:Symbol("max concurrent streams"),kNoProxyAgent:Symbol("no proxy agent"),kHttpProxyAgent:Symbol("http proxy agent"),kHttpsProxyAgent:Symbol("https proxy agent")}});var yt=A((XQt,bK)=>{"use strict";var XW=Symbol.for("undici.error.UND_ERR"),rr=class extends Error{constructor(e){super(e),this.name="UndiciError",this.code="UND_ERR"}static[Symbol.hasInstance](e){return e&&e[XW]===!0}[XW]=!0},ZW=Symbol.for("undici.error.UND_ERR_CONNECT_TIMEOUT"),LD=class extends rr{constructor(e){super(e),this.name="ConnectTimeoutError",this.message=e||"Connect Timeout Error",this.code="UND_ERR_CONNECT_TIMEOUT"}static[Symbol.hasInstance](e){return e&&e[ZW]===!0}[ZW]=!0},eK=Symbol.for("undici.error.UND_ERR_HEADERS_TIMEOUT"),UD=class extends rr{constructor(e){super(e),this.name="HeadersTimeoutError",this.message=e||"Headers Timeout Error",this.code="UND_ERR_HEADERS_TIMEOUT"}static[Symbol.hasInstance](e){return e&&e[eK]===!0}[eK]=!0},tK=Symbol.for("undici.error.UND_ERR_HEADERS_OVERFLOW"),FD=class extends rr{constructor(e){super(e),this.name="HeadersOverflowError",this.message=e||"Headers Overflow Error",this.code="UND_ERR_HEADERS_OVERFLOW"}static[Symbol.hasInstance](e){return e&&e[tK]===!0}[tK]=!0},rK=Symbol.for("undici.error.UND_ERR_BODY_TIMEOUT"),qD=class extends rr{constructor(e){super(e),this.name="BodyTimeoutError",this.message=e||"Body Timeout Error",this.code="UND_ERR_BODY_TIMEOUT"}static[Symbol.hasInstance](e){return e&&e[rK]===!0}[rK]=!0},sK=Symbol.for("undici.error.UND_ERR_RESPONSE_STATUS_CODE"),GD=class extends rr{constructor(e,r,s,i){super(e),this.name="ResponseStatusCodeError",this.message=e||"Response Status Code Error",this.code="UND_ERR_RESPONSE_STATUS_CODE",this.body=i,this.st Line truncated
`)||t.includes("\r")||t.includes("\0"))===!1}function Eke(t,e){let{headersList:r}=e,s=(r.get("referrer-policy",!0)??"").split(","),i="";if(s.length>0)for(let n=s.length;n!==0;n--){let o=s[n-1].trim();if(ske.has(o)){i=o;break}}i!==""&&(t.referrerPolicy=i)}function Cke(){return"allowed"}function Ike(){return"success"}function bke(){return"success"}function wke(t){let e=null;e=t.mode,t.headersList.set("sec-fetch-mode",e,!0)}function Bke(t){let e=t.origin;if(!(e==="client"||e===void 0)){if(t.responseTainting==="cors"||t.mode==="websocket")t.headersList.append("origin",e,!0);else if(t.method!=="GET"&&t.method!=="HEAD"){switch(t.referrerPolicy){case"no-referrer":e=null;break;case"no-referrer-when-downgrade":case"strict-origin":case"strict-origin-when-cross-origin":t.origin&&Pk(t.origin)&&!Pk(KE(t))&&(e=null);break;case"same-origin":FB(t,KE(t))||(e=null);break;default:}t.headersList.append("origin",e,!0)}}}function HA(t,e){return t}function Ske(t,e,r){return!t?.startTime||t.startTime<e?{domainLookupStartTime:e,domainLookupEndTime:e,connectionStartTime:e,connectionEndTime:e,secureConnectionStartTime:e,ALPNNegotiatedProtocol:t?.ALPNNegotiatedProtocol}:{domainLookupStartTime:HA(t.domainLookupStartTime,r),domainLookupEndTime:HA(t.domainLookupEndTime,r),connectionStartTime:HA(t.connectionStartTime,r),connectionEndTime:HA(t.connectionEndTime,r),secureConnectionStartTime:HA(t.secureConnectionStartTime,r),ALPNNegotiatedProtocol:t.ALPNNegotiatedProtocol}}function xke(t){return HA(cke.now(),t)}function Nke(t){return{startTime:t.startTime??0,redirectStartTime:0,redirectEndTime:0,postRedirectStartTime:t.startTime??0,finalServiceWorkerStartTime:0,finalNetworkResponseStartTime:0,finalNetworkRequestStartTime:0,endTime:0,encodedBodySize:0,decodedBodySize:0,finalConnectionTimingInfo:null}}function MX(){return{referrerPolicy:"strict-origin-when-cross-origin"}}function Rke(t){return{referrerPolicy:t.referrerPolicy}}function vke(t){let e=t.referrerPolicy;hf(e);let r=null;if(t.referrer==="client"){let a=_X();if(!a||a.origin==="null")return"no-referrer";r=new URL(a)}else t.referrer instanceof URL&&(r=t.referrer);let s=Qk(r),i=Qk(r,!0);s.toString().length>4096&&(s=i);let n=FB(t,s),o=WE(s)&&!WE(t.url);switch(e){case"origin":return i??Qk(r,!0);case"unsafe-url":return s;case"same-origin":return n?i:"no-referrer";case"origin-when-cross-origin":return n?s:i;case"strict-origin-when-cross-origin":{let a=KE(t);return FB(s,a)?s:WE(s)&&!WE(a)?"no-referrer":i}default:return o?"no-referrer":i}}function Qk(t,e){return hf(t instanceof URL),t=new URL(t),t.protocol==="file:"||t.protocol==="about:"||t.protocol==="blank:"?"no-referrer":(t.username="",t.password="",t.hash="",e&&(t.pathname="",t.search=""),t)}function WE(t){if(!(t instanceof URL))return!1;if(t.href==="about:blank"||t.href==="about:srcdoc"||t.protocol==="data:"||t.protocol==="file:")return!0;return e(t.origin);function e(r){if(r==null||r==="null")return!1;let s=new URL(r);return!!(s.protocol==="https:"||s.protocol==="wss:"||/^127(?:\.[0-9]+){0,2}\.[0-9]+$|^\[(?:0*:)*?:?0*1\]$/.test(s.hostname)||s.hostname==="localhost"||s.hostname.includes("localhost.")||s.hostname.endsWith(".localhost"))}}function Tke(t,e){if(UB===void 0)return!0;let r=LX(e);if(r==="no metadata"||r.length===0)return!0;let s=Qke(r),i=Pke(r,s);for(let n of i){let o=n.algo,a=n.hash,c=UB.createHash(o).update(t).digest("base64");if(c[c.length-1]==="="&&(c[c.length-2]==="="?c=c.slice(0,-2):c=c.slice(0,-1)),Oke(c,a))return!0}return!1}var _ke=/(?<algo>sha256|sha384|sha512)-((?<hash>[A-Za-z0-9+/]+|[A-Za-z0-9_-]+)={0,2}(?:\s|$)( +[!-~]*)?)?/i;function LX(t){let e=[],r=!0;for(let s of t.split(" ")){r=!1;let i=_ke.exec(s);if(i===null||i.groups===void 0||i.groups.algo===void 0)continue;let n=i.groups.algo.toLowerCase();PX.includes(n)&&e.push(i.groups)}return r===!0?"no metadata":e}function Qke(t){let e=t[0].algo;if(e[3]==="5")return e;for(let r=1;r<t.length;++r){let s=t[r];if(s.algo[3]==="5"){e="sha512";break}else{if(e[3]==="3")continue;s.algo[3]==="3"&&(e="sha384")}}return e}function Pke(t,e){if(t.length===1)return t;let r=0;for(let s=0;s<t.length;++s)t[s].algo===e&&(t[r++]=t[s]);return t.length=r,t}function Oke(t,e){if(t.length!==e.length)return!1;for(let r=0;r<t.length;++r)if(t[r]!==e[r]){if(t[r]==="+"&&e[r]==="-"||t[r]==="/"&&e[r]==="_")continue;return!1}return!0}function Dke(t){}function FB(t,e){return t.origin===e.origin&&t.origin==="null"||t.protocol===e.protocol&&t.hostname===e.hostname&&t.port===e.port}function kke(){let t,e;return{promise:new Promise((s,i)=>{t=s,e=i}),resolve:t,reject:e}}function Mke(t){return t.controller.state==="aborted"}function Lke(t){return t.controller.state==="aborted"||t.controller.state==="terminated"}function Uke(t){return hke[t.toLowerCase()]??t}function Fke(t){let e=JSON.stringify(t);if(e===void 0)throw new TypeError("Value is not JSON serializable");return hf(typeof e=="string"),e}var qke=Object.getPrototypeOf(Object.getPrototypeOf([][Symbol.iterator]()));function UX(t,e,r=0,s=1){class i{#e;#t; Line truncated
`);function gMe(t){for(let e=0;e<t.length;++e)if((t.charCodeAt(e)&-128)!==0)return!1;return!0}function yMe(t){let e=t.length;if(e<27||e>70)return!1;for(let r=0;r<e;++r){let s=t.charCodeAt(r);if(!(s>=48&&s<=57||s>=65&&s<=90||s>=97&&s<=122||s===39||s===45||s===95))return!1}return!0}function EMe(t,e){GB(e!=="failure"&&e.essence==="multipart/form-data");let r=e.parameters.get("boundary");if(r===void 0)return"failure";let s=Buffer.from(`--${r}`,"utf8"),i=[],n={position:0};for(;t[n.position]===13&&t[n.position+1]===10;)n.position+=2;let o=t.length;for(;t[o-1]===10&&t[o-2]===13;)o-=2;for(o!==t.length&&(t=t.subarray(0,o));;){if(t.subarray(n.position,n.position+s.length).equals(s))n.position+=s.length;else return"failure";if(n.position===t.length-2&&HB(t,AMe,n)||n.position===t.length-4&&HB(t,mMe,n))return i;if(t[n.position]!==13||t[n.position+1]!==10)return"failure";n.position+=2;let a=CMe(t,n);if(a==="failure")return"failure";let{name:c,filename:l,contentType:u,encoding:h}=a;n.position+=2;let d;{let p=t.indexOf(s.subarray(2),n.position);if(p===-1)return"failure";d=t.subarray(n.position,p-4),n.position+=d.length,h==="base64"&&(d=Buffer.from(d.toString(),"base64"))}if(t[n.position]!==13||t[n.position+1]!==10)return"failure";n.position+=2;let f;l!==null?(u??="text/plain",gMe(u)||(u=""),f=new fMe([d],l,{type:u})):f=cMe(Buffer.from(d)),GB(KX(c)),GB(typeof f=="string"&&KX(f)||uMe(f)),i.push(hMe(c,f,l))}}function CMe(t,e){let r=null,s=null,i=null,n=null;for(;;){if(t[e.position]===13&&t[e.position+1]===10)return r===null?"failure":{name:r,filename:s,contentType:i,encoding:n};let o=VA(a=>a!==10&&a!==13&&a!==58,t,e);if(o=Fk(o,!0,!0,a=>a===9||a===32),!lMe.test(o.toString())||t[e.position]!==58)return"failure";switch(e.position++,VA(a=>a===32||a===9,t,e),aMe(o)){case"content-disposition":{if(r=s=null,!HB(t,pMe,e)||(e.position+=17,r=eZ(t,e),r===null))return"failure";if(HB(t,ZX,e)){let a=e.position+ZX.length;if(t[a]===42&&(e.position+=1,a+=1),t[a]!==61||t[a+1]!==34||(e.position+=12,s=eZ(t,e),s===null))return"failure"}break}case"content-type":{let a=VA(c=>c!==10&&c!==13,t,e);a=Fk(a,!1,!0,c=>c===9||c===32),i=XX(a);break}case"content-transfer-encoding":{let a=VA(c=>c!==10&&c!==13,t,e);a=Fk(a,!1,!0,c=>c===9||c===32),n=XX(a);break}default:VA(a=>a!==10&&a!==13,t,e)}if(t[e.position]!==13&&t[e.position+1]!==10)return"failure";e.position+=2}}function eZ(t,e){GB(t[e.position-1]===34);let r=VA(s=>s!==10&&s!==13&&s!==34,t,e);return t[e.position]!==34?null:(e.position++,r=new TextDecoder().decode(r).replace(/%0A/ig,`
`).replace(/%0D/ig,"\r").replace(/%22/g,'"'),r)}function VA(t,e,r){let s=r.position;for(;s<e.length&&t(e[s]);)++s;return e.subarray(r.position,r.position=s)}function Fk(t,e,r,s){let i=0,n=t.length-1;if(e)for(;i<t.length&&s(t[i]);)i++;if(r)for(;n>0&&s(t[n]);)n--;return i===0&&n===t.length-1?t:t.subarray(i,n+1)}function HB(t,e,r){if(t.length<e.length)return!1;for(let s=0;s<e.length;s++)if(e[s]!==t[r.position+s])return!1;return!0}tZ.exports={multipartFormDataParser:EMe,validateBoundary:yMe}});var JA=A((w1t,dZ)=>{"use strict";var eC=st(),{ReadableStreamFrom:IMe,isBlobLike:sZ,isReadableStreamLike:bMe,readableStreamClose:wMe,createDeferredPromise:BMe,fullyReadBody:SMe,extractMimeType:xMe,utf8DecodeBytes:oZ}=_n(),{FormData:iZ}=ZE(),{kState:jA}=bh(),{webidl:NMe}=Ms(),{Blob:RMe}=require("node:buffer"),qk=require("node:assert"),{isErrored:aZ,isDisturbed:vMe}=require("node:stream"),{isArrayBuffer:TMe}=require("node:util/types"),{serializeAMimeType:_Me}=Ki(),{multipartFormDataParser:QMe}=rZ(),Gk;try{let t=require("node:crypto");Gk=e=>t.randomInt(0,e)}catch{Gk=t=>Math.floor(Math.random(t))}var zB=new TextEncoder;function PMe(){}var cZ=globalThis.FinalizationRegistry&&process.version.indexOf("v18")!==0,lZ;cZ&&(lZ=new FinalizationRegistry(t=>{let e=t.deref();e&&!e.locked&&!vMe(e)&&!aZ(e)&&e.cancel("Response object has been garbage collected").catch(PMe)}));function uZ(t,e=!1){let r=null;t instanceof ReadableStream?r=t:sZ(t)?r=t.stream():r=new ReadableStream({async pull(c){let l=typeof i=="string"?zB.encode(i):i;l.byteLength&&c.enqueue(l),queueMicrotask(()=>wMe(c))},start(){},type:"bytes"}),qk(bMe(r));let s=null,i=null,n=null,o=null;if(typeof t=="string")i=t,o="text/plain;charset=UTF-8";else if(t instanceof URLSearchParams)i=t.toString(),o="application/x-www-form-urlencoded;charset=UTF-8";else if(TMe(t))i=new Uint8Array(t.slice());else if(ArrayBuffer.isView(t))i=new Uint8Array(t.buffer.slice(t.byteOffset,t.byteOffset+t.byteLength));else if(eC.isFormDataLike(t)){let c=`----formdata-undici-0${`${Gk(1e11)}`.padStart(11,"0")}`,l=`--${c}\r
Content-Disposition: form-data`;let u=E=>E.replace(/\n/g,"%0A").replace(/\r/g,"%0D").replace(/"/g,"%22"),h=E=>E.replace(/\r?\n|\r/g,`\r
`),d=[],f=new Uint8Array([13,10]);n=0;let p=!1;for(let[E,y]of t)if(typeof y=="string"){let C=zB.encode(l+`; name="${u(h(E))}"\r
var ple=Object.create;var aE=Object.defineProperty;var fle=Object.getOwnPropertyDescriptor;var hle=Object.getOwnPropertyNames;var mle=Object.getPrototypeOf,gle=Object.prototype.hasOwnProperty;var o=(t,e)=>aE(t,"name",{value:e,configurable:!0});var h=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),Ele=(t,e)=>{for(var r in e)aE(t,r,{get:e[r],enumerable:!0})},yle=(t,e,r,s)=>{if(e&&typeof e=="object"||typeof e=="function")for(let n of hle(e))!gle.call(t,n)&&n!==r&&aE(t,n,{get:()=>e[n],enumerable:!(s=fle(e,n))||s.enumerable});return t};var w=(t,e,r)=>(r=t!=null?ple(mle(t)):{},yle(e||!t||!t.__esModule?aE(r,"default",{value:t,enumerable:!0}):r,t));var dq=h(Yu=>{"use strict";var T4e=require("net"),Sle=require("tls"),ON=require("http"),cq=require("https"),Nle=require("events"),v4e=require("assert"),xle=require("util");Yu.httpOverHttp=Qle;Yu.httpsOverHttp=Rle;Yu.httpOverHttps=Tle;Yu.httpsOverHttps=vle;function Qle(t){var e=new qo(t);return e.request=ON.request,e}o(Qle,"httpOverHttp");function Rle(t){var e=new qo(t);return e.request=ON.request,e.createSocket=lq,e.defaultPort=443,e}o(Rle,"httpsOverHttp");function Tle(t){var e=new qo(t);return e.request=cq.request,e}o(Tle,"httpOverHttps");function vle(t){var e=new qo(t);return e.request=cq.request,e.createSocket=lq,e.defaultPort=443,e}o(vle,"httpsOverHttps");function qo(t){var e=this;e.options=t||{},e.proxyOptions=e.options.proxy||{},e.maxSockets=e.options.maxSockets||ON.Agent.defaultMaxSockets,e.requests=[],e.sockets=[],e.on("free",o(function(s,n,i,a){for(var c=uq(n,i,a),l=0,u=e.requests.length;l<u;++l){var d=e.requests[l];if(d.host===c.host&&d.port===c.port){e.requests.splice(l,1),d.request.onSocket(s);return}}s.destroy(),e.removeSocket(s)},"onFree"))}o(qo,"TunnelingAgent");xle.inherits(qo,Nle.EventEmitter);qo.prototype.addRequest=o(function(e,r,s,n){var i=this,a=MN({request:e},i.options,uq(r,s,n));if(i.sockets.length>=this.maxSockets){i.requests.push(a);return}i.createSocket(a,function(c){c.on("free",l),c.on("close",u),c.on("agentRemove",u),e.onSocket(c);function l(){i.emit("free",c,a)}o(l,"onFree");function u(d){i.removeSocket(c),c.removeListener("free",l),c.removeListener("close",u),c.removeListener("agentRemove",u)}o(u,"onCloseOrRemove")})},"addRequest");qo.prototype.createSocket=o(function(e,r){var s=this,n={};s.sockets.push(n);var i=MN({},s.proxyOptions,{method:"CONNECT",path:e.host+":"+e.port,agent:!1,headers:{host:e.host+":"+e.port}});e.localAddress&&(i.localAddress=e.localAddress),i.proxyAuth&&(i.headers=i.headers||{},i.headers["Proxy-Authorization"]="Basic "+new Buffer(i.proxyAuth).toString("base64")),Ga("making CONNECT request");var a=s.request(i);a.useChunkedEncodingByDefault=!1,a.once("response",c),a.once("upgrade",l),a.once("connect",u),a.once("error",d),a.end();function c(A){A.upgrade=!0}o(c,"onResponse");function l(A,p,f){process.nextTick(function(){u(A,p,f)})}o(l,"onUpgrade");function u(A,p,f){if(a.removeAllListeners(),p.removeAllListeners(),A.statusCode!==200){Ga("tunneling socket could not be established, statusCode=%d",A.statusCode),p.destroy();var m=new Error("tunneling socket could not be established, statusCode="+A.statusCode);m.code="ECONNRESET",e.request.emit("error",m),s.removeSocket(n);return}if(f.length>0){Ga("got illegal response body from proxy"),p.destroy();var m=new Error("got illegal response body from proxy");m.code="ECONNRESET",e.request.emit("error",m),s.removeSocket(n);return}return Ga("tunneling connection has established"),s.sockets[s.sockets.indexOf(n)]=p,r(p)}o(u,"onConnect");function d(A){a.removeAllListeners(),Ga(`tunneling socket could not be established, cause=%s
`,A.message,A.stack);var p=new Error("tunneling socket could not be established, cause="+A.message);p.code="ECONNRESET",e.request.emit("error",p),s.removeSocket(n)}o(d,"onError")},"createSocket");qo.prototype.removeSocket=o(function(e){var r=this.sockets.indexOf(e);if(r!==-1){this.sockets.splice(r,1);var s=this.requests.shift();s&&this.createSocket(s,function(n){s.request.onSocket(n)})}},"removeSocket");function lq(t,e){var r=this;qo.prototype.createSocket.call(r,t,function(s){var n=t.request.getHeader("host"),i=MN({},r.options,{socket:s,servername:n?n.replace(/:.*$/,""):t.host}),a=Sle.connect(0,i);r.sockets[r.sockets.indexOf(s)]=a,e(a)})}o(lq,"createSecureSocket");function uq(t,e,r){return typeof t=="string"?{host:t,port:e,localAddress:r}:t}o(uq,"toOptions");function MN(t){for(var e=1,r=arguments.length;e<r;++e){var s=arguments[e];if(typeof s=="object")for(var n=Object.keys(s),i=0,a=n.length;i<a;++i){var c=n[i];s[c]!==void 0&&(t[c]=s[c])}}return t}o(MN,"mergeOptions");var Ga;process.env.NODE_DEBUG&&/\btunnel\b/.test(process.env.NODE_DEBUG)?Ga=o(function(){var t=Array.prototype.slice.call(arguments);typeof t[0]=="string"?t[0]="TUNNEL: "+t[0]:t.unshift("TUNNEL:"),console.error.apply(console,t)},"debug"):Ga=o(function(){},"debug");Yu.debug=Ga});var ef=h((k4e,Aq)=>{Aq.exports=dq()});var it=h((D4e,pq)=>{pq.exports={kClose:Symbol("close"),kDestroy:Symbol("destroy"),kDispatch:Symbol("dispatch"),kUrl:Symbol("url"),kWriting:Symbol("writing"),kResuming:Symbol("resuming"),kQueue:Symbol("queue"),kConnect:Symbol("connect"),kConnecting:Symbol("connecting"),kKeepAliveDefaultTimeout:Symbol("default keep alive timeout"),kKeepAliveMaxTimeout:Symbol("max keep alive timeout"),kKeepAliveTimeoutThreshold:Symbol("keep alive timeout threshold"),kKeepAliveTimeoutValue:Symbol("keep alive timeout"),kKeepAlive:Symbol("keep alive"),kHeadersTimeout:Symbol("headers timeout"),kBodyTimeout:Symbol("body timeout"),kServerName:Symbol("server name"),kLocalAddress:Symbol("local address"),kHost:Symbol("host"),kNoRef:Symbol("no ref"),kBodyUsed:Symbol("used"),kBody:Symbol("abstracted request body"),kRunning:Symbol("running"),kBlocking:Symbol("blocking"),kPending:Symbol("pending"),kSize:Symbol("size"),kBusy:Symbol("busy"),kQueued:Symbol("queued"),kFree:Symbol("free"),kConnected:Symbol("connected"),kClosed:Symbol("closed"),kNeedDrain:Symbol("need drain"),kReset:Symbol("reset"),kDestroyed:Symbol.for("nodejs.stream.destroyed"),kResume:Symbol("resume"),kOnError:Symbol("on error"),kMaxHeadersSize:Symbol("max headers size"),kRunningIdx:Symbol("running index"),kPendingIdx:Symbol("pending index"),kError:Symbol("error"),kClients:Symbol("clients"),kClient:Symbol("client"),kParser:Symbol("parser"),kOnDestroyed:Symbol("destroy callbacks"),kPipelining:Symbol("pipelining"),kSocket:Symbol("socket"),kHostHeader:Symbol("host header"),kConnector:Symbol("connector"),kStrictContentLength:Symbol("strict content length"),kMaxRedirections:Symbol("maxRedirections"),kMaxRequests:Symbol("maxRequestsPerClient"),kProxy:Symbol("proxy agent options"),kCounter:Symbol("socket request counter"),kInterceptors:Symbol("dispatch interceptors"),kMaxResponseSize:Symbol("max response size"),kHTTP2Session:Symbol("http2Session"),kHTTP2SessionState:Symbol("http2Session state"),kRetryHandlerDefaultRetry:Symbol("retry agent default retry"),kConstruct:Symbol("constructable"),kListeners:Symbol("listeners"),kHTTPContext:Symbol("http context"),kMaxConcurrentStreams:Symbol("max concurrent streams"),kNoProxyAgent:Symbol("no proxy agent"),kHttpProxyAgent:Symbol("http proxy agent"),kHttpsProxyAgent:Symbol("https proxy agent")}});var Qe=h((O4e,Lq)=>{"use strict";var fq=Symbol.for("undici.error.UND_ERR"),ot=class extends Error{static{o(this,"UndiciError")}constructor(e){super(e),this.name="UndiciError",this.code="UND_ERR"}static[Symbol.hasInstance](e){return e&&e[fq]===!0}[fq]=!0},hq=Symbol.for("undici.error.UND_ERR_CONNECT_TIMEOUT"),LN=class extends ot{static{o(this,"ConnectTimeoutError")}constructor(e){super(e),this.name="ConnectTimeoutError",this.message=e||"Connect Timeout Error",this.code="UND_ERR_CONNECT_TIMEOUT"}static[Symbol.hasInstance](e){return e&&e[hq]===!0}[hq]=!0},mq=Symbol.for("undici.error.UND_ERR_HEADERS_TIMEOUT"),FN=class extends ot{static{o(this,"HeadersTimeoutError")}constructor(e){super(e),this.name="HeadersTimeoutError",this.message=e||"Headers Timeout Error",this.code="UND_ERR_HEADERS_TIMEOUT"}static[Symbol.hasInstance](e){return e&&e[mq]===!0}[mq]=!0},gq=Symbol.for("undici.error.UND_ERR_HEADERS_OVERFLOW"),UN=class extends ot{static{o(this,"HeadersOverflowError")}constructor(e){super(e),this.name="HeadersOverflowError",this.message=e||"Headers Overflow Error",this.code="UND_ERR_HEADERS_OVERFLOW"}static[Symbol.hasInstance](e){return e&&e[gq]===!0}[gq]=!0},Eq=Symbol.for("undici.error.UND_ERR_BODY_TIMEOUT"),qN=class extends ot{static{o(this,"BodyTimeoutError")}constructor(e){super(e),this.name="BodyTimeoutError",this.message=e||"Body Timeout Error",this.code="UND_ERR_BODY_TIMEOUT" Line truncated
`)||t.includes("\r")||t.includes("\0"))===!1}o(KG,"isValidHeaderValue");function Yde(t,e){let{headersList:r}=e,s=(r.get("referrer-policy",!0)??"").split(","),n="";if(s.length>0)for(let i=s.length;i!==0;i--){let a=s[i-1].trim();if(vde.has(a)){n=a;break}}n!==""&&(t.referrerPolicy=n)}o(Yde,"setRequestReferrerPolicyOnRedirect");function $de(){return"allowed"}o($de,"crossOriginResourcePolicyCheck");function Wde(){return"success"}o(Wde,"corsCheck");function jde(){return"success"}o(jde,"TAOCheck");function Kde(t){let e=null;e=t.mode,t.headersList.set("sec-fetch-mode",e,!0)}o(Kde,"appendFetchMetadata");function Xde(t){let e=t.origin;if(!(e==="client"||e===void 0)){if(t.responseTainting==="cors"||t.mode==="websocket")t.headersList.append("origin",e,!0);else if(t.method!=="GET"&&t.method!=="HEAD"){switch(t.referrerPolicy){case"no-referrer":e=null;break;case"no-referrer-when-downgrade":case"strict-origin":case"strict-origin-when-cross-origin":t.origin&&kx(t.origin)&&!kx(uf(t))&&(e=null);break;case"same-origin":vE(t,uf(t))||(e=null);break;default:}t.headersList.append("origin",e,!0)}}}o(Xde,"appendRequestOriginHeader");function sd(t,e){return t}o(sd,"coarsenTime");function Zde(t,e,r){return!t?.startTime||t.startTime<e?{domainLookupStartTime:e,domainLookupEndTime:e,connectionStartTime:e,connectionEndTime:e,secureConnectionStartTime:e,ALPNNegotiatedProtocol:t?.ALPNNegotiatedProtocol}:{domainLookupStartTime:sd(t.domainLookupStartTime,r),domainLookupEndTime:sd(t.domainLookupEndTime,r),connectionStartTime:sd(t.connectionStartTime,r),connectionEndTime:sd(t.connectionEndTime,r),secureConnectionStartTime:sd(t.secureConnectionStartTime,r),ALPNNegotiatedProtocol:t.ALPNNegotiatedProtocol}}o(Zde,"clampAndCoarsenConnectionTimingInfo");function eAe(t){return sd(Ode.now(),t)}o(eAe,"coarsenedSharedCurrentTime");function tAe(t){return{startTime:t.startTime??0,redirectStartTime:0,redirectEndTime:0,postRedirectStartTime:t.startTime??0,finalServiceWorkerStartTime:0,finalNetworkResponseStartTime:0,finalNetworkRequestStartTime:0,endTime:0,encodedBodySize:0,decodedBodySize:0,finalConnectionTimingInfo:null}}o(tAe,"createOpaqueTimingInfo");function XG(){return{referrerPolicy:"strict-origin-when-cross-origin"}}o(XG,"makePolicyContainer");function rAe(t){return{referrerPolicy:t.referrerPolicy}}o(rAe,"clonePolicyContainer");function sAe(t){let e=t.referrerPolicy;nl(e);let r=null;if(t.referrer==="client"){let c=JG();if(!c||c.origin==="null")return"no-referrer";r=new URL(c)}else t.referrer instanceof URL&&(r=t.referrer);let s=_x(r),n=_x(r,!0);s.toString().length>4096&&(s=n);let i=vE(t,s),a=lf(s)&&!lf(t.url);switch(e){case"origin":return n??_x(r,!0);case"unsafe-url":return s;case"same-origin":return i?n:"no-referrer";case"origin-when-cross-origin":return i?s:n;case"strict-origin-when-cross-origin":{let c=uf(t);return vE(s,c)?s:lf(s)&&!lf(c)?"no-referrer":n}default:return a?"no-referrer":n}}o(sAe,"determineRequestsReferrer");function _x(t,e){return nl(t instanceof URL),t=new URL(t),t.protocol==="file:"||t.protocol==="about:"||t.protocol==="blank:"?"no-referrer":(t.username="",t.password="",t.hash="",e&&(t.pathname="",t.search=""),t)}o(_x,"stripURLForReferrer");function lf(t){if(!(t instanceof URL))return!1;if(t.href==="about:blank"||t.href==="about:srcdoc"||t.protocol==="data:"||t.protocol==="file:")return!0;return e(t.origin);function e(r){if(r==null||r==="null")return!1;let s=new URL(r);return!!(s.protocol==="https:"||s.protocol==="wss:"||/^127(?:\.[0-9]+){0,2}\.[0-9]+$|^\[(?:0*:)*?:?0*1\]$/.test(s.hostname)||s.hostname==="localhost"||s.hostname.includes("localhost.")||s.hostname.endsWith(".localhost"))}}o(lf,"isURLPotentiallyTrustworthy");function nAe(t,e){if(TE===void 0)return!0;let r=ZG(e);if(r==="no metadata"||r.length===0)return!0;let s=oAe(r),n=aAe(r,s);for(let i of n){let a=i.algo,c=i.hash,l=TE.createHash(a).update(t).digest("base64");if(l[l.length-1]==="="&&(l[l.length-2]==="="?l=l.slice(0,-2):l=l.slice(0,-1)),cAe(l,c))return!0}return!1}o(nAe,"bytesMatch");var iAe=/(?<algo>sha256|sha384|sha512)-((?<hash>[A-Za-z0-9+/]+|[A-Za-z0-9_-]+)={0,2}(?:\s|$)( +[!-~]*)?)?/i;function ZG(t){let e=[],r=!0;for(let s of t.split(" ")){r=!1;let n=iAe.exec(s);if(n===null||n.groups===void 0||n.groups.algo===void 0)continue;let i=n.groups.algo.toLowerCase();$G.includes(i)&&e.push(n.groups)}return r===!0?"no metadata":e}o(ZG,"parseMetadata");function oAe(t){let e=t[0].algo;if(e[3]==="5")return e;for(let r=1;r<t.length;++r){let s=t[r];if(s.algo[3]==="5"){e="sha512";break}else{if(e[3]==="3")continue;s.algo[3]==="3"&&(e="sha384")}}return e}o(oAe,"getStrongestMetadata");function aAe(t,e){if(t.length===1)return t;let r=0;for(let s=0;s<t.length;++s)t[s].algo===e&&(t[r++]=t[s]);return t.length=r,t}o(aAe,"filterMetadataListByAlgorithm");function cAe(t,e){if(t.length!==e.length)return!1;for(let r=0;r<t.length;++r)if(t[r]!==e[r]){if(t[r]==="+"&&e[r]==="-"||t[r]==="/"&&e[r]==="_")continue;return!1}return!0}o(cAe,"compareBase64Mixed");function lAe(t){}o(lAe,"tryUpgradeReque Line truncated
`);function zAe(t){for(let e=0;e<t.length;++e)if((t.charCodeAt(e)&-128)!==0)return!1;return!0}o(zAe,"isAsciiString");function JAe(t){let e=t.length;if(e<27||e>70)return!1;for(let r=0;r<e;++r){let s=t.charCodeAt(r);if(!(s>=48&&s<=57||s>=65&&s<=90||s>=97&&s<=122||s===39||s===45||s===95))return!1}return!0}o(JAe,"validateBoundary");function YAe(t,e){_E(e!=="failure"&&e.essence==="multipart/form-data");let r=e.parameters.get("boundary");if(r===void 0)return"failure";let s=Buffer.from(`--${r}`,"utf8"),n=[],i={position:0};for(;t[i.position]===13&&t[i.position+1]===10;)i.position+=2;let a=t.length;for(;t[a-1]===10&&t[a-2]===13;)a-=2;for(a!==t.length&&(t=t.subarray(0,a));;){if(t.subarray(i.position,i.position+s.length).equals(s))i.position+=s.length;else return"failure";if(i.position===t.length-2&&kE(t,HAe,i)||i.position===t.length-4&&kE(t,VAe,i))return n;if(t[i.position]!==13||t[i.position+1]!==10)return"failure";i.position+=2;let c=$Ae(t,i);if(c==="failure")return"failure";let{name:l,filename:u,contentType:d,encoding:A}=c;i.position+=2;let p;{let m=t.indexOf(s.subarray(2),i.position);if(m===-1)return"failure";p=t.subarray(i.position,m-4),i.position+=p.length,A==="base64"&&(p=Buffer.from(p.toString(),"base64"))}if(t[i.position]!==13||t[i.position+1]!==10)return"failure";i.position+=2;let f;u!==null?(d??="text/plain",zAe(d)||(d=""),f=new qAe([p],u,{type:d})):f=OAe(Buffer.from(p)),_E(AH(l)),_E(typeof f=="string"&&AH(f)||LAe(f)),n.push(FAe(l,f,u))}}o(YAe,"multipartFormDataParser");function $Ae(t,e){let r=null,s=null,n=null,i=null;for(;;){if(t[e.position]===13&&t[e.position+1]===10)return r===null?"failure":{name:r,filename:s,contentType:n,encoding:i};let a=id(c=>c!==10&&c!==13&&c!==58,t,e);if(a=qx(a,!0,!0,c=>c===9||c===32),!MAe.test(a.toString())||t[e.position]!==58)return"failure";switch(e.position++,id(c=>c===32||c===9,t,e),DAe(a)){case"content-disposition":{if(r=s=null,!kE(t,GAe,e)||(e.position+=17,r=hH(t,e),r===null))return"failure";if(kE(t,fH,e)){let c=e.position+fH.length;if(t[c]===42&&(e.position+=1,c+=1),t[c]!==61||t[c+1]!==34||(e.position+=12,s=hH(t,e),s===null))return"failure"}break}case"content-type":{let c=id(l=>l!==10&&l!==13,t,e);c=qx(c,!1,!0,l=>l===9||l===32),n=pH(c);break}case"content-transfer-encoding":{let c=id(l=>l!==10&&l!==13,t,e);c=qx(c,!1,!0,l=>l===9||l===32),i=pH(c);break}default:id(c=>c!==10&&c!==13,t,e)}if(t[e.position]!==13&&t[e.position+1]!==10)return"failure";e.position+=2}}o($Ae,"parseMultipartFormDataHeaders");function hH(t,e){_E(t[e.position-1]===34);let r=id(s=>s!==10&&s!==13&&s!==34,t,e);return t[e.position]!==34?null:(e.position++,r=new TextDecoder().decode(r).replace(/%0A/ig,`
`).replace(/%0D/ig,"\r").replace(/%22/g,'"'),r)}o(hH,"parseMultipartFormDataName");function id(t,e,r){let s=r.position;for(;s<e.length&&t(e[s]);)++s;return e.subarray(r.position,r.position=s)}o(id,"collectASequenceOfBytes");function qx(t,e,r,s){let n=0,i=t.length-1;if(e)for(;n<t.length&&s(t[n]);)n++;if(r)for(;i>0&&s(t[i]);)i--;return n===0&&i===t.length-1?t:t.subarray(n,i+1)}o(qx,"removeChars");function kE(t,e,r){if(t.length<e.length)return!1;for(let s=0;s<e.length;s++)if(e[s]!==t[r.position+s])return!1;return!0}o(kE,"bufferStartsWith");mH.exports={multipartFormDataParser:YAe,validateBoundary:JAe}});var cd=h((B5e,xH)=>{"use strict";var pf=Ce(),{ReadableStreamFrom:WAe,isBlobLike:EH,isReadableStreamLike:jAe,readableStreamClose:KAe,createDeferredPromise:XAe,fullyReadBody:ZAe,extractMimeType:epe,utf8DecodeBytes:IH}=Ns(),{FormData:yH}=Af(),{kState:ad}=Ha(),{webidl:tpe}=pr(),{Blob:rpe}=require("node:buffer"),Gx=require("node:assert"),{isErrored:BH,isDisturbed:spe}=require("node:stream"),{isArrayBuffer:npe}=require("node:util/types"),{serializeAMimeType:ipe}=Zr(),{multipartFormDataParser:ope}=gH(),Hx;try{let t=require("node:crypto");Hx=o(e=>t.randomInt(0,e),"random")}catch{Hx=o(t=>Math.floor(Math.random(t)),"random")}var DE=new TextEncoder;function ape(){}o(ape,"noop");var bH=globalThis.FinalizationRegistry&&process.version.indexOf("v18")!==0,wH;bH&&(wH=new FinalizationRegistry(t=>{let e=t.deref();e&&!e.locked&&!spe(e)&&!BH(e)&&e.cancel("Response object has been garbage collected").catch(ape)}));function SH(t,e=!1){let r=null;t instanceof ReadableStream?r=t:EH(t)?r=t.stream():r=new ReadableStream({async pull(l){let u=typeof n=="string"?DE.encode(n):n;u.byteLength&&l.enqueue(u),queueMicrotask(()=>KAe(l))},start(){},type:"bytes"}),Gx(jAe(r));let s=null,n=null,i=null,a=null;if(typeof t=="string")n=t,a="text/plain;charset=UTF-8";else if(t instanceof URLSearchParams)n=t.toString(),a="application/x-www-form-urlencoded;charset=UTF-8";else if(npe(t))n=new Uint8Array(t.slice());else if(ArrayBuffer.isView(t))n=new Uint8Array(t.buffer.slice(t.byteOffset,t.byteOffset+t.byteLength));else if(pf.isFormDataLike(t)){let l=`----formdata-undici-0${`${Hx(1e11)}`.padStart(11,"0")}`,u=`--${l}\r
Content-Disposition: form-data`;let d=o(y=>y.replace(/\n/g,"%0A").replace(/\r/g,"%0D").replace(/"/g,"%22"),"escape"),A=o(y=>y.replace(/\r?\n|\r/g,`\r
`),"normalizeLinefeeds"),p=[],f=new Uint8Array([13,10]);i=0;let m=!1;for(let[y,E]of t)if(typeof E=="string"){let C=DE.encode(u+`; name="${d(A(y))}"\r
\r
${h(y)}\r
`);d.push(C),n+=C.byteLength}else{let C=zB.encode(`${l}; name="${u(h(E))}"`+(y.name?`; filename="${u(y.name)}"`:"")+`\r
Content-Type: ${y.type||"application/octet-stream"}\r
${A(E)}\r
`);p.push(C),i+=C.byteLength}else{let C=DE.encode(`${u}; name="${d(A(y))}"`+(E.name?`; filename="${d(E.name)}"`:"")+`\r
Content-Type: ${E.type||"application/octet-stream"}\r
\r
`);d.push(C,y,f),typeof y.size=="number"?n+=C.byteLength+y.size+f.byteLength:p=!0}let m=zB.encode(`--${c}--\r
`);d.push(m),n+=m.byteLength,p&&(n=null),i=t,s=async function*(){for(let E of d)E.stream?yield*E.stream():yield E},o=`multipart/form-data; boundary=${c}`}else if(sZ(t))i=t,n=t.size,t.type&&(o=t.type);else if(typeof t[Symbol.asyncIterator]=="function"){if(e)throw new TypeError("keepalive");if(eC.isDisturbed(t)||t.locked)throw new TypeError("Response body object should not be disturbed or locked");r=t instanceof ReadableStream?t:IMe(t)}if((typeof i=="string"||eC.isBuffer(i))&&(n=Buffer.byteLength(i)),s!=null){let c;r=new ReadableStream({async start(){c=s(t)[Symbol.asyncIterator]()},async pull(l){let{value:u,done:h}=await c.next();if(h)queueMicrotask(()=>{l.close(),l.byobRequest?.respond(0)});else if(!aZ(r)){let d=new Uint8Array(u);d.byteLength&&l.enqueue(d)}return l.desiredSize>0},async cancel(l){await c.return()},type:"bytes"})}return[{stream:r,source:i,length:n},o]}function OMe(t,e=!1){return t instanceof ReadableStream&&(qk(!eC.isDisturbed(t),"The body has already been consumed."),qk(!t.locked,"The stream is locked.")),uZ(t,e)}function DMe(t,e){let[r,s]=e.stream.tee();return e.stream=r,{stream:s,length:e.length,source:e.source}}function kMe(t){if(t.aborted)throw new DOMException("The operation was aborted.","AbortError")}function MMe(t){return{blob(){return $A(this,r=>{let s=nZ(this);return s===null?s="":s&&(s=_Me(s)),new RMe([r],{type:s})},t)},arrayBuffer(){return $A(this,r=>new Uint8Array(r).buffer,t)},text(){return $A(this,oZ,t)},json(){return $A(this,UMe,t)},formData(){return $A(this,r=>{let s=nZ(this);if(s!==null)switch(s.essence){case"multipart/form-data":{let i=QMe(r,s);if(i==="failure")throw new TypeError("Failed to parse body as FormData.");let n=new iZ;return n[jA]=i,n}case"application/x-www-form-urlencoded":{let i=new URLSearchParams(r.toString()),n=new iZ;for(let[o,a]of i)n.append(o,a);return n}}throw new TypeError('Content-Type was not one of "multipart/form-data" or "application/x-www-form-urlencoded".')},t)},bytes(){return $A(this,r=>new Uint8Array(r),t)}}}function LMe(t){Object.assign(t.prototype,MMe(t))}async function $A(t,e,r){if(NMe.brandCheck(t,r),hZ(t))throw new TypeError("Body is unusable: Body has already been read");kMe(t[jA]);let s=BMe(),i=o=>s.reject(o),n=o=>{try{s.resolve(e(o))}catch(a){i(a)}};return t[jA].body==null?(n(Buffer.allocUnsafe(0)),s.promise):(await SMe(t[jA].body,n,i),s.promise)}function hZ(t){let e=t[jA].body;return e!=null&&(e.stream.locked||eC.isDisturbed(e.stream))}function UMe(t){return JSON.parse(oZ(t))}function nZ(t){let e=t[jA].headersList,r=xMe(e);return r==="failure"?null:r}dZ.exports={extractBody:uZ,safelyExtractBody:OMe,cloneBody:DMe,mixinBody:LMe,streamRegistry:lZ,hasFinalizationRegistry:cZ,bodyUnusable:hZ}});var xZ=A((B1t,SZ)=>{"use strict";var Re=require("node:assert"),qe=st(),{channels:fZ}=DA(),Hk=Bk(),{RequestContentLengthMismatchError:df,ResponseContentLengthMismatchError:pZ,RequestAbortedError:bZ,HeadersTimeoutError:FMe,HeadersOverflowError:qMe,SocketError:KB,InformationalError:YA,BodyTimeoutError:GMe,HTTPParserError:HMe,ResponseExceededMaxSizeError:zMe}=yt(),{kUrl:wZ,kReset:Xi,kClient:JB,kParser:pr,kBlocking:sC,kRunning:Vs,kPending:VMe,kSize:AZ,kWriting:Bh,kQueue:Ca,kNoRef:tC,kKeepAliveDefaultTimeout:$Me,kHostHeader:jMe,kPendingIdx:JMe,kRunningIdx:bo,kError:gi,kPipelining:YB,kSocket:WA,kKeepAliveTimeoutValue:XB,kMaxHeadersSize:zk,kKeepAliveMaxTimeout:YMe,kKeepAliveTimeoutThreshold:WMe,kHeadersTimeout:KMe,kBodyTimeout:XMe,kStrictContentLength:jk,kMaxRequests:mZ,kCounter:ZMe,kMaxResponseSize:eLe,kOnError:gZ,kResume:wh,kHTTPContext:BZ}=tr(),Qn=lX(),yZ=Buffer.alloc(0),VB=Buffer[Symbol.species],$B=qe.addListener,tLe=qe.removeAllListeners,Vk;async function rLe(){let t=process.env.JEST_WORKER_ID?Nk():void 0,e;try{e=await WebAssembly.compile(dX())}catch{e=await WebAssembly.compile(t||Nk())}return await WebAssembly.instantiate(e,{env:{wasm_on_url:(r,s,i)=>0,wasm_on_status:(r,s,i)=>{Re(fr.ptr===r);let n=s-ac+oc.byteOffset;return fr.onStatus(new VB(oc.buffer,n,i))||0},wasm_on_message_begin:r=>(Re(fr.ptr===r),fr.onMessageBegin()||0),wasm_on_header_field:(r,s,i)=>{Re(fr.ptr===r);let n=s-ac+oc.byteOffset;return fr.onHeaderField(new VB(oc.buffer,n,i))||0},wasm_on_header_value:(r,s,i)=>{Re(fr.ptr===r);let n=s-ac+oc.byteOffset;return fr.onHeaderValue(new VB(oc.buffer,n,i))||0},wasm_on_headers_complete:(r,s,i,n)=>(Re(fr.ptr===r),fr.onHeadersComplete(s,!!i,!!n)||0),wasm_on_body:(r,s,i)=>{Re(fr.ptr===r);let n=s-ac+oc.byteOffset;return fr.onBody(new VB(oc.buffer,n,i))||0},wasm_on_message_complete:r=>(Re(fr.ptr===r),fr.onMessageComplete()||0)}})}var $k=null,Jk=rLe();Jk.catch();var fr=null,oc=null,jB=0,ac=null,sLe=0,rC=1,KA=2|rC,WB=4|rC,Yk=8|sLe,Wk=class{constructor(e,r,{exports:s}){Re(Number.isFinite(e[zk])&&e[zk]>0),this.llhttp=s,this.ptr=this.llhttp.llhttp_alloc(Qn.TYPE.RESPONSE),this.client=e,this.socket=r,this.timeout=null,this.timeoutValue=null,this.timeoutType=null,this.statusCode=null,this.statusText="",this.upgrade=!1,this.headers=[],this.headersSize=0,this.hea Line truncated
`;if(typeof i=="string"?m+=`host: ${i}\r
`:m+=t[jMe],n?m+=`connection: upgrade\r
upgrade: ${n}\r
`:t[YB]&&!f[Xi]?m+=`connection: keep-alive\r
`:m+=`connection: close\r
`,Array.isArray(l))for(let E=0;E<l.length;E+=2){let y=l[E+0],C=l[E+1];if(Array.isArray(C))for(let w=0;w<C.length;w++)m+=`${y}: ${C[w]}\r
`;else m+=`${y}: ${C}\r
`}return fZ.sendHeaders.hasSubscribers&&fZ.sendHeaders.publish({request:e,headers:m,socket:f}),!c||d===0?CZ(p,null,t,e,f,u,m,h):qe.isBuffer(c)?CZ(p,c,t,e,f,u,m,h):qe.isBlobLike(c)?typeof c.stream=="function"?IZ(p,c.stream(),t,e,f,u,m,h):lLe(p,c,t,e,f,u,m,h):qe.isStream(c)?cLe(p,c,t,e,f,u,m,h):qe.isIterable(c)?IZ(p,c,t,e,f,u,m,h):Re(!1),!0}function cLe(t,e,r,s,i,n,o,a){Re(n!==0||r[Vs]===0,"stream body cannot be pipelined");let c=!1,l=new ZB({abort:t,socket:i,request:s,contentLength:n,client:r,expectsPayload:a,header:o}),u=function(p){if(!c)try{!l.write(p)&&this.pause&&this.pause()}catch(m){qe.destroy(this,m)}},h=function(){c||e.resume&&e.resume()},d=function(){if(queueMicrotask(()=>{e.removeListener("error",f)}),!c){let p=new bZ;queueMicrotask(()=>f(p))}},f=function(p){if(!c){if(c=!0,Re(i.destroyed||i[Bh]&&r[Vs]<=1),i.off("drain",h).off("error",f),e.removeListener("data",u).removeListener("end",f).removeListener("close",d),!p)try{l.end()}catch(m){p=m}l.destroy(p),p&&(p.code!=="UND_ERR_INFO"||p.message!=="reset")?qe.destroy(e,p):qe.destroy(e)}};e.on("data",u).on("end",f).on("error",f).on("close",d),e.resume&&e.resume(),i.on("drain",h).on("error",f),e.errorEmitted??e.errored?setImmediate(()=>f(e.errored)):(e.endEmitted??e.readableEnded)&&setImmediate(()=>f(null)),(e.closeEmitted??e.closed)&&setImmediate(d)}function CZ(t,e,r,s,i,n,o,a){try{e?qe.isBuffer(e)&&(Re(n===e.byteLength,"buffer body must have content length"),i.cork(),i.write(`${o}content-length: ${n}\r
`);p.push(C,E,f),typeof E.size=="number"?i+=C.byteLength+E.size+f.byteLength:m=!0}let g=DE.encode(`--${l}--\r
`);p.push(g),i+=g.byteLength,m&&(i=null),n=t,s=o(async function*(){for(let y of p)y.stream?yield*y.stream():yield y},"action"),a=`multipart/form-data; boundary=${l}`}else if(EH(t))n=t,i=t.size,t.type&&(a=t.type);else if(typeof t[Symbol.asyncIterator]=="function"){if(e)throw new TypeError("keepalive");if(pf.isDisturbed(t)||t.locked)throw new TypeError("Response body object should not be disturbed or locked");r=t instanceof ReadableStream?t:WAe(t)}if((typeof n=="string"||pf.isBuffer(n))&&(i=Buffer.byteLength(n)),s!=null){let l;r=new ReadableStream({async start(){l=s(t)[Symbol.asyncIterator]()},async pull(u){let{value:d,done:A}=await l.next();if(A)queueMicrotask(()=>{u.close(),u.byobRequest?.respond(0)});else if(!BH(r)){let p=new Uint8Array(d);p.byteLength&&u.enqueue(p)}return u.desiredSize>0},async cancel(u){await l.return()},type:"bytes"})}return[{stream:r,source:n,length:i},a]}o(SH,"extractBody");function cpe(t,e=!1){return t instanceof ReadableStream&&(Gx(!pf.isDisturbed(t),"The body has already been consumed."),Gx(!t.locked,"The stream is locked.")),SH(t,e)}o(cpe,"safelyExtractBody");function lpe(t,e){let[r,s]=e.stream.tee();return e.stream=r,{stream:s,length:e.length,source:e.source}}o(lpe,"cloneBody");function upe(t){if(t.aborted)throw new DOMException("The operation was aborted.","AbortError")}o(upe,"throwIfAborted");function dpe(t){return{blob(){return od(this,r=>{let s=CH(this);return s===null?s="":s&&(s=ipe(s)),new rpe([r],{type:s})},t)},arrayBuffer(){return od(this,r=>new Uint8Array(r).buffer,t)},text(){return od(this,IH,t)},json(){return od(this,ppe,t)},formData(){return od(this,r=>{let s=CH(this);if(s!==null)switch(s.essence){case"multipart/form-data":{let n=ope(r,s);if(n==="failure")throw new TypeError("Failed to parse body as FormData.");let i=new yH;return i[ad]=n,i}case"application/x-www-form-urlencoded":{let n=new URLSearchParams(r.toString()),i=new yH;for(let[a,c]of n)i.append(a,c);return i}}throw new TypeError('Content-Type was not one of "multipart/form-data" or "application/x-www-form-urlencoded".')},t)},bytes(){return od(this,r=>new Uint8Array(r),t)}}}o(dpe,"bodyMixinMethods");function Ape(t){Object.assign(t.prototype,dpe(t))}o(Ape,"mixinBody");async function od(t,e,r){if(tpe.brandCheck(t,r),NH(t))throw new TypeError("Body is unusable: Body has already been read");upe(t[ad]);let s=XAe(),n=o(a=>s.reject(a),"errorSteps"),i=o(a=>{try{s.resolve(e(a))}catch(c){n(c)}},"successSteps");return t[ad].body==null?(i(Buffer.allocUnsafe(0)),s.promise):(await ZAe(t[ad].body,i,n),s.promise)}o(od,"consumeBody");function NH(t){let e=t[ad].body;return e!=null&&(e.stream.locked||pf.isDisturbed(e.stream))}o(NH,"bodyUnusable");function ppe(t){return JSON.parse(IH(t))}o(ppe,"parseJSONFromBytes");function CH(t){let e=t[ad].headersList,r=epe(e);return r==="failure"?null:r}o(CH,"bodyMimeType");xH.exports={extractBody:SH,safelyExtractBody:cpe,cloneBody:lpe,mixinBody:Ape,streamRegistry:wH,hasFinalizationRegistry:bH,bodyUnusable:NH}});var HH=h((w5e,GH)=>{"use strict";var j=require("node:assert"),Z=Ce(),{channels:QH}=Wu(),Vx=Sx(),{RequestContentLengthMismatchError:il,ResponseContentLengthMismatchError:RH,RequestAbortedError:MH,HeadersTimeoutError:fpe,HeadersOverflowError:hpe,SocketError:ld,InformationalError:ud,BodyTimeoutError:mpe,HTTPParserError:gpe,ResponseExceededMaxSizeError:Epe}=Qe(),{kUrl:LH,kReset:es,kClient:FE,kParser:Xe,kBlocking:mf,kRunning:Ft,kPending:FH,kSize:TH,kWriting:Va,kQueue:Yn,kNoRef:ff,kKeepAliveDefaultTimeout:ype,kHostHeader:Cpe,kPendingIdx:Ipe,kRunningIdx:on,kError:_r,kPipelining:UE,kSocket:al,kKeepAliveTimeoutValue:GE,kMaxHeadersSize:zx,kKeepAliveMaxTimeout:Bpe,kKeepAliveTimeoutThreshold:bpe,kHeadersTimeout:wpe,kBodyTimeout:Spe,kStrictContentLength:$x,kMaxRequests:vH,kCounter:Npe,kMaxResponseSize:xpe,kOnError:PH,kResume:Yo,kHTTPContext:UH}=it(),xs=wG(),_H=Buffer.alloc(0),OE=Buffer[Symbol.species],ME=Z.addListener,Qpe=Z.removeAllListeners,cl=Symbol("kIdleSocketValidation"),ol=Symbol("kIdleSocketValidationTimeout"),Xx=Symbol("kSocketUsed"),Jx;async function Rpe(){let t=process.env.JEST_WORKER_ID?Qx():void 0,e;try{e=await WebAssembly.compile(xG())}catch{e=await WebAssembly.compile(t||Qx())}return await WebAssembly.instantiate(e,{env:{wasm_on_url:o((r,s,n)=>0,"wasm_on_url"),wasm_on_status:o((r,s,n)=>{j(Et.ptr===r);let i=s-Qi+xi.byteOffset;return Et.onStatus(new OE(xi.buffer,i,n))||0},"wasm_on_status"),wasm_on_message_begin:o(r=>(j(Et.ptr===r),Et.onMessageBegin()||0),"wasm_on_message_begin"),wasm_on_header_field:o((r,s,n)=>{j(Et.ptr===r);let i=s-Qi+xi.byteOffset;return Et.onHeaderField(new OE(xi.buffer,i,n))||0},"wasm_on_header_field"),wasm_on_header_value:o((r,s,n)=>{j(Et.ptr===r);let i=s-Qi+xi.byteOffset;return Et.onHeaderValue(new OE(xi.buffer,i,n))||0},"wasm_on_header_value"),wasm_on_headers_complete:o((r,s,n,i)=>(j(Et.ptr===r),Et.onHeadersComplete(s,!!n,!!i)||0),"wasm_on_headers_complete"),wasm_on_body:o((r,s,n)=>{j(Et.ptr===r);let i=s-Qi+xi.byteOffset;return Et.onBody(new OE(xi.buffer,i,n)) Line truncated
`;if(typeof n=="string"?g+=`host: ${n}\r
`:g+=t[Cpe],i?g+=`connection: upgrade\r
upgrade: ${i}\r
`:t[UE]&&!f[es]?g+=`connection: keep-alive\r
`:g+=`connection: close\r
`,Array.isArray(u))for(let y=0;y<u.length;y+=2){let E=u[y+0],C=u[y+1];if(Array.isArray(C))for(let I=0;I<C.length;I++)g+=`${E}: ${C[I]}\r
`;else g+=`${E}: ${C}\r
`}return QH.sendHeaders.hasSubscribers&&QH.sendHeaders.publish({request:e,headers:g,socket:f}),!l||p===0?DH(m,null,t,e,f,d,g,A):Z.isBuffer(l)?DH(m,l,t,e,f,d,g,A):Z.isBlobLike(l)?typeof l.stream=="function"?OH(m,l.stream(),t,e,f,d,g,A):Mpe(m,l,t,e,f,d,g,A):Z.isStream(l)?Ope(m,l,t,e,f,d,g,A):Z.isIterable(l)?OH(m,l,t,e,f,d,g,A):j(!1),!0}o(Dpe,"writeH1");function Ope(t,e,r,s,n,i,a,c){j(i!==0||r[Ft]===0,"stream body cannot be pipelined");let l=!1,u=new HE({abort:t,socket:n,request:s,contentLength:i,client:r,expectsPayload:c,header:a}),d=o(function(m){if(!l)try{!u.write(m)&&this.pause&&this.pause()}catch(g){Z.destroy(this,g)}},"onData"),A=o(function(){l||e.resume&&e.resume()},"onDrain"),p=o(function(){if(queueMicrotask(()=>{e.removeListener("error",f)}),!l){let m=new MH;queueMicrotask(()=>f(m))}},"onClose"),f=o(function(m){if(!l){if(l=!0,j(n.destroyed||n[Va]&&r[Ft]<=1),n.off("drain",A).off("error",f),e.removeListener("data",d).removeListener("end",f).removeListener("close",p),!m)try{u.end()}catch(g){m=g}u.destroy(m),m&&(m.code!=="UND_ERR_INFO"||m.message!=="reset")?Z.destroy(e,m):Z.destroy(e)}},"onFinished");e.on("data",d).on("end",f).on("error",f).on("close",p),e.resume&&e.resume(),n.on("drain",A).on("error",f),e.errorEmitted??e.errored?setImmediate(()=>f(e.errored)):(e.endEmitted??e.readableEnded)&&setImmediate(()=>f(null)),(e.closeEmitted??e.closed)&&setImmediate(p)}o(Ope,"writeStream");function DH(t,e,r,s,n,i,a,c){try{e?Z.isBuffer(e)&&(j(i===e.byteLength,"buffer body must have content length"),n.cork(),n.write(`${a}content-length: ${i}\r
\r
`,"latin1"),i.write(e),i.uncork(),s.onBodySent(e),!a&&s.reset!==!1&&(i[Xi]=!0)):n===0?i.write(`${o}content-length: 0\r
`,"latin1"),n.write(e),n.uncork(),s.onBodySent(e),!c&&s.reset!==!1&&(n[es]=!0)):i===0?n.write(`${a}content-length: 0\r
\r
`,"latin1"):(Re(n===null,"no body must not have content length"),i.write(`${o}\r
`,"latin1")),s.onRequestSent(),r[wh]()}catch(c){t(c)}}async function lLe(t,e,r,s,i,n,o,a){Re(n===e.size,"blob body must have content length");try{if(n!=null&&n!==e.size)throw new df;let c=Buffer.from(await e.arrayBuffer());i.cork(),i.write(`${o}content-length: ${n}\r
`,"latin1"):(j(i===null,"no body must not have content length"),n.write(`${a}\r
`,"latin1")),s.onRequestSent(),r[Yo]()}catch(l){t(l)}}o(DH,"writeBuffer");async function Mpe(t,e,r,s,n,i,a,c){j(i===e.size,"blob body must have content length");try{if(i!=null&&i!==e.size)throw new il;let l=Buffer.from(await e.arrayBuffer());n.cork(),n.write(`${a}content-length: ${i}\r
\r
`,"latin1"),i.write(c),i.uncork(),s.onBodySent(c),s.onRequestSent(),!a&&s.reset!==!1&&(i[Xi]=!0),r[wh]()}catch(c){t(c)}}async function IZ(t,e,r,s,i,n,o,a){Re(n!==0||r[Vs]===0,"iterator body cannot be pipelined");let c=null;function l(){if(c){let d=c;c=null,d()}}let u=()=>new Promise((d,f)=>{Re(c===null),i[gi]?f(i[gi]):c=d});i.on("close",l).on("drain",l);let h=new ZB({abort:t,socket:i,request:s,contentLength:n,client:r,expectsPayload:a,header:o});try{for await(let d of e){if(i[gi])throw i[gi];h.write(d)||await u()}h.end()}catch(d){h.destroy(d)}finally{i.off("close",l).off("drain",l)}}var ZB=class{constructor({abort:e,socket:r,request:s,contentLength:i,client:n,expectsPayload:o,header:a}){this.socket=r,this.request=s,this.contentLength=i,this.client=n,this.bytesWritten=0,this.expectsPayload=o,this.header=a,this.abort=e,r[Bh]=!0}write(e){let{socket:r,request:s,contentLength:i,client:n,bytesWritten:o,expectsPayload:a,header:c}=this;if(r[gi])throw r[gi];if(r.destroyed)return!1;let l=Buffer.byteLength(e);if(!l)return!0;if(i!==null&&o+l>i){if(n[jk])throw new df;process.emitWarning(new df)}r.cork(),o===0&&(!a&&s.reset!==!1&&(r[Xi]=!0),i===null?r.write(`${c}transfer-encoding: chunked\r
`,"latin1"):r.write(`${c}content-length: ${i}\r
`,"latin1"),n.write(l),n.uncork(),s.onBodySent(l),s.onRequestSent(),!c&&s.reset!==!1&&(n[es]=!0),r[Yo]()}catch(l){t(l)}}o(Mpe,"writeBlob");async function OH(t,e,r,s,n,i,a,c){j(i!==0||r[Ft]===0,"iterator body cannot be pipelined");let l=null;function u(){if(l){let p=l;l=null,p()}}o(u,"onDrain");let d=o(()=>new Promise((p,f)=>{j(l===null),n[_r]?f(n[_r]):l=p}),"waitForDrain");n.on("close",u).on("drain",u);let A=new HE({abort:t,socket:n,request:s,contentLength:i,client:r,expectsPayload:c,header:a});try{for await(let p of e){if(n[_r])throw n[_r];A.write(p)||await d()}A.end()}catch(p){A.destroy(p)}finally{n.off("close",u).off("drain",u)}}o(OH,"writeIterable");var HE=class{static{o(this,"AsyncWriter")}constructor({abort:e,socket:r,request:s,contentLength:n,client:i,expectsPayload:a,header:c}){this.socket=r,this.request=s,this.contentLength=n,this.client=i,this.bytesWritten=0,this.expectsPayload=a,this.header=c,this.abort=e,r[Va]=!0}write(e){let{socket:r,request:s,contentLength:n,client:i,bytesWritten:a,expectsPayload:c,header:l}=this;if(r[_r])throw r[_r];if(r.destroyed)return!1;let u=Buffer.byteLength(e);if(!u)return!0;if(n!==null&&a+u>n){if(i[$x])throw new il;process.emitWarning(new il)}r.cork(),a===0&&(!c&&s.reset!==!1&&(r[es]=!0),n===null?r.write(`${l}transfer-encoding: chunked\r
`,"latin1"):r.write(`${l}content-length: ${n}\r
\r
`,"latin1")),i===null&&r.write(`\r
${l.toString(16)}\r
`,"latin1"),this.bytesWritten+=l;let u=r.write(e);return r.uncork(),s.onBodySent(e),u||r[pr].timeout&&r[pr].timeoutType===KA&&r[pr].timeout.refresh&&r[pr].timeout.refresh(),u}end(){let{socket:e,contentLength:r,client:s,bytesWritten:i,expectsPayload:n,header:o,request:a}=this;if(a.onRequestSent(),e[Bh]=!1,e[gi])throw e[gi];if(!e.destroyed){if(i===0?n?e.write(`${o}content-length: 0\r
`,"latin1")),n===null&&r.write(`\r
${u.toString(16)}\r
`,"latin1"),this.bytesWritten+=u;let d=r.write(e);return r.uncork(),s.onBodySent(e),d||r[Xe].timeout&&r[Xe].timeoutType===dd&&r[Xe].timeout.refresh&&r[Xe].timeout.refresh(),d}end(){let{socket:e,contentLength:r,client:s,bytesWritten:n,expectsPayload:i,header:a,request:c}=this;if(c.onRequestSent(),e[Va]=!1,e[_r])throw e[_r];if(!e.destroyed){if(n===0?i?e.write(`${a}content-length: 0\r
\r
`,"latin1"):e.write(`${o}\r
`,"latin1"):e.write(`${a}\r
`,"latin1"):r===null&&e.write(`\r
0\r
\r
`,"latin1"),r!==null&&i!==r){if(s[jk])throw new df;process.emitWarning(new df)}e[pr].timeout&&e[pr].timeoutType===KA&&e[pr].timeout.refresh&&e[pr].timeout.refresh(),s[wh]()}}destroy(e){let{socket:r,client:s,abort:i}=this;r[Bh]=!1,e&&(Re(s[Vs]<=1,"pipeline should only contain this request"),i(e))}};SZ.exports=iLe});var OZ=A((S1t,PZ)=>{"use strict";var wo=require("node:assert"),{pipeline:uLe}=require("node:stream"),lt=st(),{RequestContentLengthMismatchError:Kk,RequestAbortedError:NZ,SocketError:iC,InformationalError:Xk}=yt(),{kUrl:eS,kReset:rS,kClient:XA,kRunning:sS,kPending:hLe,kQueue:Sh,kPendingIdx:Zk,kRunningIdx:Ia,kError:wa,kSocket:fs,kStrictContentLength:dLe,kOnError:eM,kMaxConcurrentStreams:QZ,kHTTP2Session:ba,kResume:xh,kSize:fLe,kHTTPContext:pLe}=tr(),Jl=Symbol("open streams"),RZ,vZ=!1,tS;try{tS=require("node:http2")}catch{tS={constants:{}}}var{constants:{HTTP2_HEADER_AUTHORITY:ALe,HTTP2_HEADER_METHOD:mLe,HTTP2_HEADER_PATH:gLe,HTTP2_HEADER_SCHEME:yLe,HTTP2_HEADER_CONTENT_LENGTH:ELe,HTTP2_HEADER_EXPECT:CLe,HTTP2_HEADER_STATUS:ILe}}=tS;function bLe(t){let e=[];for(let[r,s]of Object.entries(t))if(Array.isArray(s))for(let i of s)e.push(Buffer.from(r),Buffer.from(i));else e.push(Buffer.from(r),Buffer.from(s));return e}async function wLe(t,e){t[fs]=e,vZ||(vZ=!0,process.emitWarning("H2 support is experimental, expect them to change at any time.",{code:"UNDICI-H2"}));let r=tS.connect(t[eS],{createConnection:()=>e,peerMaxConcurrentStreams:t[QZ]});r[Jl]=0,r[XA]=t,r[fs]=e,lt.addListener(r,"error",SLe),lt.addListener(r,"frameError",xLe),lt.addListener(r,"end",NLe),lt.addListener(r,"goaway",RLe),lt.addListener(r,"close",function(){let{[XA]:i}=this,{[fs]:n}=i,o=this[fs][wa]||this[wa]||new iC("closed",lt.getSocketInfo(n));if(i[ba]=null,i.destroyed){wo(i[hLe]===0);let a=i[Sh].splice(i[Ia]);for(let c=0;c<a.length;c++){let l=a[c];lt.errorRequest(i,l,o)}}}),r.unref(),t[ba]=r,e[ba]=r,lt.addListener(e,"error",function(i){wo(i.code!=="ERR_TLS_CERT_ALTNAME_INVALID"),this[wa]=i,this[XA][eM](i)}),lt.addListener(e,"end",function(){lt.destroy(this,new iC("other side closed",lt.getSocketInfo(this)))}),lt.addListener(e,"close",function(){let i=this[wa]||new iC("closed",lt.getSocketInfo(this));t[fs]=null,this[ba]!=null&&this[ba].destroy(i),t[Zk]=t[Ia],wo(t[sS]===0),t.emit("disconnect",t[eS],[t],i),t[xh]()});let s=!1;return e.on("close",()=>{s=!0}),{version:"h2",defaultPipelining:1/0,write(...i){return TLe(t,...i)},resume(){BLe(t)},destroy(i,n){s?queueMicrotask(n):e.destroy(i).on("close",n)},get destroyed(){return e.destroyed},busy(){return!1}}}function BLe(t){let e=t[fs];e?.destroyed===!1&&(t[fLe]===0&&t[QZ]===0?(e.unref(),t[ba].unref()):(e.ref(),t[ba].ref()))}function SLe(t){wo(t.code!=="ERR_TLS_CERT_ALTNAME_INVALID"),this[fs][wa]=t,this[XA][eM](t)}function xLe(t,e,r){if(r===0){let s=new Xk(`HTTP/2: "frameError" received - type ${t}, code ${e}`);this[fs][wa]=s,this[XA][eM](s)}}function NLe(){let t=new iC("other side closed",lt.getSocketInfo(this[fs]));this.destroy(t),lt.destroy(this[fs],t)}function RLe(t){let e=this[wa]||new iC(`HTTP/2: "GOAWAY" frame received with code ${t}`,lt.getSocketInfo(this)),r=this[XA];if(r[fs]=null,r[pLe]=null,this[ba]!=null&&(this[ba].destroy(e),this[ba]=null),lt.destroy(this[fs],e),r[Ia]<r[Sh].length){let s=r[Sh][r[Ia]];r[Sh][r[Ia]++]=null,lt.errorRequest(r,s,e),r[Zk]=r[Ia]}wo(r[sS]===0),r.emit("disconnect",r[eS],[r],e),r[xh]()}function vLe(t){return t!=="GET"&&t!=="HEAD"&&t!=="OPTIONS"&&t!=="TRACE"&&t!=="CONNECT"}function TLe(t,e){let r=t[ba],{method:s,path:i,host:n,upgrade:o,expectContinue:a,signal:c,headers:l}=e,{body:u}=e;if(o)return lt.errorRequest(t,e,new Error("Upgrade not supported for H2")),!1;let h={};for(let S=0;S<l.length;S+=2){let N=l[S+0],P=l[S+1];if(Array.isArray(P))for(let Q=0;Q<P.length;Q++)h[N]?h[N]+=`,${P[Q]}`:h[N]=P[Q];else h[N]=P}let d,{hostname:f,port:p}=t[eS];h[ALe]=n||`${f}${p?`:${p}`:""}`,h[mLe]=s;let m=S=>{e.aborted||e.completed||(S=S||new NZ,lt.errorRequest(t,e,S),d!=null&&lt.destroy(d,S),lt.destroy(u,S),t[Sh][t[Ia]++]=null,t[xh]())};try{e.onConnect(m)}catch(S){lt.errorRequest(t,e,S)}if(e.aborted)return!1;if(s==="CONNECT")return r.ref(),d=r.request(h,{endStream:!1,signal:c}),d.id&&!d.pending?(e.onUpgrade(null,null,d),++r[Jl],t[Sh][t[Ia]++]=null):d.once("ready",()=>{e.onUpgrade(null,null,d),++r[Jl],t[Sh][t[Ia]++]=null}),d.once("close",()=>{r[Jl]-=1,r[Jl]===0&&r.unref()}),!0;h[gLe]=i,h[yLe]="https";let E=s==="PUT"||s==="POST"||s==="PATCH";u&&typeof u.read=="function"&&u.read(0);let y=lt.bodyLength(u);if(lt.isFormDataLike(u)){RZ??=JA().extractBody;let[S,N]=RZ(u);h["content-type"]=N,u=S.stream,y=S.length}if(y==null&&(y=e.contentLength),(y===0||!E)&&(y=null),vLe(s)&&y>0&&e.contentLength!=null&&e.contentLength!==y){if(t[dLe])return lt.errorRequest(t,e,new Kk),!1;process.emitWarning(new Kk)}y!=null&&(wo(u,"no body must not have content length"),h[ELe]=`${y}`),r.ref();let C=s==="GET"||s==="HEAD"||u===null;return a?(h[CLe]="100-continue",d=r.request(h,{endStream:C,signal:c}),d.once(" Line truncated
`,this[r2e]=c??3e5,this[t2e]=i??3e5,this[s2e]=C??!0,this[i2e]=S,this[iM]=P,this[Rh]=null,this[l2e]=k>-1?k:-1,this[h2e]=L??100,this[Tr]=null,this[Ba]=[],this[Wl]=0,this[Sa]=0,this[cC]=V=>oM(this,V),this[u2e]=V=>$Z(this,V)}get pipelining(){return this[aS]}set pipelining(e){this[aS]=e,this[cC](!0)}get[hC](){return this[Ba].length-this[Sa]}get[uC](){return this[Sa]-this[Wl]}get[lC](){return this[Ba].length-this[Wl]}get[JLe](){return!!this[Tr]&&!this[em]&&!this[Tr].destroyed}get[sM](){return!!(this[Tr]?.busy(null)||this[lC]>=(VZ(this)||1)||this[hC]>0)}[jLe](e){jZ(this),this.once("connect",e)}[c2e](e,r){let s=e.origin||this[lc].origin,i=new qLe(s,e,r);return this[Ba].push(i),this[pf]||(ff.bodyLength(i.body)==null&&ff.isIterable(i.body)?(this[pf]=1,queueMicrotask(()=>oM(this))):this[cC](!0)),this[pf]&&this[vh]!==2&&this[sM]&&(this[vh]=2),this[vh]<2}async[o2e](){return new Promise(e=>{this[lC]?this[Rh]=e:e(null)})}async[a2e](e){return new Promise(r=>{let s=this[Ba].splice(this[Sa]);for(let n=0;n<s.length;n++){let o=s[n];ff.errorRequest(this,o,e)}let i=()=>{this[Rh]&&(this[Rh](),this[Rh]=null),r(null)};this[Tr]?(this[Tr].destroy(e,i),this[Tr]=null):queueMicrotask(i),this[cC]()})}},p2e=oS();function $Z(t,e){if(t[uC]===0&&e.code!=="UND_ERR_INFO"&&e.code!=="UND_ERR_SOCKET"){Yl(t[Sa]===t[Wl]);let r=t[Ba].splice(t[Wl]);for(let s=0;s<r.length;s++){let i=r[s];ff.errorRequest(t,i,e)}Yl(t[lC]===0)}}async function jZ(t){Yl(!t[em]),Yl(!t[Tr]);let{host:e,hostname:r,protocol:s,port:i}=t[lc];if(r[0]==="["){let n=r.indexOf("]");Yl(n!==-1);let o=r.substring(1,n);Yl(zZ.isIP(o)),r=o}t[em]=!0,ZA.beforeConnect.hasSubscribers&&ZA.beforeConnect.publish({connectParams:{host:e,hostname:r,protocol:s,port:i,version:t[Tr]?.version,servername:t[Nh],localAddress:t[aC]},connector:t[oC]});try{let n=await new Promise((o,a)=>{t[oC]({host:e,hostname:r,protocol:s,port:i,servername:t[Nh],localAddress:t[aC]},(c,l)=>{c?a(c):o(l)})});if(t.destroyed){ff.destroy(n.on("error",GZ),new zLe);return}Yl(n);try{t[Tr]=n.alpnProtocol==="h2"?await f2e(t,n):await d2e(t,n)}catch(o){throw n.destroy().on("error",GZ),o}t[em]=!1,n[n2e]=0,n[iM]=t[iM],n[$Le]=t,n[WLe]=null,ZA.connected.hasSubscribers&&ZA.connected.publish({connectParams:{host:e,hostname:r,protocol:s,port:i,version:t[Tr]?.version,servername:t[Nh],localAddress:t[aC]},connector:t[oC],socket:n}),t.emit("connect",t[lc],[t])}catch(n){if(t.destroyed)return;if(t[em]=!1,ZA.connectError.hasSubscribers&&ZA.connectError.publish({connectParams:{host:e,hostname:r,protocol:s,port:i,version:t[Tr]?.version,servername:t[Nh],localAddress:t[aC]},connector:t[oC],error:n}),n.code==="ERR_TLS_CERT_ALTNAME_INVALID")for(Yl(t[uC]===0);t[hC]>0&&t[Ba][t[Sa]].servername===t[Nh];){let o=t[Ba][t[Sa]++];ff.errorRequest(t,o,n)}else $Z(t,n);t.emit("connectionError",t[lc],[t],n)}t[cC]()}function HZ(t){t[vh]=0,t.emit("drain",t[lc],[t])}function oM(t,e){t[pf]!==2&&(t[pf]=2,A2e(t,e),t[pf]=0,t[Wl]>256&&(t[Ba].splice(0,t[Wl]),t[Sa]-=t[Wl],t[Wl]=0))}function A2e(t,e){for(;;){if(t.destroyed){Yl(t[hC]===0);return}if(t[Rh]&&!t[lC]){t[Rh](),t[Rh]=null;return}if(t[Tr]&&t[Tr].resume(),t[sM])t[vh]=2;else if(t[vh]===2){e?(t[vh]=1,queueMicrotask(()=>HZ(t))):HZ(t);continue}if(t[hC]===0||t[uC]>=(VZ(t)||1))return;let r=t[Ba][t[Sa]];if(t[lc].protocol==="https:"&&t[Nh]!==r.servername){if(t[uC]>0)return;t[Nh]=r.servername,t[Tr]?.destroy(new HLe("servername changed"),()=>{t[Tr]=null,oM(t)})}if(t[em])return;if(!t[Tr]){jZ(t);return}if(t[Tr].destroyed||t[Tr].busy(r))return;!r.aborted&&t[Tr].write(r)?t[Sa]++:t[Ba].splice(t[Sa],1)}}JZ.exports=nM});var aM=A((T1t,YZ)=>{"use strict";var cS=class{constructor(){this.bottom=0,this.top=0,this.list=new Array(2048),this.next=null}isEmpty(){return this.top===this.bottom}isFull(){return(this.top+1&2047)===this.bottom}push(e){this.list[this.top]=e,this.top=this.top+1&2047}shift(){let e=this.list[this.bottom];return e===void 0?null:(this.list[this.bottom]=void 0,this.bottom=this.bottom+1&2047,e)}};YZ.exports=class{constructor(){this.head=this.tail=new cS}isEmpty(){return this.head.isEmpty()}push(e){this.head.isFull()&&(this.head=this.head.next=new cS),this.head.push(e)}shift(){let e=this.tail,r=e.shift();return e.isEmpty()&&e.next!==null&&(this.tail=e.next),r}}});var KZ=A((_1t,WZ)=>{var{kFree:m2e,kConnected:g2e,kPending:y2e,kQueued:E2e,kRunning:C2e,kSize:I2e}=tr(),Af=Symbol("pool"),cM=class{constructor(e){this[Af]=e}get connected(){return this[Af][g2e]}get free(){return this[Af][m2e]}get pending(){return this[Af][y2e]}get queued(){return this[Af][E2e]}get running(){return this[Af][C2e]}get size(){return this[Af][I2e]}};WZ.exports=cM});var pM=A((Q1t,a7)=>{"use strict";var b2e=UA(),w2e=aM(),{kConnected:lM,kSize:XZ,kRunning:ZZ,kPending:e7,kQueued:dC,kBusy:B2e,kFree:S2e,kUrl:x2e,kClose:N2e,kDestroy:R2e,kDispatch:v2e}=tr(),T2e=KZ(),Zi=Symbol("clients"),yi=Symbol("needDrain"),fC=Symbol("queue"),uM=Symbol("closed resolve"),hM=Symbol("onDrain"),t7=Symbol("onConnect"),r7=Symbol("onDisconnect"),s7=Symbol("onConnectionError"),dM=Symbol("get d Line truncated
`,"latin1"),r!==null&&n!==r){if(s[$x])throw new il;process.emitWarning(new il)}e[Xe].timeout&&e[Xe].timeoutType===dd&&e[Xe].timeout.refresh&&e[Xe].timeout.refresh(),s[Yo]()}}destroy(e){let{socket:r,client:s,abort:n}=this;r[Va]=!1,e&&(j(s[Ft]<=1,"pipeline should only contain this request"),n(e))}};GH.exports=vpe});var KH=h((N5e,jH)=>{"use strict";var an=require("node:assert"),{pipeline:Lpe}=require("node:stream"),be=Ce(),{RequestContentLengthMismatchError:Zx,RequestAbortedError:VH,SocketError:gf,InformationalError:eQ}=Qe(),{kUrl:VE,kReset:JE,kClient:Ad,kRunning:YE,kPending:Fpe,kQueue:za,kPendingIdx:tQ,kRunningIdx:$n,kError:jn,kSocket:nr,kStrictContentLength:Upe,kOnError:rQ,kMaxConcurrentStreams:WH,kHTTP2Session:Wn,kResume:Ja,kSize:qpe,kHTTPContext:Gpe}=it(),$o=Symbol("open streams"),zH,JH=!1,zE;try{zE=require("node:http2")}catch{zE={constants:{}}}var{constants:{HTTP2_HEADER_AUTHORITY:Hpe,HTTP2_HEADER_METHOD:Vpe,HTTP2_HEADER_PATH:zpe,HTTP2_HEADER_SCHEME:Jpe,HTTP2_HEADER_CONTENT_LENGTH:Ype,HTTP2_HEADER_EXPECT:$pe,HTTP2_HEADER_STATUS:Wpe}}=zE;function jpe(t){let e=[];for(let[r,s]of Object.entries(t))if(Array.isArray(s))for(let n of s)e.push(Buffer.from(r),Buffer.from(n));else e.push(Buffer.from(r),Buffer.from(s));return e}o(jpe,"parseH2Headers");async function Kpe(t,e){t[nr]=e,JH||(JH=!0,process.emitWarning("H2 support is experimental, expect them to change at any time.",{code:"UNDICI-H2"}));let r=zE.connect(t[VE],{createConnection:o(()=>e,"createConnection"),peerMaxConcurrentStreams:t[WH]});r[$o]=0,r[Ad]=t,r[nr]=e,be.addListener(r,"error",Zpe),be.addListener(r,"frameError",efe),be.addListener(r,"end",tfe),be.addListener(r,"goaway",rfe),be.addListener(r,"close",function(){let{[Ad]:n}=this,{[nr]:i}=n,a=this[nr][jn]||this[jn]||new gf("closed",be.getSocketInfo(i));if(n[Wn]=null,n.destroyed){an(n[Fpe]===0);let c=n[za].splice(n[$n]);for(let l=0;l<c.length;l++){let u=c[l];be.errorRequest(n,u,a)}}}),r.unref(),t[Wn]=r,e[Wn]=r,be.addListener(e,"error",function(n){an(n.code!=="ERR_TLS_CERT_ALTNAME_INVALID"),this[jn]=n,this[Ad][rQ](n)}),be.addListener(e,"end",function(){be.destroy(this,new gf("other side closed",be.getSocketInfo(this)))}),be.addListener(e,"close",function(){let n=this[jn]||new gf("closed",be.getSocketInfo(this));t[nr]=null,this[Wn]!=null&&this[Wn].destroy(n),t[tQ]=t[$n],an(t[YE]===0),t.emit("disconnect",t[VE],[t],n),t[Ja]()});let s=!1;return e.on("close",()=>{s=!0}),{version:"h2",defaultPipelining:1/0,write(...n){return nfe(t,...n)},resume(){Xpe(t)},destroy(n,i){s?queueMicrotask(i):e.destroy(n).on("close",i)},get destroyed(){return e.destroyed},busy(){return!1}}}o(Kpe,"connectH2");function Xpe(t){let e=t[nr];e?.destroyed===!1&&(t[qpe]===0&&t[WH]===0?(e.unref(),t[Wn].unref()):(e.ref(),t[Wn].ref()))}o(Xpe,"resumeH2");function Zpe(t){an(t.code!=="ERR_TLS_CERT_ALTNAME_INVALID"),this[nr][jn]=t,this[Ad][rQ](t)}o(Zpe,"onHttp2SessionError");function efe(t,e,r){if(r===0){let s=new eQ(`HTTP/2: "frameError" received - type ${t}, code ${e}`);this[nr][jn]=s,this[Ad][rQ](s)}}o(efe,"onHttp2FrameError");function tfe(){let t=new gf("other side closed",be.getSocketInfo(this[nr]));this.destroy(t),be.destroy(this[nr],t)}o(tfe,"onHttp2SessionEnd");function rfe(t){let e=this[jn]||new gf(`HTTP/2: "GOAWAY" frame received with code ${t}`,be.getSocketInfo(this)),r=this[Ad];if(r[nr]=null,r[Gpe]=null,this[Wn]!=null&&(this[Wn].destroy(e),this[Wn]=null),be.destroy(this[nr],e),r[$n]<r[za].length){let s=r[za][r[$n]];r[za][r[$n]++]=null,be.errorRequest(r,s,e),r[tQ]=r[$n]}an(r[YE]===0),r.emit("disconnect",r[VE],[r],e),r[Ja]()}o(rfe,"onHTTP2GoAway");function sfe(t){return t!=="GET"&&t!=="HEAD"&&t!=="OPTIONS"&&t!=="TRACE"&&t!=="CONNECT"}o(sfe,"shouldSendContentLength");function nfe(t,e){let r=t[Wn],{method:s,path:n,host:i,upgrade:a,expectContinue:c,signal:l,headers:u}=e,{body:d}=e;if(a)return be.errorRequest(t,e,new Error("Upgrade not supported for H2")),!1;let A={};for(let b=0;b<u.length;b+=2){let N=u[b+0],Q=u[b+1];if(Array.isArray(Q))for(let D=0;D<Q.length;D++)A[N]?A[N]+=`,${Q[D]}`:A[N]=Q[D];else A[N]=Q}let p,{hostname:f,port:m}=t[VE];A[Hpe]=i||`${f}${m?`:${m}`:""}`,A[Vpe]=s;let g=o(b=>{e.aborted||e.completed||(b=b||new VH,be.errorRequest(t,e,b),p!=null&&be.destroy(p,b),be.destroy(d,b),t[za][t[$n]++]=null,t[Ja]())},"abort");try{e.onConnect(g)}catch(b){be.errorRequest(t,e,b)}if(e.aborted)return!1;if(s==="CONNECT")return r.ref(),p=r.request(A,{endStream:!1,signal:l}),p.id&&!p.pending?(e.onUpgrade(null,null,p),++r[$o],t[za][t[$n]++]=null):p.once("ready",()=>{e.onUpgrade(null,null,p),++r[$o],t[za][t[$n]++]=null}),p.once("close",()=>{r[$o]-=1,r[$o]===0&&r.unref()}),!0;A[zpe]=n,A[Jpe]="https";let y=s==="PUT"||s==="POST"||s==="PATCH";d&&typeof d.read=="function"&&d.read(0);let E=be.bodyLength(d);if(be.isFormDataLike(d)){zH??=cd().extractBody;let[b,N]=zH(d);A["content-type"]=N,d=b.stream,E=b.length}if(E==null&&(E=e.contentLength),(E===0||!y)&&(E=null),sfe(s)&&E>0&&e.contentLength!=null&&e.contentLength!==E){if(t[Upe])return be.errorRequest(t,e,n Line truncated
`,this[Tfe]=l??3e5,this[Rfe]=n??3e5,this[vfe]=C??!0,this[Pfe]=b,this[oQ]=Q,this[$a]=null,this[Mfe]=ae>-1?ae:-1,this[Ffe]=qe??100,this[Rt]=null,this[Kn]=[],this[jo]=0,this[Xn]=0,this[If]=ue=>cQ(this,ue),this[Lfe]=ue=>lV(this,ue)}get pipelining(){return this[KE]}set pipelining(e){this[KE]=e,this[If](!0)}get[wf](){return this[Kn].length-this[Xn]}get[bf](){return this[Xn]-this[jo]}get[Bf](){return this[Kn].length-this[jo]}get[Bfe](){return!!this[Rt]&&!this[fd]&&!this[Rt].destroyed}get[iQ](){return!!(this[Rt]?.busy(null)||this[Bf]>=(cV(this)||1)||this[wf]>0)}[Ife](e){uV(this),this.once("connect",e)}[Ofe](e,r){let s=e.origin||this[Ti].origin,n=new hfe(s,e,r);return this[Kn].push(n),this[ul]||(ll.bodyLength(n.body)==null&&ll.isIterable(n.body)?(this[ul]=1,queueMicrotask(()=>cQ(this))):this[If](!0)),this[ul]&&this[Wa]!==2&&this[iQ]&&(this[Wa]=2),this[Wa]<2}async[kfe](){return new Promise(e=>{this[Bf]?this[$a]=e:e(null)})}async[Dfe](e){return new Promise(r=>{let s=this[Kn].splice(this[Xn]);for(let i=0;i<s.length;i++){let a=s[i];ll.errorRequest(this,a,e)}let n=o(()=>{this[$a]&&(this[$a](),this[$a]=null),r(null)},"callback");this[Rt]?(this[Rt].destroy(e,n),this[Rt]=null):queueMicrotask(n),this[If]()})}},Gfe=jE();function lV(t,e){if(t[bf]===0&&e.code!=="UND_ERR_INFO"&&e.code!=="UND_ERR_SOCKET"){Wo(t[Xn]===t[jo]);let r=t[Kn].splice(t[jo]);for(let s=0;s<r.length;s++){let n=r[s];ll.errorRequest(t,n,e)}Wo(t[Bf]===0)}}o(lV,"onError");async function uV(t){Wo(!t[fd]),Wo(!t[Rt]);let{host:e,hostname:r,protocol:s,port:n}=t[Ti];if(r[0]==="["){let i=r.indexOf("]");Wo(i!==-1);let a=r.substring(1,i);Wo(aV.isIP(a)),r=a}t[fd]=!0,pd.beforeConnect.hasSubscribers&&pd.beforeConnect.publish({connectParams:{host:e,hostname:r,protocol:s,port:n,version:t[Rt]?.version,servername:t[Ya],localAddress:t[Cf]},connector:t[yf]});try{let i=await new Promise((a,c)=>{t[yf]({host:e,hostname:r,protocol:s,port:n,servername:t[Ya],localAddress:t[Cf]},(l,u)=>{l?c(l):a(u)})});if(t.destroyed){ll.destroy(i.on("error",iV),new Efe);return}Wo(i);try{t[Rt]=i.alpnProtocol==="h2"?await qfe(t,i):await Ufe(t,i)}catch(a){throw i.destroy().on("error",iV),a}t[fd]=!1,i[_fe]=0,i[oQ]=t[oQ],i[Cfe]=t,i[wfe]=null,pd.connected.hasSubscribers&&pd.connected.publish({connectParams:{host:e,hostname:r,protocol:s,port:n,version:t[Rt]?.version,servername:t[Ya],localAddress:t[Cf]},connector:t[yf],socket:i}),t.emit("connect",t[Ti],[t])}catch(i){if(t.destroyed)return;if(t[fd]=!1,pd.connectError.hasSubscribers&&pd.connectError.publish({connectParams:{host:e,hostname:r,protocol:s,port:n,version:t[Rt]?.version,servername:t[Ya],localAddress:t[Cf]},connector:t[yf],error:i}),i.code==="ERR_TLS_CERT_ALTNAME_INVALID")for(Wo(t[bf]===0);t[wf]>0&&t[Kn][t[Xn]].servername===t[Ya];){let a=t[Kn][t[Xn]++];ll.errorRequest(t,a,i)}else lV(t,i);t.emit("connectionError",t[Ti],[t],i)}t[If]()}o(uV,"connect");function oV(t){t[Wa]=0,t.emit("drain",t[Ti],[t])}o(oV,"emitDrain");function cQ(t,e){t[ul]!==2&&(t[ul]=2,Hfe(t,e),t[ul]=0,t[jo]>256&&(t[Kn].splice(0,t[jo]),t[Xn]-=t[jo],t[jo]=0))}o(cQ,"resume");function Hfe(t,e){for(;;){if(t.destroyed){Wo(t[wf]===0);return}if(t[$a]&&!t[Bf]){t[$a](),t[$a]=null;return}if(t[Rt]&&t[Rt].resume(),t[iQ])t[Wa]=2;else if(t[Wa]===2){e?(t[Wa]=1,queueMicrotask(()=>oV(t))):oV(t);continue}if(t[wf]===0||t[bf]>=(cV(t)||1))return;let r=t[Kn][t[Xn]];if(t[Ti].protocol==="https:"&&t[Ya]!==r.servername){if(t[bf]>0)return;t[Ya]=r.servername,t[Rt]?.destroy(new gfe("servername changed"),()=>{t[Rt]=null,cQ(t)})}if(t[fd])return;if(!t[Rt]){uV(t);return}if(t[Rt].destroyed||t[Rt].busy(r))return;!r.aborted&&t[Rt].write(r)?t[Xn]++:t[Kn].splice(t[Xn],1)}}o(Hfe,"_resume");dV.exports=aQ});var lQ=h((D5e,AV)=>{"use strict";var XE=class{static{o(this,"FixedCircularBuffer")}constructor(){this.bottom=0,this.top=0,this.list=new Array(2048),this.next=null}isEmpty(){return this.top===this.bottom}isFull(){return(this.top+1&2047)===this.bottom}push(e){this.list[this.top]=e,this.top=this.top+1&2047}shift(){let e=this.list[this.bottom];return e===void 0?null:(this.list[this.bottom]=void 0,this.bottom=this.bottom+1&2047,e)}};AV.exports=class{static{o(this,"FixedQueue")}constructor(){this.head=this.tail=new XE}isEmpty(){return this.head.isEmpty()}push(e){this.head.isFull()&&(this.head=this.head.next=new XE),this.head.push(e)}shift(){let e=this.tail,r=e.shift();return e.isEmpty()&&e.next!==null&&(this.tail=e.next),r}}});var fV=h((M5e,pV)=>{var{kFree:Vfe,kConnected:zfe,kPending:Jfe,kQueued:Yfe,kRunning:$fe,kSize:Wfe}=it(),dl=Symbol("pool"),uQ=class{static{o(this,"PoolStats")}constructor(e){this[dl]=e}get connected(){return this[dl][zfe]}get free(){return this[dl][Vfe]}get pending(){return this[dl][Jfe]}get queued(){return this[dl][Yfe]}get running(){return this[dl][$fe]}get size(){return this[dl][Wfe]}};pV.exports=uQ});var mQ=h((F5e,wV)=>{"use strict";var jfe=Zu(),Kfe=lQ(),{kConnected:dQ,kSize:hV,kRunning:mV,kPending:gV,kQueued:Sf,kBusy:Xfe,kFree:Zfe,kUrl:ehe,kClose:the,kDestroy:rhe,kDispatch:she}=it(),nhe=fV(),ts=Symbol("cl Line truncated
${s.count} ${s.noun} ${s.is} pending:
${e.format(r)}
`.trim())}};fte.exports=pL});var xS=A((oPt,yte)=>{"use strict";var Ate=Symbol.for("undici.globalDispatcher.1"),{InvalidArgumentError:rqe}=yt(),sqe=sm();gte()===void 0&&mte(new sqe);function mte(t){if(!t||typeof t.dispatch!="function")throw new rqe("Argument agent must implement Agent");Object.defineProperty(globalThis,Ate,{value:t,writable:!0,enumerable:!1,configurable:!1})}function gte(){return globalThis[Ate]}yte.exports={setGlobalDispatcher:mte,getGlobalDispatcher:gte}});var NS=A((cPt,Ete)=>{"use strict";Ete.exports=class{#e;constructor(e){if(typeof e!="object"||e===null)throw new TypeError("handler must be an object");this.#e=e}onConnect(...e){return this.#e.onConnect?.(...e)}onError(...e){return this.#e.onError?.(...e)}onUpgrade(...e){return this.#e.onUpgrade?.(...e)}onResponseStarted(...e){return this.#e.onResponseStarted?.(...e)}onHeaders(...e){return this.#e.onHeaders?.(...e)}onData(...e){return this.#e.onData?.(...e)}onComplete(...e){return this.#e.onComplete?.(...e)}onBodySent(...e){return this.#e.onBodySent?.(...e)}}});var Ite=A((lPt,Cte)=>{"use strict";var iqe=nS();Cte.exports=t=>{let e=t?.maxRedirections;return r=>function(i,n){let{maxRedirections:o=e,...a}=i;if(!o)return r(i,n);let c=new iqe(r,o,i,n);return r(a,c)}}});var wte=A((uPt,bte)=>{"use strict";var nqe=mS();bte.exports=t=>e=>function(s,i){return e(s,new nqe({...s,retryOptions:{...t,...s.retryOptions}},{handler:i,dispatch:e}))}});var Ste=A((hPt,Bte)=>{"use strict";var oqe=st(),{InvalidArgumentError:aqe,RequestAbortedError:cqe}=yt(),lqe=NS(),AL=class extends lqe{#e=1024*1024;#t=null;#s=!1;#r=!1;#i=0;#n=null;#u=null;constructor({maxSize:e},r){if(super(r),e!=null&&(!Number.isFinite(e)||e<1))throw new aqe("maxSize must be a number greater than 0");this.#e=e??this.#e,this.#u=r}onConnect(e){this.#t=e,this.#u.onConnect(this.#l.bind(this))}#l(e){this.#r=!0,this.#n=e}onHeaders(e,r,s,i){let o=oqe.parseHeaders(r)["content-length"];if(o!=null&&o>this.#e)throw new cqe(`Response size (${o}) larger than maxSize (${this.#e})`);return this.#r?!0:this.#u.onHeaders(e,r,s,i)}onError(e){this.#s||(e=this.#n??e,this.#u.onError(e))}onData(e){return this.#i=this.#i+e.length,this.#i>=this.#e&&(this.#s=!0,this.#r?this.#u.onError(this.#n):this.#u.onComplete([])),!0}onComplete(e){if(!this.#s){if(this.#r){this.#u.onError(this.reason);return}this.#u.onComplete(e)}}};function uqe({maxSize:t}={maxSize:1024*1024}){return e=>function(s,i){let{dumpMaxSize:n=t}=s,o=new AL({maxSize:n},i);return e(s,o)}}Bte.exports=uqe});var Rte=A((dPt,Nte)=>{"use strict";var{isIP:hqe}=require("node:net"),{lookup:dqe}=require("node:dns"),fqe=NS(),{InvalidArgumentError:fm,InformationalError:pqe}=yt(),xte=Math.pow(2,31)-1,mL=class{#e=0;#t=0;#s=new Map;dualStack=!0;affinity=null;lookup=null;pick=null;constructor(e){this.#e=e.maxTTL,this.#t=e.maxItems,this.dualStack=e.dualStack,this.affinity=e.affinity,this.lookup=e.lookup??this.#r,this.pick=e.pick??this.#i}get full(){return this.#s.size===this.#t}runLookup(e,r,s){let i=this.#s.get(e.hostname);if(i==null&&this.full){s(null,e.origin);return}let n={affinity:this.affinity,dualStack:this.dualStack,lookup:this.lookup,pick:this.pick,...r.dns,maxTTL:this.#e,maxItems:this.#t};if(i==null)this.lookup(e,n,(o,a)=>{if(o||a==null||a.length===0){s(o??new pqe("No DNS entries found"));return}this.setRecords(e,a);let c=this.#s.get(e.hostname),l=this.pick(e,c,n.affinity),u;typeof l.port=="number"?u=`:${l.port}`:e.port!==""?u=`:${e.port}`:u="",s(null,`${e.protocol}//${l.family===6?`[${l.address}]`:l.address}${u}`)});else{let o=this.pick(e,i,n.affinity);if(o==null){this.#s.delete(e.hostname),this.runLookup(e,r,s);return}let a;typeof o.port=="number"?a=`:${o.port}`:e.port!==""?a=`:${e.port}`:a="",s(null,`${e.protocol}//${o.family===6?`[${o.address}]`:o.address}${a}`)}}#r(e,r,s){dqe(e.hostname,{all:!0,family:this.dualStack===!1?this.affinity:0,order:"ipv4first"},(i,n)=>{if(i)return s(i);let o=new Map;for(let a of n)o.set(`${a.address}:${a.family}`,a);s(null,o.values())})}#i(e,r,s){let i=null,{records:n,offset:o}=r,a;if(this.dualStack?(s==null&&(o==null||o===xte?(r.offset=0,s=4):(r.offset++,s=(r.offset&1)===1?6:4)),n[s]!=null&&n[s].ips.length>0?a=n[s]:a=n[s===4?6:4]):a=n[s],a==null||a.ips.length===0)return i;a.offset==null||a.offset===xte?a.offset=0:a.offset++;let c=a.offset%a.ips.length;return i=a.ips[c]??null,i==null?i:Date.now()-i.timestamp>i.ttl?(a.ips.splice(c,1),this.pick(e,r,s)):i}setRecords(e,r){let s=Date.now(),i={records:{4:null,6:null}};for(let n of r){n.timestamp=s,typeof n.ttl=="number"?n.ttl=Math.min(n.ttl,this.#e):n.ttl=this.#e;let o=i.records[n.family]??{ips:[]};o.ips.push(n),i.records[n.family]=o}this.#s.set(e.hostname,i)}getHandler(e,r){return new gL(this,e,r)}},gL=class extends fqe{#e=null;#t=null;#s=null;#r=null;#i=null;constructor(e,{origin:r,handler:s,dispatch:i},n){super(s),this.#i=r,this.#r=s,this.#t={...n},this.#e=e,this.#s=i}onError(e){switch(e.code){case"ETIMEDOUT":case"ECONNREFUSED":{if(this.#e.dualStack){this.#e.runLookup(this.#i,this.#t,( Line truncated
${n}`;break;case"retry":aie(n)&&(r[i]=n);break;case"id":cie(n)&&(r[i]=n);break;case"event":n.length>0&&(r[i]=n);break}}processEvent(e){e.retry&&aie(e.retry)&&(this.state.reconnectionTime=parseInt(e.retry,10)),e.id&&cie(e.id)&&(this.state.lastEventId=e.id),e.data!==void 0&&this.push({type:e.event||"message",options:{data:e.data,lastEventId:this.state.lastEventId,origin:this.state.origin}})}clearEvent(){this.event={data:void 0,event:void 0,id:void 0,retry:void 0}}};lie.exports={EventSourceStream:s2}});var yie=A((HPt,gie)=>{"use strict";var{pipeline:w8e}=require("node:stream"),{fetching:B8e}=xC(),{makeRequest:S8e}=mm(),{webidl:tu}=Ms(),{EventSourceStream:x8e}=uie(),{parseMIMEType:N8e}=Ki(),{createFastMessageEvent:R8e}=bm(),{isNetworkError:hie}=BC(),{delay:v8e}=t2(),{kEnumerableProperty:Tf}=st(),{environmentSettingsObject:die}=_n(),fie=!1,pie=3e3,UC=0,Aie=1,FC=2,T8e="anonymous",_8e="use-credentials",Nm=class t extends EventTarget{#e={open:null,error:null,message:null};#t=null;#s=!1;#r=UC;#i=null;#n=null;#u;#l;constructor(e,r={}){super(),tu.util.markAsUncloneable(this);let s="EventSource constructor";tu.argumentLengthCheck(arguments,1,s),fie||(fie=!0,process.emitWarning("EventSource is experimental, expect them to change at any time.",{code:"UNDICI-ES"})),e=tu.converters.USVString(e,s,"url"),r=tu.converters.EventSourceInitDict(r,s,"eventSourceInitDict"),this.#u=r.dispatcher,this.#l={lastEventId:"",reconnectionTime:pie};let i=die,n;try{n=new URL(e,i.settingsObject.baseUrl),this.#l.origin=n.origin}catch(c){throw new DOMException(c,"SyntaxError")}this.#t=n.href;let o=T8e;r.withCredentials&&(o=_8e,this.#s=!0);let a={redirect:"follow",keepalive:!0,mode:"cors",credentials:o==="anonymous"?"same-origin":"omit",referrer:"no-referrer"};a.client=die.settingsObject,a.headersList=[["accept",{name:"accept",value:"text/event-stream"}]],a.cache="no-store",a.initiator="other",a.urlList=[new URL(this.#t)],this.#i=S8e(a),this.#a()}get readyState(){return this.#r}get url(){return this.#t}get withCredentials(){return this.#s}#a(){if(this.#r===FC)return;this.#r=UC;let e={request:this.#i,dispatcher:this.#u},r=s=>{hie(s)&&(this.dispatchEvent(new Event("error")),this.close()),this.#f()};e.processResponseEndOfBody=r,e.processResponse=s=>{if(hie(s))if(s.aborted){this.close(),this.dispatchEvent(new Event("error"));return}else{this.#f();return}let i=s.headersList.get("content-type",!0),n=i!==null?N8e(i):"failure",o=n!=="failure"&&n.essence==="text/event-stream";if(s.status!==200||o===!1){this.close(),this.dispatchEvent(new Event("error"));return}this.#r=Aie,this.dispatchEvent(new Event("open")),this.#l.origin=s.urlList[s.urlList.length-1].origin;let a=new x8e({eventSourceSettings:this.#l,push:c=>{this.dispatchEvent(R8e(c.type,c.options))}});w8e(s.body.stream,a,c=>{c?.aborted===!1&&(this.close(),this.dispatchEvent(new Event("error")))})},this.#n=B8e(e)}async#f(){this.#r!==FC&&(this.#r=UC,this.dispatchEvent(new Event("error")),await v8e(this.#l.reconnectionTime),this.#r===UC&&(this.#l.lastEventId.length&&this.#i.headersList.set("last-event-id",this.#l.lastEventId,!0),this.#a()))}close(){tu.brandCheck(this,t),this.#r!==FC&&(this.#r=FC,this.#n.abort(),this.#i=null)}get onopen(){return this.#e.open}set onopen(e){this.#e.open&&this.removeEventListener("open",this.#e.open),typeof e=="function"?(this.#e.open=e,this.addEventListener("open",e)):this.#e.open=null}get onmessage(){return this.#e.message}set onmessage(e){this.#e.message&&this.removeEventListener("message",this.#e.message),typeof e=="function"?(this.#e.message=e,this.addEventListener("message",e)):this.#e.message=null}get onerror(){return this.#e.error}set onerror(e){this.#e.error&&this.removeEventListener("error",this.#e.error),typeof e=="function"?(this.#e.error=e,this.addEventListener("error",e)):this.#e.error=null}},mie={CONNECTING:{__proto__:null,configurable:!1,enumerable:!0,value:UC,writable:!1},OPEN:{__proto__:null,configurable:!1,enumerable:!0,value:Aie,writable:!1},CLOSED:{__proto__:null,configurable:!1,enumerable:!0,value:FC,writable:!1}};Object.defineProperties(Nm,mie);Object.defineProperties(Nm.prototype,mie);Object.defineProperties(Nm.prototype,{close:Tf,onerror:Tf,onmessage:Tf,onopen:Tf,readyState:Tf,url:Tf,withCredentials:Tf});tu.converters.EventSourceInitDict=tu.dictionaryConverter([{key:"withCredentials",converter:tu.converters.boolean,defaultValue:()=>!1},{key:"dispatcher",converter:tu.converters.any}]);gie.exports={EventSource:Nm,defaultReconnectionTime:pie}});var Fh=A((zPt,De)=>{"use strict";var Q8e=tm(),Eie=zE(),P8e=rm(),O8e=m7(),D8e=sm(),k8e=NM(),M8e=F7(),L8e=$7(),Cie=yt(),px=st(),{InvalidArgumentError:fx}=Cie,Rm=Qee(),U8e=$E(),F8e=cL(),q8e=pte(),G8e=hL(),H8e=YM(),z8e=mS(),{getGlobalDispatcher:Iie,setGlobalDispatcher:V8e}=xS(),$8e=NS(),j8e=nS(),J8e=oS();Object.assign(Eie.prototype,Rm);De.exports.Dispatcher=Eie;De.exports.Client=Q8e;De.exports.Pool=P8e;De.exports.BalancedPool=O8e;De.exports.Agent=D8e;De.exports.ProxyAgent=k8e;De.exports.EnvHttpProxyAgent=M8e;De.expo Line truncated
%s`,N,N,C,s);var P=C.type==="*"?lU:C.type==="?"?cU:"\\"+C.type;i=!0,s=s.slice(0,C.reStart)+P+"\\("+N}p(),n&&(s+="\\\\");var Q=!1;switch(s.charAt(0)){case"[":case".":case"(":Q=!0}for(var k=a.length-1;k>-1;k--){var G=a[k],X=s.slice(0,G.reStart),L=s.slice(G.reStart,G.reEnd-8),U=s.slice(G.reEnd-8,G.reEnd),q=s.slice(G.reEnd);U+=q;var V=X.split("(").length-1,re=q;for(m=0;m<V;m++)re=re.replace(/\)[+*?]?/,"");q=re;var _e="";q===""&&e!==Gx&&(_e="$");var we=X+L+q+_e+U;s=we}if(s!==""&&i&&(s="(?=.)"+s),Q&&(s=d+s),e===Gx)return[s,i];if(!i)return C$e(t);var le=r.nocase?"i":"";try{var ct=new RegExp("^"+s+"$",le)}catch{return new RegExp("$.")}return ct._glob=t,ct._src=s,ct}Gn.makeRe=function(t,e){return new Jr(t,e||{}).makeRe()};Jr.prototype.makeRe=E$e;function E$e(){if(this.regexp||this.regexp===!1)return this.regexp;var t=this.set;if(!t.length)return this.regexp=!1,this.regexp;var e=this.options,r=e.noglobstar?lU:e.dot?h$e:d$e,s=e.nocase?"i":"",i=t.map(function(n){return n.map(function(o){return o===Mf?r:typeof o=="string"?I$e(o):o._src}).join("\\/")}).join("|");i="^(?:"+i+")$",this.negate&&(i="^(?!"+i+").*$");try{this.regexp=new RegExp(i,s)}catch{this.regexp=!1}return this.regexp}Gn.match=function(t,e,r){r=r||{};var s=new Jr(e,r);return t=t.filter(function(i){return s.match(i)}),s.options.nonull&&!t.length&&t.push(e),t};Jr.prototype.match=function(e,r){if(typeof r>"u"&&(r=this.partial),this.debug("match",e,this.pattern),this.comment)return!1;if(this.empty)return e==="";if(e==="/"&&r)return!0;var s=this.options;dI.sep!=="/"&&(e=e.split(dI.sep).join("/")),e=e.split(Tae),this.debug(this.pattern,"split",e);var i=this.set;this.debug(this.pattern,"set",i);var n,o;for(o=e.length-1;o>=0&&(n=e[o],!n);o--);for(o=0;o<i.length;o++){var a=i[o],c=e;s.matchBase&&a.length===1&&(c=[n]);var l=this.matchOne(c,a,r);if(l)return s.flipNegate?!0:!this.negate}return s.flipNegate?!1:this.negate};Jr.prototype.matchOne=function(t,e,r){return e.indexOf(Mf)!==-1?this._matchGlobstar(t,e,r,0,0):this._matchOne(t,e,r,0,0)};Jr.prototype._matchGlobstar=function(t,e,r,s,i){var n,o=-1;for(n=i;n<e.length;n++)if(e[n]===Mf){o=n;break}var a=-1;for(n=e.length-1;n>=0;n--)if(e[n]===Mf){a=n;break}var c=e.slice(i,o),l=r?e.slice(o+1):e.slice(o+1,a),u=r?[]:e.slice(a+1);if(c.length){var h=t.slice(s,s+c.length);if(!this._matchOne(h,c,r,0,0))return!1;s+=c.length}var d=0;if(u.length){if(u.length+s>t.length)return!1;var f=t.length-u.length;if(this._matchOne(t,u,r,f,0))d=u.length;else{if(t[t.length-1]!==""||s+u.length===t.length||(f--,!this._matchOne(t,u,r,f,0)))return!1;d=u.length+1}}if(!l.length){var p=!!d;for(n=s;n<t.length-d;n++){var m=String(t[n]);if(p=!0,m==="."||m===".."||!this.options.dot&&m.charAt(0)===".")return!1}return r||p}for(var E=[[[],0]],y=E[0],C=0,w=[0],S=0;S<l.length;S++){var N=l[S];N===Mf?(w.push(C),y=[[],0],E.push(y)):(y[0].push(N),C++)}for(var P=E.length-1,Q=t.length-d,k=0;k<E.length;k++)E[k][1]=Q-(w[P--]+E[k][0].length);return!!this._matchGlobStarBodySections(t,E,s,0,r,0,!!d)};Jr.prototype._matchGlobStarBodySections=function(t,e,r,s,i,n,o){var a=e[s];if(!a){for(var c=r;c<t.length;c++){o=!0;var l=t[c];if(l==="."||l===".."||!this.options.dot&&l.charAt(0)===".")return!1}return o}for(var u=a[0],h=a[1];r<=h;){var d=this._matchOne(t.slice(0,r+u.length),u,i,r,0);if(d&&n<this.maxGlobstarRecursion){var f=this._matchGlobStarBodySections(t,e,r+u.length,s+1,i,n+1,o);if(f!==!1)return f}var l=t[r];if(l==="."||l===".."||!this.options.dot&&l.charAt(0)===".")return!1;r++}return i||null};Jr.prototype._matchOne=function(t,e,r,s,i){var n,o,a,c;for(n=s,o=i,a=t.length,c=e.length;n<a&&o<c;n++,o++){this.debug("matchOne loop");var l=e[o],u=t[n];if(this.debug(e,l,u),l===!1||l===Mf)return!1;var h;if(typeof l=="string"?(h=u===l,this.debug("string match",l,u,h)):(h=u.match(l),this.debug("pattern match",l,u,h)),!h)return!1}if(n===a&&o===c)return!0;if(n===a)return r;if(o===c)return n===a-1&&t[n]==="";throw new Error("wtf?")};function C$e(t){return t.replace(/\\(.)/g,"$1")}function I$e(t){return t.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&")}});var AI=A((tMt,Mae)=>{"use strict";var v$e="2.0.0",T$e=Number.MAX_SAFE_INTEGER||9007199254740991,_$e=16,Q$e=250,P$e=["major","premajor","minor","preminor","patch","prepatch","prerelease"];Mae.exports={MAX_LENGTH:256,MAX_SAFE_COMPONENT_LENGTH:_$e,MAX_SAFE_BUILD_LENGTH:Q$e,MAX_SAFE_INTEGER:T$e,RELEASE_TYPES:P$e,SEMVER_SPEC_VERSION:v$e,FLAG_INCLUDE_PRERELEASE:1,FLAG_LOOSE:2}});var mI=A((rMt,Lae)=>{"use strict";var O$e=typeof process=="object"&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?(...t)=>console.error("SEMVER",...t):()=>{};Lae.exports=O$e});var qm=A((Ec,Uae)=>{"use strict";var{MAX_SAFE_COMPONENT_LENGTH:hU,MAX_SAFE_BUILD_LENGTH:D$e,MAX_LENGTH:k$e}=AI(),M$e=mI();Ec=Uae.exports={};var L$e=Ec.re=[],U$e=Ec.safeRe=[],fe=Ec.src=[],F$e=Ec.safeSrc=[],pe=Ec.t={},q$e=0,dU="[a-zA-Z0-9-]",G$e=[["\\s",1],["\\d",k$e],[dU,D$e]],H$e=t=>{for(let[e,r]of G$e)t=t.split(`${e}*`).join(`${e}{0,${r}}`).split(`${e}+`).join(`${Line truncated
`.trim())}};TJ.exports=mR});var my=h((M8e,DJ)=>{"use strict";var PJ=Symbol.for("undici.globalDispatcher.1"),{InvalidArgumentError:Tge}=Qe(),vge=gd();kJ()===void 0&&_J(new vge);function _J(t){if(!t||typeof t.dispatch!="function")throw new Tge("Argument agent must implement Agent");Object.defineProperty(globalThis,PJ,{value:t,writable:!0,enumerable:!1,configurable:!1})}o(_J,"setGlobalDispatcher");function kJ(){return globalThis[PJ]}o(kJ,"getGlobalDispatcher");DJ.exports={setGlobalDispatcher:_J,getGlobalDispatcher:kJ}});var gy=h((U8e,OJ)=>{"use strict";OJ.exports=class{static{o(this,"DecoratorHandler")}#e;constructor(e){if(typeof e!="object"||e===null)throw new TypeError("handler must be an object");this.#e=e}onConnect(...e){return this.#e.onConnect?.(...e)}onError(...e){return this.#e.onError?.(...e)}onUpgrade(...e){return this.#e.onUpgrade?.(...e)}onResponseStarted(...e){return this.#e.onResponseStarted?.(...e)}onHeaders(...e){return this.#e.onHeaders?.(...e)}onData(...e){return this.#e.onData?.(...e)}onComplete(...e){return this.#e.onComplete?.(...e)}onBodySent(...e){return this.#e.onBodySent?.(...e)}}});var LJ=h((G8e,MJ)=>{"use strict";var Pge=WE();MJ.exports=t=>{let e=t?.maxRedirections;return r=>o(function(n,i){let{maxRedirections:a=e,...c}=n;if(!a)return r(n,i);let l=new Pge(r,a,n,i);return r(c,l)},"redirectInterceptor")}});var UJ=h((V8e,FJ)=>{"use strict";var _ge=oy();FJ.exports=t=>e=>o(function(s,n){return e(s,new _ge({...s,retryOptions:{...t,...s.retryOptions}},{handler:n,dispatch:e}))},"retryInterceptor")});var GJ=h((J8e,qJ)=>{"use strict";var kge=Ce(),{InvalidArgumentError:Dge,RequestAbortedError:Oge}=Qe(),Mge=gy(),gR=class extends Mge{static{o(this,"DumpHandler")}#e=1024*1024;#t=null;#s=!1;#r=!1;#n=0;#i=null;#a=null;constructor({maxSize:e},r){if(super(r),e!=null&&(!Number.isFinite(e)||e<1))throw new Dge("maxSize must be a number greater than 0");this.#e=e??this.#e,this.#a=r}onConnect(e){this.#t=e,this.#a.onConnect(this.#o.bind(this))}#o(e){this.#r=!0,this.#i=e}onHeaders(e,r,s,n){let a=kge.parseHeaders(r)["content-length"];if(a!=null&&a>this.#e)throw new Oge(`Response size (${a}) larger than maxSize (${this.#e})`);return this.#r?!0:this.#a.onHeaders(e,r,s,n)}onError(e){this.#s||(e=this.#i??e,this.#a.onError(e))}onData(e){return this.#n=this.#n+e.length,this.#n>=this.#e&&(this.#s=!0,this.#r?this.#a.onError(this.#i):this.#a.onComplete([])),!0}onComplete(e){if(!this.#s){if(this.#r){this.#a.onError(this.reason);return}this.#a.onComplete(e)}}};function Lge({maxSize:t}={maxSize:1024*1024}){return e=>o(function(s,n){let{dumpMaxSize:i=t}=s,a=new gR({maxSize:i},n);return e(s,a)},"Intercept")}o(Lge,"createDumpInterceptor");qJ.exports=Lge});var zJ=h(($8e,VJ)=>{"use strict";var{isIP:Fge}=require("node:net"),{lookup:Uge}=require("node:dns"),qge=gy(),{InvalidArgumentError:xd,InformationalError:Gge}=Qe(),HJ=Math.pow(2,31)-1,ER=class{static{o(this,"DNSInstance")}#e=0;#t=0;#s=new Map;dualStack=!0;affinity=null;lookup=null;pick=null;constructor(e){this.#e=e.maxTTL,this.#t=e.maxItems,this.dualStack=e.dualStack,this.affinity=e.affinity,this.lookup=e.lookup??this.#r,this.pick=e.pick??this.#n}get full(){return this.#s.size===this.#t}runLookup(e,r,s){let n=this.#s.get(e.hostname);if(n==null&&this.full){s(null,e.origin);return}let i={affinity:this.affinity,dualStack:this.dualStack,lookup:this.lookup,pick:this.pick,...r.dns,maxTTL:this.#e,maxItems:this.#t};if(n==null)this.lookup(e,i,(a,c)=>{if(a||c==null||c.length===0){s(a??new Gge("No DNS entries found"));return}this.setRecords(e,c);let l=this.#s.get(e.hostname),u=this.pick(e,l,i.affinity),d;typeof u.port=="number"?d=`:${u.port}`:e.port!==""?d=`:${e.port}`:d="",s(null,`${e.protocol}//${u.family===6?`[${u.address}]`:u.address}${d}`)});else{let a=this.pick(e,n,i.affinity);if(a==null){this.#s.delete(e.hostname),this.runLookup(e,r,s);return}let c;typeof a.port=="number"?c=`:${a.port}`:e.port!==""?c=`:${e.port}`:c="",s(null,`${e.protocol}//${a.family===6?`[${a.address}]`:a.address}${c}`)}}#r(e,r,s){Uge(e.hostname,{all:!0,family:this.dualStack===!1?this.affinity:0,order:"ipv4first"},(n,i)=>{if(n)return s(n);let a=new Map;for(let c of i)a.set(`${c.address}:${c.family}`,c);s(null,a.values())})}#n(e,r,s){let n=null,{records:i,offset:a}=r,c;if(this.dualStack?(s==null&&(a==null||a===HJ?(r.offset=0,s=4):(r.offset++,s=(r.offset&1)===1?6:4)),i[s]!=null&&i[s].ips.length>0?c=i[s]:c=i[s===4?6:4]):c=i[s],c==null||c.ips.length===0)return n;c.offset==null||c.offset===HJ?c.offset=0:c.offset++;let l=c.offset%c.ips.length;return n=c.ips[l]??null,n==null?n:Date.now()-n.timestamp>n.ttl?(c.ips.splice(l,1),this.pick(e,r,s)):n}setRecords(e,r){let s=Date.now(),n={records:{4:null,6:null}};for(let i of r){i.timestamp=s,typeof i.ttl=="number"?i.ttl=Math.min(i.ttl,this.#e):i.ttl=this.#e;let a=n.records[i.family]??{ips:[]};a.ips.push(i),n.records[i.family]=a}this.#s.set(e.hostname,n)}getHandler(e,r){return new yR(this,e,r)}},yR=class extends qge{static{o(this,"DNSDispatchHandler")}#e=null;#t=null;#s=null Line truncated
${i}`;break;case"retry":w3(i)&&(r[n]=i);break;case"id":S3(i)&&(r[n]=i);break;case"event":i.length>0&&(r[n]=i);break}}processEvent(e){e.retry&&w3(e.retry)&&(this.state.reconnectionTime=parseInt(e.retry,10)),e.id&&S3(e.id)&&(this.state.lastEventId=e.id),e.data!==void 0&&this.push({type:e.event||"message",options:{data:e.data,lastEventId:this.state.lastEventId,origin:this.state.origin}})}clearEvent(){this.event={data:void 0,event:void 0,id:void 0,retry:void 0}}};N3.exports={EventSourceStream:oT}});var D3=h((K6e,k3)=>{"use strict";var{pipeline:jIe}=require("node:stream"),{fetching:KIe}=Ff(),{makeRequest:XIe}=Td(),{webidl:ta}=pr(),{EventSourceStream:ZIe}=x3(),{parseMIMEType:eBe}=Zr(),{createFastMessageEvent:tBe}=Od(),{isNetworkError:Q3}=Mf(),{delay:rBe}=nT(),{kEnumerableProperty:Nl}=Ce(),{environmentSettingsObject:R3}=Ns(),T3=!1,v3=3e3,Zf=0,P3=1,eh=2,sBe="anonymous",nBe="use-credentials",qd=class t extends EventTarget{static{o(this,"EventSource")}#e={open:null,error:null,message:null};#t=null;#s=!1;#r=Zf;#n=null;#i=null;#a;#o;constructor(e,r={}){super(),ta.util.markAsUncloneable(this);let s="EventSource constructor";ta.argumentLengthCheck(arguments,1,s),T3||(T3=!0,process.emitWarning("EventSource is experimental, expect them to change at any time.",{code:"UNDICI-ES"})),e=ta.converters.USVString(e,s,"url"),r=ta.converters.EventSourceInitDict(r,s,"eventSourceInitDict"),this.#a=r.dispatcher,this.#o={lastEventId:"",reconnectionTime:v3};let n=R3,i;try{i=new URL(e,n.settingsObject.baseUrl),this.#o.origin=i.origin}catch(l){throw new DOMException(l,"SyntaxError")}this.#t=i.href;let a=sBe;r.withCredentials&&(a=nBe,this.#s=!0);let c={redirect:"follow",keepalive:!0,mode:"cors",credentials:a==="anonymous"?"same-origin":"omit",referrer:"no-referrer"};c.client=R3.settingsObject,c.headersList=[["accept",{name:"accept",value:"text/event-stream"}]],c.cache="no-store",c.initiator="other",c.urlList=[new URL(this.#t)],this.#n=XIe(c),this.#l()}get readyState(){return this.#r}get url(){return this.#t}get withCredentials(){return this.#s}#l(){if(this.#r===eh)return;this.#r=Zf;let e={request:this.#n,dispatcher:this.#a},r=o(s=>{Q3(s)&&(this.dispatchEvent(new Event("error")),this.close()),this.#c()},"processEventSourceEndOfBody");e.processResponseEndOfBody=r,e.processResponse=s=>{if(Q3(s))if(s.aborted){this.close(),this.dispatchEvent(new Event("error"));return}else{this.#c();return}let n=s.headersList.get("content-type",!0),i=n!==null?eBe(n):"failure",a=i!=="failure"&&i.essence==="text/event-stream";if(s.status!==200||a===!1){this.close(),this.dispatchEvent(new Event("error"));return}this.#r=P3,this.dispatchEvent(new Event("open")),this.#o.origin=s.urlList[s.urlList.length-1].origin;let c=new ZIe({eventSourceSettings:this.#o,push:o(l=>{this.dispatchEvent(tBe(l.type,l.options))},"push")});jIe(s.body.stream,c,l=>{l?.aborted===!1&&(this.close(),this.dispatchEvent(new Event("error")))})},this.#i=KIe(e)}async#c(){this.#r!==eh&&(this.#r=Zf,this.dispatchEvent(new Event("error")),await rBe(this.#o.reconnectionTime),this.#r===Zf&&(this.#o.lastEventId.length&&this.#n.headersList.set("last-event-id",this.#o.lastEventId,!0),this.#l()))}close(){ta.brandCheck(this,t),this.#r!==eh&&(this.#r=eh,this.#i.abort(),this.#n=null)}get onopen(){return this.#e.open}set onopen(e){this.#e.open&&this.removeEventListener("open",this.#e.open),typeof e=="function"?(this.#e.open=e,this.addEventListener("open",e)):this.#e.open=null}get onmessage(){return this.#e.message}set onmessage(e){this.#e.message&&this.removeEventListener("message",this.#e.message),typeof e=="function"?(this.#e.message=e,this.addEventListener("message",e)):this.#e.message=null}get onerror(){return this.#e.error}set onerror(e){this.#e.error&&this.removeEventListener("error",this.#e.error),typeof e=="function"?(this.#e.error=e,this.addEventListener("error",e)):this.#e.error=null}},_3={CONNECTING:{__proto__:null,configurable:!1,enumerable:!0,value:Zf,writable:!1},OPEN:{__proto__:null,configurable:!1,enumerable:!0,value:P3,writable:!1},CLOSED:{__proto__:null,configurable:!1,enumerable:!0,value:eh,writable:!1}};Object.defineProperties(qd,_3);Object.defineProperties(qd.prototype,_3);Object.defineProperties(qd.prototype,{close:Nl,onerror:Nl,onmessage:Nl,onopen:Nl,readyState:Nl,url:Nl,withCredentials:Nl});ta.converters.EventSourceInitDict=ta.dictionaryConverter([{key:"withCredentials",converter:ta.converters.boolean,defaultValue:o(()=>!1,"defaultValue")},{key:"dispatcher",converter:ta.converters.any}]);k3.exports={EventSource:qd,defaultReconnectionTime:v3}});var Hd=h((Z6e,te)=>{"use strict";var iBe=hd(),O3=rf(),oBe=md(),aBe=_V(),cBe=gd(),lBe=RQ(),uBe=sz(),dBe=lz(),M3=Qe(),nC=Ce(),{InvalidArgumentError:sC}=M3,Gd=Wz(),ABe=nf(),pBe=uR(),fBe=vJ(),hBe=pR(),mBe=KQ(),gBe=oy(),{getGlobalDispatcher:L3,setGlobalDispatcher:EBe}=my(),yBe=gy(),CBe=WE(),IBe=jE();Object.assign(O3.prototype,Gd);te.exports.Dispatcher=O3;te.exports.Client=iBe;te.exports.Pool=oBe;te.exports.BalancedPool=aBe;te.exports.Agent=cBe;te.exports. Line truncated
%s`,N,N,C,s);var Q=C.type==="*"?lv:C.type==="?"?cv:"\\"+C.type;n=!0,s=s.slice(0,C.reStart)+Q+"\\("+N}m(),i&&(s+="\\\\");var D=!1;switch(s.charAt(0)){case"[":case".":case"(":D=!0}for(var ae=c.length-1;ae>-1;ae--){var Te=c[ae],De=s.slice(0,Te.reStart),qe=s.slice(Te.reStart,Te.reEnd-8),ye=s.slice(Te.reEnd-8,Te.reEnd),Ye=s.slice(Te.reEnd);ye+=Ye;var ue=De.split("(").length-1,vr=Ye;for(g=0;g<ue;g++)vr=vr.replace(/\)[+*?]?/,"");Ye=vr;var J="";Ye===""&&e!==RC&&(J="$");var Oe=De+qe+Ye+J+ye;s=Oe}if(s!==""&&n&&(s="(?=.)"+s),D&&(s=p+s),e===RC)return[s,n];if(!n)return qSe(t);var Bi=r.nocase?"i":"";try{var Fa=new RegExp("^"+s+"$",Bi)}catch{return new RegExp("$.")}return Fa._glob=t,Fa._src=s,Fa}o(FSe,"parse");Fs.makeRe=function(t,e){return new Gt(t,e||{}).makeRe()};Gt.prototype.makeRe=USe;function USe(){if(this.regexp||this.regexp===!1)return this.regexp;var t=this.set;if(!t.length)return this.regexp=!1,this.regexp;var e=this.options,r=e.noglobstar?lv:e.dot?PSe:_Se,s=e.nocase?"i":"",n=t.map(function(i){return i.map(function(a){return a===Pl?r:typeof a=="string"?GSe(a):a._src}).join("\\/")}).join("|");n="^(?:"+n+")$",this.negate&&(n="^(?!"+n+").*$");try{this.regexp=new RegExp(n,s)}catch{this.regexp=!1}return this.regexp}o(USe,"makeRe");Fs.match=function(t,e,r){r=r||{};var s=new Gt(e,r);return t=t.filter(function(n){return s.match(n)}),s.options.nonull&&!t.length&&t.push(e),t};Gt.prototype.match=o(function(e,r){if(typeof r>"u"&&(r=this.partial),this.debug("match",e,this.pattern),this.comment)return!1;if(this.empty)return e==="";if(e==="/"&&r)return!0;var s=this.options;bh.sep!=="/"&&(e=e.split(bh.sep).join("/")),e=e.split(H4),this.debug(this.pattern,"split",e);var n=this.set;this.debug(this.pattern,"set",n);var i,a;for(a=e.length-1;a>=0&&(i=e[a],!i);a--);for(a=0;a<n.length;a++){var c=n[a],l=e;s.matchBase&&c.length===1&&(l=[i]);var u=this.matchOne(l,c,r);if(u)return s.flipNegate?!0:!this.negate}return s.flipNegate?!1:this.negate},"match");Gt.prototype.matchOne=function(t,e,r){return e.indexOf(Pl)!==-1?this._matchGlobstar(t,e,r,0,0):this._matchOne(t,e,r,0,0)};Gt.prototype._matchGlobstar=function(t,e,r,s,n){var i,a=-1;for(i=n;i<e.length;i++)if(e[i]===Pl){a=i;break}var c=-1;for(i=e.length-1;i>=0;i--)if(e[i]===Pl){c=i;break}var l=e.slice(n,a),u=r?e.slice(a+1):e.slice(a+1,c),d=r?[]:e.slice(c+1);if(l.length){var A=t.slice(s,s+l.length);if(!this._matchOne(A,l,r,0,0))return!1;s+=l.length}var p=0;if(d.length){if(d.length+s>t.length)return!1;var f=t.length-d.length;if(this._matchOne(t,d,r,f,0))p=d.length;else{if(t[t.length-1]!==""||s+d.length===t.length||(f--,!this._matchOne(t,d,r,f,0)))return!1;p=d.length+1}}if(!u.length){var m=!!p;for(i=s;i<t.length-p;i++){var g=String(t[i]);if(m=!0,g==="."||g===".."||!this.options.dot&&g.charAt(0)===".")return!1}return r||m}for(var y=[[[],0]],E=y[0],C=0,I=[0],b=0;b<u.length;b++){var N=u[b];N===Pl?(I.push(C),E=[[],0],y.push(E)):(E[0].push(N),C++)}for(var Q=y.length-1,D=t.length-p,ae=0;ae<y.length;ae++)y[ae][1]=D-(I[Q--]+y[ae][0].length);return!!this._matchGlobStarBodySections(t,y,s,0,r,0,!!p)};Gt.prototype._matchGlobStarBodySections=function(t,e,r,s,n,i,a){var c=e[s];if(!c){for(var l=r;l<t.length;l++){a=!0;var u=t[l];if(u==="."||u===".."||!this.options.dot&&u.charAt(0)===".")return!1}return a}for(var d=c[0],A=c[1];r<=A;){var p=this._matchOne(t.slice(0,r+d.length),d,n,r,0);if(p&&i<this.maxGlobstarRecursion){var f=this._matchGlobStarBodySections(t,e,r+d.length,s+1,n,i+1,a);if(f!==!1)return f}var u=t[r];if(u==="."||u===".."||!this.options.dot&&u.charAt(0)===".")return!1;r++}return n||null};Gt.prototype._matchOne=function(t,e,r,s,n){var i,a,c,l;for(i=s,a=n,c=t.length,l=e.length;i<c&&a<l;i++,a++){this.debug("matchOne loop");var u=e[a],d=t[i];if(this.debug(e,u,d),u===!1||u===Pl)return!1;var A;if(typeof u=="string"?(A=d===u,this.debug("string match",u,d,A)):(A=d.match(u),this.debug("pattern match",u,d,A)),!A)return!1}if(i===c&&a===l)return!0;if(i===c)return r;if(a===l)return i===c-1&&t[i]==="";throw new Error("wtf?")};function qSe(t){return t.replace(/\\(.)/g,"$1")}o(qSe,"globUnescape");function GSe(t){return t.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&")}o(GSe,"regExpEscape")});var Nh=h((T7e,j4)=>{"use strict";var jSe="2.0.0",KSe=Number.MAX_SAFE_INTEGER||9007199254740991,XSe=16,ZSe=250,eNe=["major","premajor","minor","preminor","patch","prepatch","prerelease"];j4.exports={MAX_LENGTH:256,MAX_SAFE_COMPONENT_LENGTH:XSe,MAX_SAFE_BUILD_LENGTH:ZSe,MAX_SAFE_INTEGER:KSe,RELEASE_TYPES:eNe,SEMVER_SPEC_VERSION:jSe,FLAG_INCLUDE_PRERELEASE:1,FLAG_LOOSE:2}});var xh=h((v7e,K4)=>{"use strict";var tNe=typeof process=="object"&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?(...t)=>console.error("SEMVER",...t):()=>{};K4.exports=tNe});var Zd=h((Fi,X4)=>{"use strict";var{MAX_SAFE_COMPONENT_LENGTH:dv,MAX_SAFE_BUILD_LENGTH:rNe,MAX_LENGTH:sNe}=Nh(),nNe=xh();Fi=X4.exports={};var iNe=Fi.re=[],oNe=Fi.safeRe=[],L=Fi.src=[],aNe=Fi.safeSrc=[],F=Fi.t={},cNe=0,Av="[a-zA-Z0-9-]",lNe=[["\\s",1],["\\d", Line truncated
`).join(`
`+n),t.push(i+"m+"+_N.exports.humanize(this.diff)+"\x1B[0m")}else t[0]=bYe()+e+" "+t[0]}function bYe(){return Us.inspectOpts.hideDate?"":new Date().toISOString()+" "}function wYe(...t){return process.stderr.write(TN.format(...t)+`
`)}function BYe(t){t?process.env.DEBUG=t:delete process.env.DEBUG}function SYe(){return process.env.DEBUG}function xYe(t){t.inspectOpts={};let e=Object.keys(Us.inspectOpts);for(let r=0;r<e.length;r++)t.inspectOpts[e[r]]=Us.inspectOpts[e[r]]}_N.exports=eF()(Us);var{formatters:Cue}=_N.exports;Cue.o=function(t){return this.inspectOpts.colors=this.useColors,TN.inspect(t,this.inspectOpts).split(`
`).map(e=>e.trim()).join(" ")};Cue.O=function(t){return this.inspectOpts.colors=this.useColors,TN.inspect(t,this.inspectOpts)}});var Jf=A((C2t,iF)=>{typeof process>"u"||process.type==="renderer"||process.browser===!0||process.__nwjs?iF.exports=Aue():iF.exports=Iue()});var Bue=A(nn=>{"use strict";var NYe=nn&&nn.__createBinding||(Object.create?(function(t,e,r,s){s===void 0&&(s=r);var i=Object.getOwnPropertyDescriptor(e,r);(!i||("get"in i?!e.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return e[r]}}),Object.defineProperty(t,s,i)}):(function(t,e,r,s){s===void 0&&(s=r),t[s]=e[r]})),RYe=nn&&nn.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),bue=nn&&nn.__importStar||function(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var r in t)r!=="default"&&Object.prototype.hasOwnProperty.call(t,r)&&NYe(e,t,r);return RYe(e,t),e};Object.defineProperty(nn,"__esModule",{value:!0});nn.req=nn.json=nn.toBuffer=void 0;var vYe=bue(require("http")),TYe=bue(require("https"));async function wue(t){let e=0,r=[];for await(let s of t)e+=s.length,r.push(s);return Buffer.concat(r,e)}nn.toBuffer=wue;async function _Ye(t){let r=(await wue(t)).toString("utf8");try{return JSON.parse(r)}catch(s){let i=s;throw i.message+=` (input: ${r})`,i}}nn.json=_Ye;function QYe(t,e={}){let s=((typeof t=="string"?t:t.href).startsWith("https:")?TYe:vYe).request(t,e),i=new Promise((n,o)=>{s.once("response",n).once("error",o).end()});return s.then=i.then.bind(i),s}nn.req=QYe});var Rue=A($n=>{"use strict";var xue=$n&&$n.__createBinding||(Object.create?(function(t,e,r,s){s===void 0&&(s=r);var i=Object.getOwnPropertyDescriptor(e,r);(!i||("get"in i?!e.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return e[r]}}),Object.defineProperty(t,s,i)}):(function(t,e,r,s){s===void 0&&(s=r),t[s]=e[r]})),PYe=$n&&$n.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),Nue=$n&&$n.__importStar||function(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var r in t)r!=="default"&&Object.prototype.hasOwnProperty.call(t,r)&&xue(e,t,r);return PYe(e,t),e},OYe=$n&&$n.__exportStar||function(t,e){for(var r in t)r!=="default"&&!Object.prototype.hasOwnProperty.call(e,r)&&xue(e,t,r)};Object.defineProperty($n,"__esModule",{value:!0});$n.Agent=void 0;var DYe=Nue(require("net")),Sue=Nue(require("http")),kYe=require("https");OYe(Bue(),$n);var wc=Symbol("AgentBaseInternalState"),nF=class extends Sue.Agent{constructor(e){super(e),this[wc]={}}isSecureEndpoint(e){if(e){if(typeof e.secureEndpoint=="boolean")return e.secureEndpoint;if(typeof e.protocol=="string")return e.protocol==="https:"}let{stack:r}=new Error;return typeof r!="string"?!1:r.split(`
`).some(s=>s.indexOf("(https.js:")!==-1||s.indexOf("node:https:")!==-1)}incrementSockets(e){if(this.maxSockets===1/0&&this.maxTotalSockets===1/0)return null;this.sockets[e]||(this.sockets[e]=[]);let r=new DYe.Socket({writable:!1});return this.sockets[e].push(r),this.totalSocketCount++,r}decrementSockets(e,r){if(!this.sockets[e]||r===null)return;let s=this.sockets[e],i=s.indexOf(r);i!==-1&&(s.splice(i,1),this.totalSocketCount--,s.length===0&&delete this.sockets[e])}getName(e){return this.isSecureEndpoint(e)?kYe.Agent.prototype.getName.call(this,e):super.getName(e)}createSocket(e,r,s){let i={...r,secureEndpoint:this.isSecureEndpoint(r)},n=this.getName(i),o=this.incrementSockets(n);Promise.resolve().then(()=>this.connect(e,i)).then(a=>{if(this.decrementSockets(n,o),a instanceof Sue.Agent)try{return a.addRequest(e,i)}catch(c){return s(c)}this[wc].currentSocket=a,super.createSocket(e,r,s)},a=>{this.decrementSockets(n,o),s(a)})}createConnection(){let e=this[wc].currentSocket;if(this[wc].currentSocket=void 0,!e)throw new Error("No socket was returned in the `connect()` function");return e}get defaultPort(){return this[wc].defaultPort??(this.protocol==="https:"?443:80)}set defaultPort(e){this[wc]&&(this[wc].defaultPort=e)}get protocol(){return this[wc].protocol??(this.isSecureEndpoint()?"https:":"http:")}set protocol(e){this[wc]&&(this[wc].protocol=e)}};$n.Agent=nF});var vue=A(Km=>{"use strict";var MYe=Km&&Km.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(Km,"__esModule",{value:!0});Km.parseProxyResponse=void 0;var LYe=MYe(Jf()),QN=(0,LYe.default)("https-proxy-agent:parse-proxy-response");function UYe(t){return new Promise((e,r)=>{let s=0,i=[];function n(){let u=t.read();u?l(u):t.once("readable",n)}function o(){t.removeListener("end",a),t.removeListener("error",c),t.removeListener("readable",n)}function a(){o(),QN("onend"),r(new Error("Proxy connection ended before receiving CONNECT response"))}function c(u){o(),QN("onerror %o",u),r(u)}function l(u){i.push(u),s+=u.length;let h=Buffer.concat(i,s),d=h.indexOf(`\r
`+i),t.push(n+"m+"+yI.exports.humanize(this.diff)+"\x1B[0m")}else t[0]=HRe()+e+" "+t[0]}o(GRe,"formatArgs");function HRe(){return hr.inspectOpts.hideDate?"":new Date().toISOString()+" "}o(HRe,"getDate");function VRe(...t){return process.stderr.write(EI.format(...t)+`
`)}o(VRe,"log");function zRe(t){t?process.env.DEBUG=t:delete process.env.DEBUG}o(zRe,"save");function JRe(){return process.env.DEBUG}o(JRe,"load");function YRe(t){t.inspectOpts={};let e=Object.keys(hr.inspectOpts);for(let r=0;r<e.length;r++)t.inspectOpts[e[r]]=hr.inspectOpts[e[r]]}o(YRe,"init");yI.exports=eP()(hr);var{formatters:_6}=yI.exports;_6.o=function(t){return this.inspectOpts.colors=this.useColors,EI.inspect(t,this.inspectOpts).split(`
`).map(e=>e.trim()).join(" ")};_6.O=function(t){return this.inspectOpts.colors=this.useColors,EI.inspect(t,this.inspectOpts)}});var CI=h((Bst,nP)=>{typeof process>"u"||process.type==="renderer"||process.browser===!0||process.__nwjs?nP.exports=Q6():nP.exports=k6()});var M6=h(os=>{"use strict";var $Re=os&&os.__createBinding||(Object.create?(function(t,e,r,s){s===void 0&&(s=r);var n=Object.getOwnPropertyDescriptor(e,r);(!n||("get"in n?!e.__esModule:n.writable||n.configurable))&&(n={enumerable:!0,get:o(function(){return e[r]},"get")}),Object.defineProperty(t,s,n)}):(function(t,e,r,s){s===void 0&&(s=r),t[s]=e[r]})),WRe=os&&os.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),D6=os&&os.__importStar||function(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var r in t)r!=="default"&&Object.prototype.hasOwnProperty.call(t,r)&&$Re(e,t,r);return WRe(e,t),e};Object.defineProperty(os,"__esModule",{value:!0});os.req=os.json=os.toBuffer=void 0;var jRe=D6(require("http")),KRe=D6(require("https"));async function O6(t){let e=0,r=[];for await(let s of t)e+=s.length,r.push(s);return Buffer.concat(r,e)}o(O6,"toBuffer");os.toBuffer=O6;async function XRe(t){let r=(await O6(t)).toString("utf8");try{return JSON.parse(r)}catch(s){let n=s;throw n.message+=` (input: ${r})`,n}}o(XRe,"json");os.json=XRe;function ZRe(t,e={}){let s=((typeof t=="string"?t:t.href).startsWith("https:")?KRe:jRe).request(t,e),n=new Promise((i,a)=>{s.once("response",i).once("error",a).end()});return s.then=n.then.bind(n),s}o(ZRe,"req");os.req=ZRe});var q6=h(Hs=>{"use strict";var F6=Hs&&Hs.__createBinding||(Object.create?(function(t,e,r,s){s===void 0&&(s=r);var n=Object.getOwnPropertyDescriptor(e,r);(!n||("get"in n?!e.__esModule:n.writable||n.configurable))&&(n={enumerable:!0,get:o(function(){return e[r]},"get")}),Object.defineProperty(t,s,n)}):(function(t,e,r,s){s===void 0&&(s=r),t[s]=e[r]})),eTe=Hs&&Hs.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),U6=Hs&&Hs.__importStar||function(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var r in t)r!=="default"&&Object.prototype.hasOwnProperty.call(t,r)&&F6(e,t,r);return eTe(e,t),e},tTe=Hs&&Hs.__exportStar||function(t,e){for(var r in t)r!=="default"&&!Object.prototype.hasOwnProperty.call(e,r)&&F6(e,t,r)};Object.defineProperty(Hs,"__esModule",{value:!0});Hs.Agent=void 0;var rTe=U6(require("net")),L6=U6(require("http")),sTe=require("https");tTe(M6(),Hs);var Hi=Symbol("AgentBaseInternalState"),iP=class extends L6.Agent{static{o(this,"Agent")}constructor(e){super(e),this[Hi]={}}isSecureEndpoint(e){if(e){if(typeof e.secureEndpoint=="boolean")return e.secureEndpoint;if(typeof e.protocol=="string")return e.protocol==="https:"}let{stack:r}=new Error;return typeof r!="string"?!1:r.split(`
`).some(s=>s.indexOf("(https.js:")!==-1||s.indexOf("node:https:")!==-1)}incrementSockets(e){if(this.maxSockets===1/0&&this.maxTotalSockets===1/0)return null;this.sockets[e]||(this.sockets[e]=[]);let r=new rTe.Socket({writable:!1});return this.sockets[e].push(r),this.totalSocketCount++,r}decrementSockets(e,r){if(!this.sockets[e]||r===null)return;let s=this.sockets[e],n=s.indexOf(r);n!==-1&&(s.splice(n,1),this.totalSocketCount--,s.length===0&&delete this.sockets[e])}getName(e){return this.isSecureEndpoint(e)?sTe.Agent.prototype.getName.call(this,e):super.getName(e)}createSocket(e,r,s){let n={...r,secureEndpoint:this.isSecureEndpoint(r)},i=this.getName(n),a=this.incrementSockets(i);Promise.resolve().then(()=>this.connect(e,n)).then(c=>{if(this.decrementSockets(i,a),c instanceof L6.Agent)try{return c.addRequest(e,n)}catch(l){return s(l)}this[Hi].currentSocket=c,super.createSocket(e,r,s)},c=>{this.decrementSockets(i,a),s(c)})}createConnection(){let e=this[Hi].currentSocket;if(this[Hi].currentSocket=void 0,!e)throw new Error("No socket was returned in the `connect()` function");return e}get defaultPort(){return this[Hi].defaultPort??(this.protocol==="https:"?443:80)}set defaultPort(e){this[Hi]&&(this[Hi].defaultPort=e)}get protocol(){return this[Hi].protocol??(this.isSecureEndpoint()?"https:":"http:")}set protocol(e){this[Hi]&&(this[Hi].protocol=e)}};Hs.Agent=iP});var G6=h(lA=>{"use strict";var nTe=lA&&lA.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(lA,"__esModule",{value:!0});lA.parseProxyResponse=void 0;var iTe=nTe(CI()),II=(0,iTe.default)("https-proxy-agent:parse-proxy-response");function oTe(t){return new Promise((e,r)=>{let s=0,n=[];function i(){let d=t.read();d?u(d):t.once("readable",i)}o(i,"read");function a(){t.removeListener("end",c),t.removeListener("error",l),t.removeListener("readable",i)}o(a,"cleanup");function c(){a(),II("onend"),r(new Error("Proxy connection ended before receiving CONNECT response"))}o(c,"onend");function l(d){a(),II("onerror %o",d),r(d)}o(l,"onerror");function u(d){n.push(d),s+=d.length;let A=Buffer.concat(n,s),p=A.indexOf(`\r
\r
`);if(d===-1){QN("have not received end of HTTP headers yet..."),n();return}let f=h.slice(0,d).toString("ascii").split(`\r
`),p=f.shift();if(!p)return t.destroy(),r(new Error("No header received from proxy CONNECT response"));let m=p.split(" "),E=+m[1],y=m.slice(2).join(" "),C={};for(let w of f){if(!w)continue;let S=w.indexOf(":");if(S===-1)return t.destroy(),r(new Error(`Invalid header from proxy CONNECT response: "${w}"`));let N=w.slice(0,S).toLowerCase(),P=w.slice(S+1).trimStart(),Q=C[N];typeof Q=="string"?C[N]=[Q,P]:Array.isArray(Q)?Q.push(P):C[N]=P}QN("got proxy server response: %o %o",p,C),o(),e({connect:{statusCode:E,statusText:y,headers:C},buffered:h})}t.on("error",c),t.on("end",a),n()})}Km.parseProxyResponse=UYe});var Due=A(Mo=>{"use strict";var FYe=Mo&&Mo.__createBinding||(Object.create?(function(t,e,r,s){s===void 0&&(s=r);var i=Object.getOwnPropertyDescriptor(e,r);(!i||("get"in i?!e.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return e[r]}}),Object.defineProperty(t,s,i)}):(function(t,e,r,s){s===void 0&&(s=r),t[s]=e[r]})),qYe=Mo&&Mo.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),Pue=Mo&&Mo.__importStar||function(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var r in t)r!=="default"&&Object.prototype.hasOwnProperty.call(t,r)&&FYe(e,t,r);return qYe(e,t),e},Oue=Mo&&Mo.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(Mo,"__esModule",{value:!0});Mo.HttpsProxyAgent=void 0;var PN=Pue(require("net")),Tue=Pue(require("tls")),GYe=Oue(require("assert")),HYe=Oue(Jf()),zYe=Rue(),VYe=require("url"),$Ye=vue(),QI=(0,HYe.default)("https-proxy-agent"),_ue=t=>t.servername===void 0&&t.host&&!PN.isIP(t.host)?{...t,servername:t.host}:t,ON=class extends zYe.Agent{constructor(e,r){super(r),this.options={path:void 0},this.proxy=typeof e=="string"?new VYe.URL(e):e,this.proxyHeaders=r?.headers??{},QI("Creating new HttpsProxyAgent instance: %o",this.proxy.href);let s=(this.proxy.hostname||this.proxy.host).replace(/^\[|\]$/g,""),i=this.proxy.port?parseInt(this.proxy.port,10):this.proxy.protocol==="https:"?443:80;this.connectOpts={ALPNProtocols:["http/1.1"],...r?Que(r,"headers"):null,host:s,port:i}}async connect(e,r){let{proxy:s}=this;if(!r.host)throw new TypeError('No "host" provided');let i;s.protocol==="https:"?(QI("Creating `tls.Socket`: %o",this.connectOpts),i=Tue.connect(_ue(this.connectOpts))):(QI("Creating `net.Socket`: %o",this.connectOpts),i=PN.connect(this.connectOpts));let n=typeof this.proxyHeaders=="function"?this.proxyHeaders():{...this.proxyHeaders},o=PN.isIPv6(r.host)?`[${r.host}]`:r.host,a=`CONNECT ${o}:${r.port} HTTP/1.1\r
`;if(s.username||s.password){let d=`${decodeURIComponent(s.username)}:${decodeURIComponent(s.password)}`;n["Proxy-Authorization"]=`Basic ${Buffer.from(d).toString("base64")}`}n.Host=`${o}:${r.port}`,n["Proxy-Connection"]||(n["Proxy-Connection"]=this.keepAlive?"Keep-Alive":"close");for(let d of Object.keys(n))a+=`${d}: ${n[d]}\r
`;let c=(0,$Ye.parseProxyResponse)(i);i.write(`${a}\r
`);let{connect:l,buffered:u}=await c;if(e.emit("proxyConnect",l),this.emit("proxyConnect",l,e),l.statusCode===200)return e.once("socket",jYe),r.secureEndpoint?(QI("Upgrading socket connection to TLS"),Tue.connect({...Que(_ue(r),"host","path","port"),socket:i})):i;i.destroy();let h=new PN.Socket({writable:!1});return h.readable=!0,e.once("socket",d=>{QI("Replaying proxy buffer for failed request"),(0,GYe.default)(d.listenerCount("data")>0),d.push(u),d.push(null)}),h}};ON.protocols=["http","https"];Mo.HttpsProxyAgent=ON;function jYe(t){t.resume()}function Que(t,...e){let r={},s;for(s in t)e.includes(s)||(r[s]=t[s]);return r}});var Lue=A(on=>{"use strict";var JYe=on&&on.__createBinding||(Object.create?(function(t,e,r,s){s===void 0&&(s=r);var i=Object.getOwnPropertyDescriptor(e,r);(!i||("get"in i?!e.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return e[r]}}),Object.defineProperty(t,s,i)}):(function(t,e,r,s){s===void 0&&(s=r),t[s]=e[r]})),YYe=on&&on.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),kue=on&&on.__importStar||function(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var r in t)r!=="default"&&Object.prototype.hasOwnProperty.call(t,r)&&JYe(e,t,r);return YYe(e,t),e};Object.defineProperty(on,"__esModule",{value:!0});on.req=on.json=on.toBuffer=void 0;var WYe=kue(require("http")),KYe=kue(require("https"));async function Mue(t){let e=0,r=[];for await(let s of t)e+=s.length,r.push(s);return Buffer.concat(r,e)}on.toBuffer=Mue;async function XYe(t){let r=(await Mue(t)).toString("utf8");try{return JSON.parse(r)}catch(s){let i=s;throw i.message+=` (input: ${r})`,i}}on.json=XYe;function ZYe(t,e={}){let s=((typeof t=="string"?t:t.href).startsWith("https:")?KYe:WYe).request(t,e),i=new Promise((n,o)=>{s.once("response",n).once("error",o).end()});return s.then=i.then.bind(i),s}on.req=ZYe});var PI=A(jn=>{"use strict";var Fue=jn&&jn.__createBinding||(Object.create?(function(t,e,r,s){s===void 0&&(s=r);var i=Object.getOwnPropertyDescriptor(e,r);(!i||("get"in i?!e.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return e[r]}}),Object.defineProperty(t,s,i)}):(function(t,e,r,s){s===void 0&&(s=r),t[s]=e[r]})),e9e=jn&&jn.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),que=jn&&jn.__importStar||function(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var r in t)r!=="default"&&Object.prototype.hasOwnProperty.call(t,r)&&Fue(e,t,r);return e9e(e,t),e},t9e=jn&&jn.__exportStar||function(t,e){for(var r in t)r!=="default"&&!Object.prototype.hasOwnProperty.call(e,r)&&Fue(e,t,r)};Object.defineProperty(jn,"__esModule",{value:!0});jn.Agent=void 0;var r9e=que(require("net")),Uue=que(require("http")),s9e=require("https");t9e(Lue(),jn);var Bc=Symbol("AgentBaseInternalState"),oF=class extends Uue.Agent{constructor(e){super(e),this[Bc]={}}isSecureEndpoint(e){if(e){if(typeof e.secureEndpoint=="boolean")return e.secureEndpoint;if(typeof e.protocol=="string")return e.protocol==="https:"}let{stack:r}=new Error;return typeof r!="string"?!1:r.split(`
`).some(s=>s.indexOf("(https.js:")!==-1||s.indexOf("node:https:")!==-1)}incrementSockets(e){if(this.maxSockets===1/0&&this.maxTotalSockets===1/0)return null;this.sockets[e]||(this.sockets[e]=[]);let r=new r9e.Socket({writable:!1});return this.sockets[e].push(r),this.totalSocketCount++,r}decrementSockets(e,r){if(!this.sockets[e]||r===null)return;let s=this.sockets[e],i=s.indexOf(r);i!==-1&&(s.splice(i,1),this.totalSocketCount--,s.length===0&&delete this.sockets[e])}getName(e){return(typeof e.secureEndpoint=="boolean"?e.secureEndpoint:this.isSecureEndpoint(e))?s9e.Agent.prototype.getName.call(this,e):super.getName(e)}createSocket(e,r,s){let i={...r,secureEndpoint:this.isSecureEndpoint(r)},n=this.getName(i),o=this.incrementSockets(n);Promise.resolve().then(()=>this.connect(e,i)).then(a=>{if(this.decrementSockets(n,o),a instanceof Uue.Agent)return a.addRequest(e,i);this[Bc].currentSocket=a,super.createSocket(e,r,s)},a=>{this.decrementSockets(n,o),s(a)})}createConnection(){let e=this[Bc].currentSocket;if(this[Bc].currentSocket=void 0,!e)throw new Error("No socket was returned in the `connect()` function");return e}get defaultPort(){return this[Bc].defaultPort??(this.protocol==="https:"?443:80)}set defaultPort(e){this[Bc]&&(this[Bc].defaultPort=e)}get protocol(){return this[Bc].protocol??(this.isSecureEndpoint()?"https:":"http:")}set protocol(e){this[Bc]&&(this[Bc].protocol=e)}};jn.Agent=oF});var aF=A(Lo=>{"use strict";var i9e=Lo&&Lo.__createBinding||(Object.create?(function(t,e,r,s){s===void 0&&(s=r);var i=Object.getOwnPropertyDescriptor(e,r);(!i||("get"in i?!e.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return e[r]}}),Object.defineProperty(t,s,i)}):(function(t,e,r,s){s===void 0&&(s=r),t[s]=e[r]})),n9e=Lo&&Lo.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),Hue=Lo&&Lo.__importStar||function(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var r in t)r!=="default"&&Object.prototype.hasOwnProperty.call(t,r)&&i9e(e,t,r);return n9e(e,t),e},o9e=Lo&&Lo.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(Lo,"__esModule",{value:!0});Lo.HttpProxyAgent=void 0;var a9e=Hue(require("net")),c9e=Hue(require("tls")),l9e=o9e(Jf()),u9e=require("events"),h9e=PI(),Gue=require("url"),Xm=(0,l9e.default)("http-proxy-agent"),DN=class extends h9e.Agent{constructor(e,r){super(r),this.proxy=typeof e=="string"?new Gue.URL(e):e,this.proxyHeaders=r?.headers??{},Xm("Creating new HttpProxyAgent instance: %o",this.proxy.href);let s=(this.proxy.hostname||this.proxy.host).replace(/^\[|\]$/g,""),i=this.proxy.port?parseInt(this.proxy.port,10):this.proxy.protocol==="https:"?443:80;this.connectOpts={...r?d9e(r,"headers"):null,host:s,port:i}}addRequest(e,r){e._header=null,this.setRequestProps(e,r),super.addRequest(e,r)}setRequestProps(e,r){let{proxy:s}=this,i=r.secureEndpoint?"https:":"http:",n=e.getHeader("host")||"localhost",o=`${i}//${n}`,a=new Gue.URL(e.path,o);r.port!==80&&(a.port=String(r.port)),e.path=String(a);let c=typeof this.proxyHeaders=="function"?this.proxyHeaders():{...this.proxyHeaders};if(s.username||s.password){let l=`${decodeURIComponent(s.username)}:${decodeURIComponent(s.password)}`;c["Proxy-Authorization"]=`Basic ${Buffer.from(l).toString("base64")}`}c["Proxy-Connection"]||(c["Proxy-Connection"]=this.keepAlive?"Keep-Alive":"close");for(let l of Object.keys(c)){let u=c[l];u&&e.setHeader(l,u)}}async connect(e,r){e._header=null,e.path.includes("://")||this.setRequestProps(e,r);let s,i;Xm("Regenerating stored HTTP header string for request"),e._implicitHeader(),e.outputData&&e.outputData.length>0&&(Xm("Patching connection write() output buffer with updated header"),s=e.outputData[0].data,i=s.indexOf(`\r
`);if(p===-1){II("have not received end of HTTP headers yet..."),i();return}let f=A.slice(0,p).toString("ascii").split(`\r
`),m=f.shift();if(!m)return t.destroy(),r(new Error("No header received from proxy CONNECT response"));let g=m.split(" "),y=+g[1],E=g.slice(2).join(" "),C={};for(let I of f){if(!I)continue;let b=I.indexOf(":");if(b===-1)return t.destroy(),r(new Error(`Invalid header from proxy CONNECT response: "${I}"`));let N=I.slice(0,b).toLowerCase(),Q=I.slice(b+1).trimStart(),D=C[N];typeof D=="string"?C[N]=[D,Q]:Array.isArray(D)?D.push(Q):C[N]=Q}II("got proxy server response: %o %o",m,C),a(),e({connect:{statusCode:y,statusText:E,headers:C},buffered:A})}o(u,"ondata"),t.on("error",l),t.on("end",c),i()})}o(oTe,"parseProxyResponse");lA.parseProxyResponse=oTe});var $6=h(In=>{"use strict";var aTe=In&&In.__createBinding||(Object.create?(function(t,e,r,s){s===void 0&&(s=r);var n=Object.getOwnPropertyDescriptor(e,r);(!n||("get"in n?!e.__esModule:n.writable||n.configurable))&&(n={enumerable:!0,get:o(function(){return e[r]},"get")}),Object.defineProperty(t,s,n)}):(function(t,e,r,s){s===void 0&&(s=r),t[s]=e[r]})),cTe=In&&In.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),J6=In&&In.__importStar||function(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var r in t)r!=="default"&&Object.prototype.hasOwnProperty.call(t,r)&&aTe(e,t,r);return cTe(e,t),e},Y6=In&&In.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(In,"__esModule",{value:!0});In.HttpsProxyAgent=void 0;var BI=J6(require("net")),H6=J6(require("tls")),lTe=Y6(require("assert")),uTe=Y6(CI()),dTe=q6(),ATe=require("url"),pTe=G6(),Hh=(0,uTe.default)("https-proxy-agent"),V6=o(t=>t.servername===void 0&&t.host&&!BI.isIP(t.host)?{...t,servername:t.host}:t,"setServernameFromNonIpHost"),bI=class extends dTe.Agent{static{o(this,"HttpsProxyAgent")}constructor(e,r){super(r),this.options={path:void 0},this.proxy=typeof e=="string"?new ATe.URL(e):e,this.proxyHeaders=r?.headers??{},Hh("Creating new HttpsProxyAgent instance: %o",this.proxy.href);let s=(this.proxy.hostname||this.proxy.host).replace(/^\[|\]$/g,""),n=this.proxy.port?parseInt(this.proxy.port,10):this.proxy.protocol==="https:"?443:80;this.connectOpts={ALPNProtocols:["http/1.1"],...r?z6(r,"headers"):null,host:s,port:n}}async connect(e,r){let{proxy:s}=this;if(!r.host)throw new TypeError('No "host" provided');let n;s.protocol==="https:"?(Hh("Creating `tls.Socket`: %o",this.connectOpts),n=H6.connect(V6(this.connectOpts))):(Hh("Creating `net.Socket`: %o",this.connectOpts),n=BI.connect(this.connectOpts));let i=typeof this.proxyHeaders=="function"?this.proxyHeaders():{...this.proxyHeaders},a=BI.isIPv6(r.host)?`[${r.host}]`:r.host,c=`CONNECT ${a}:${r.port} HTTP/1.1\r
`;if(s.username||s.password){let p=`${decodeURIComponent(s.username)}:${decodeURIComponent(s.password)}`;i["Proxy-Authorization"]=`Basic ${Buffer.from(p).toString("base64")}`}i.Host=`${a}:${r.port}`,i["Proxy-Connection"]||(i["Proxy-Connection"]=this.keepAlive?"Keep-Alive":"close");for(let p of Object.keys(i))c+=`${p}: ${i[p]}\r
`;let l=(0,pTe.parseProxyResponse)(n);n.write(`${c}\r
`);let{connect:u,buffered:d}=await l;if(e.emit("proxyConnect",u),this.emit("proxyConnect",u,e),u.statusCode===200)return e.once("socket",fTe),r.secureEndpoint?(Hh("Upgrading socket connection to TLS"),H6.connect({...z6(V6(r),"host","path","port"),socket:n})):n;n.destroy();let A=new BI.Socket({writable:!1});return A.readable=!0,e.once("socket",p=>{Hh("Replaying proxy buffer for failed request"),(0,lTe.default)(p.listenerCount("data")>0),p.push(d),p.push(null)}),A}};bI.protocols=["http","https"];In.HttpsProxyAgent=bI;function fTe(t){t.resume()}o(fTe,"resume");function z6(t,...e){let r={},s;for(s in t)e.includes(s)||(r[s]=t[s]);return r}o(z6,"omit")});var K6=h(as=>{"use strict";var hTe=as&&as.__createBinding||(Object.create?(function(t,e,r,s){s===void 0&&(s=r);var n=Object.getOwnPropertyDescriptor(e,r);(!n||("get"in n?!e.__esModule:n.writable||n.configurable))&&(n={enumerable:!0,get:o(function(){return e[r]},"get")}),Object.defineProperty(t,s,n)}):(function(t,e,r,s){s===void 0&&(s=r),t[s]=e[r]})),mTe=as&&as.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),W6=as&&as.__importStar||function(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var r in t)r!=="default"&&Object.prototype.hasOwnProperty.call(t,r)&&hTe(e,t,r);return mTe(e,t),e};Object.defineProperty(as,"__esModule",{value:!0});as.req=as.json=as.toBuffer=void 0;var gTe=W6(require("http")),ETe=W6(require("https"));async function j6(t){let e=0,r=[];for await(let s of t)e+=s.length,r.push(s);return Buffer.concat(r,e)}o(j6,"toBuffer");as.toBuffer=j6;async function yTe(t){let r=(await j6(t)).toString("utf8");try{return JSON.parse(r)}catch(s){let n=s;throw n.message+=` (input: ${r})`,n}}o(yTe,"json");as.json=yTe;function CTe(t,e={}){let s=((typeof t=="string"?t:t.href).startsWith("https:")?ETe:gTe).request(t,e),n=new Promise((i,a)=>{s.once("response",i).once("error",a).end()});return s.then=n.then.bind(n),s}o(CTe,"req");as.req=CTe});var t9=h(Vs=>{"use strict";var Z6=Vs&&Vs.__createBinding||(Object.create?(function(t,e,r,s){s===void 0&&(s=r);var n=Object.getOwnPropertyDescriptor(e,r);(!n||("get"in n?!e.__esModule:n.writable||n.configurable))&&(n={enumerable:!0,get:o(function(){return e[r]},"get")}),Object.defineProperty(t,s,n)}):(function(t,e,r,s){s===void 0&&(s=r),t[s]=e[r]})),ITe=Vs&&Vs.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),e9=Vs&&Vs.__importStar||function(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var r in t)r!=="default"&&Object.prototype.hasOwnProperty.call(t,r)&&Z6(e,t,r);return ITe(e,t),e},BTe=Vs&&Vs.__exportStar||function(t,e){for(var r in t)r!=="default"&&!Object.prototype.hasOwnProperty.call(e,r)&&Z6(e,t,r)};Object.defineProperty(Vs,"__esModule",{value:!0});Vs.Agent=void 0;var bTe=e9(require("net")),X6=e9(require("http")),wTe=require("https");BTe(K6(),Vs);var Vi=Symbol("AgentBaseInternalState"),oP=class extends X6.Agent{static{o(this,"Agent")}constructor(e){super(e),this[Vi]={}}isSecureEndpoint(e){if(e){if(typeof e.secureEndpoint=="boolean")return e.secureEndpoint;if(typeof e.protocol=="string")return e.protocol==="https:"}let{stack:r}=new Error;return typeof r!="string"?!1:r.split(`
`).some(s=>s.indexOf("(https.js:")!==-1||s.indexOf("node:https:")!==-1)}incrementSockets(e){if(this.maxSockets===1/0&&this.maxTotalSockets===1/0)return null;this.sockets[e]||(this.sockets[e]=[]);let r=new bTe.Socket({writable:!1});return this.sockets[e].push(r),this.totalSocketCount++,r}decrementSockets(e,r){if(!this.sockets[e]||r===null)return;let s=this.sockets[e],n=s.indexOf(r);n!==-1&&(s.splice(n,1),this.totalSocketCount--,s.length===0&&delete this.sockets[e])}getName(e){return(typeof e.secureEndpoint=="boolean"?e.secureEndpoint:this.isSecureEndpoint(e))?wTe.Agent.prototype.getName.call(this,e):super.getName(e)}createSocket(e,r,s){let n={...r,secureEndpoint:this.isSecureEndpoint(r)},i=this.getName(n),a=this.incrementSockets(i);Promise.resolve().then(()=>this.connect(e,n)).then(c=>{if(this.decrementSockets(i,a),c instanceof X6.Agent)return c.addRequest(e,n);this[Vi].currentSocket=c,super.createSocket(e,r,s)},c=>{this.decrementSockets(i,a),s(c)})}createConnection(){let e=this[Vi].currentSocket;if(this[Vi].currentSocket=void 0,!e)throw new Error("No socket was returned in the `connect()` function");return e}get defaultPort(){return this[Vi].defaultPort??(this.protocol==="https:"?443:80)}set defaultPort(e){this[Vi]&&(this[Vi].defaultPort=e)}get protocol(){return this[Vi].protocol??(this.isSecureEndpoint()?"https:":"http:")}set protocol(e){this[Vi]&&(this[Vi].protocol=e)}};Vs.Agent=oP});var n9=h(Bn=>{"use strict";var STe=Bn&&Bn.__createBinding||(Object.create?(function(t,e,r,s){s===void 0&&(s=r);var n=Object.getOwnPropertyDescriptor(e,r);(!n||("get"in n?!e.__esModule:n.writable||n.configurable))&&(n={enumerable:!0,get:o(function(){return e[r]},"get")}),Object.defineProperty(t,s,n)}):(function(t,e,r,s){s===void 0&&(s=r),t[s]=e[r]})),NTe=Bn&&Bn.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),s9=Bn&&Bn.__importStar||function(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var r in t)r!=="default"&&Object.prototype.hasOwnProperty.call(t,r)&&STe(e,t,r);return NTe(e,t),e},xTe=Bn&&Bn.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(Bn,"__esModule",{value:!0});Bn.HttpProxyAgent=void 0;var QTe=s9(require("net")),RTe=s9(require("tls")),TTe=xTe(CI()),vTe=require("events"),PTe=t9(),r9=require("url"),uA=(0,TTe.default)("http-proxy-agent"),wI=class extends PTe.Agent{static{o(this,"HttpProxyAgent")}constructor(e,r){super(r),this.proxy=typeof e=="string"?new r9.URL(e):e,this.proxyHeaders=r?.headers??{},uA("Creating new HttpProxyAgent instance: %o",this.proxy.href);let s=(this.proxy.hostname||this.proxy.host).replace(/^\[|\]$/g,""),n=this.proxy.port?parseInt(this.proxy.port,10):this.proxy.protocol==="https:"?443:80;this.connectOpts={...r?_Te(r,"headers"):null,host:s,port:n}}addRequest(e,r){e._header=null,this.setRequestProps(e,r),super.addRequest(e,r)}setRequestProps(e,r){let{proxy:s}=this,n=r.secureEndpoint?"https:":"http:",i=e.getHeader("host")||"localhost",a=`${n}//${i}`,c=new r9.URL(e.path,a);r.port!==80&&(c.port=String(r.port)),e.path=String(c);let l=typeof this.proxyHeaders=="function"?this.proxyHeaders():{...this.proxyHeaders};if(s.username||s.password){let u=`${decodeURIComponent(s.username)}:${decodeURIComponent(s.password)}`;l["Proxy-Authorization"]=`Basic ${Buffer.from(u).toString("base64")}`}l["Proxy-Connection"]||(l["Proxy-Connection"]=this.keepAlive?"Keep-Alive":"close");for(let u of Object.keys(l)){let d=l[u];d&&e.setHeader(u,d)}}async connect(e,r){e._header=null,e.path.includes("://")||this.setRequestProps(e,r);let s,n;uA("Regenerating stored HTTP header string for request"),e._implicitHeader(),e.outputData&&e.outputData.length>0&&(uA("Patching connection write() output buffer with updated header"),s=e.outputData[0].data,n=s.indexOf(`\r
\r
`)+4,e.outputData[0].data=e._header+s.substring(i),Xm("Output buffer: %o",e.outputData[0].data));let n;return this.proxy.protocol==="https:"?(Xm("Creating `tls.Socket`: %o",this.connectOpts),n=c9e.connect(this.connectOpts)):(Xm("Creating `net.Socket`: %o",this.connectOpts),n=a9e.connect(this.connectOpts)),await(0,u9e.once)(n,"connect"),n}};DN.protocols=["http","https"];Lo.HttpProxyAgent=DN;function d9e(t,...e){let r={},s;for(s in t)e.includes(s)||(r[s]=t[s]);return r}});var hhe=A(YN=>{"use strict";Object.defineProperty(YN,"__esModule",{value:!0});YN.state=void 0;YN.state={instrumenterImplementation:void 0}});var Rhe=A(eR=>{"use strict";Object.defineProperty(eR,"__esModule",{value:!0});eR.state=void 0;eR.state={operationRequestMap:new WeakMap}});var ope=A(mg=>{"use strict";Object.defineProperty(mg,"__esModule",{value:!0});var Q7e=require("os"),P7e=require("util");function O7e(t){return t&&typeof t=="object"&&"default"in t?t:{default:t}}var D7e=O7e(P7e);function k7e(t,...e){process.stderr.write(`${D7e.default.format(t,...e)}${Q7e.EOL}`)}var Wfe=typeof process<"u"&&process.env&&process.env.DEBUG||void 0,Xfe,U4=[],F4=[],Ev=[];Wfe&&q4(Wfe);var Zfe=Object.assign(t=>epe(t),{enable:q4,enabled:G4,disable:M7e,log:k7e});function q4(t){Xfe=t,U4=[],F4=[];let e=/\*/g,r=t.split(",").map(s=>s.trim().replace(e,".*?"));for(let s of r)s.startsWith("-")?F4.push(new RegExp(`^${s.substr(1)}$`)):U4.push(new RegExp(`^${s}$`));for(let s of Ev)s.enabled=G4(s.namespace)}function G4(t){if(t.endsWith("*"))return!0;for(let e of F4)if(e.test(t))return!1;for(let e of U4)if(e.test(t))return!0;return!1}function M7e(){let t=Xfe||"";return q4(""),t}function epe(t){let e=Object.assign(r,{enabled:G4(t),destroy:L7e,log:Zfe.log,namespace:t,extend:U7e});function r(...s){e.enabled&&(s.length>0&&(s[0]=`${t} ${s[0]}`),e.log(...s))}return Ev.push(e),e}function L7e(){let t=Ev.indexOf(this);return t>=0?(Ev.splice(t,1),!0):!1}function U7e(t){let e=epe(`${this.namespace}:${t}`);return e.log=this.log,e}var C0=Zfe,tpe=new Set,gv=typeof process<"u"&&process.env&&process.env.AZURE_LOG_LEVEL||void 0,Cv,Iv=C0("azure");Iv.log=(...t)=>{C0.log(...t)};var H4=["verbose","info","warning","error"];gv&&(npe(gv)?rpe(gv):console.error(`AZURE_LOG_LEVEL set to unknown log level '${gv}'; logging is not enabled. Acceptable values: ${H4.join(", ")}.`));function rpe(t){if(t&&!npe(t))throw new Error(`Unknown log level '${t}'. Acceptable values: ${H4.join(",")}`);Cv=t;let e=[];for(let r of tpe)ipe(r)&&e.push(r.namespace);C0.enable(e.join(","))}function F7e(){return Cv}var Kfe={verbose:400,info:300,warning:200,error:100};function q7e(t){let e=Iv.extend(t);return spe(Iv,e),{error:yv(e,"error"),warning:yv(e,"warning"),info:yv(e,"info"),verbose:yv(e,"verbose")}}function spe(t,e){e.log=(...r)=>{t.log(...r)}}function yv(t,e){let r=Object.assign(t.extend(e),{level:e});if(spe(t,r),ipe(r)){let s=C0.disable();C0.enable(s+","+r.namespace)}return tpe.add(r),r}function ipe(t){return!!(Cv&&Kfe[t.level]<=Kfe[Cv])}function npe(t){return H4.includes(t)}mg.AzureLogger=Iv;mg.createClientLogger=q7e;mg.getLogLevel=F7e;mg.setLogLevel=rpe});var $4=A(b0=>{"use strict";Object.defineProperty(b0,"__esModule",{value:!0});var gg=new WeakMap,bv=new WeakMap,I0=class t{constructor(){this.onabort=null,gg.set(this,[]),bv.set(this,!1)}get aborted(){if(!bv.has(this))throw new TypeError("Expected `this` to be an instance of AbortSignal.");return bv.get(this)}static get none(){return new t}addEventListener(e,r){if(!gg.has(this))throw new TypeError("Expected `this` to be an instance of AbortSignal.");gg.get(this).push(r)}removeEventListener(e,r){if(!gg.has(this))throw new TypeError("Expected `this` to be an instance of AbortSignal.");let s=gg.get(this),i=s.indexOf(r);i>-1&&s.splice(i,1)}dispatchEvent(e){throw new Error("This is a stub dispatchEvent implementation that should not be used. It only exists for type-checking purposes.")}};function ape(t){if(t.aborted)return;t.onabort&&t.onabort.call(t);let e=gg.get(t);e&&e.slice().forEach(r=>{r.call(t,{type:"abort"})}),bv.set(t,!0)}var z4=class extends Error{constructor(e){super(e),this.name="AbortError"}},V4=class{constructor(e){if(this._signal=new I0,!!e){Array.isArray(e)||(e=arguments);for(let r of e)r.aborted?this.abort():r.addEventListener("abort",()=>{this.abort()})}}get signal(){return this._signal}abort(){ape(this._signal)}static timeout(e){let r=new I0,s=setTimeout(ape,e,r);return typeof s.unref=="function"&&s.unref(),r}};b0.AbortController=V4;b0.AbortError=z4;b0.AbortSignal=I0});var dpe=A(vi=>{"use strict";Object.defineProperty(vi,"__esModule",{value:!0});var G7e=$4(),W4=require("crypto"),j4,H7e=typeof process<"u"&&!!process.version&&!!(!((j4=process.versions)===null||j4===void 0)&&j4.node);function cpe(t,e){let{cleanupBeforeAbort:r,abortSignal:s,abortErrorMsg:i}=e??{};return new Promise((n,o)=>{function a(){o(new G7e.AbortError(i??"The operation was aborted."))}function c(){s?.removeEventListener("abort",l)}function l(){r?.(),c(),a()}if(s?.aborted)return a(); Line truncated
`)+4,e.outputData[0].data=e._header+s.substring(n),uA("Output buffer: %o",e.outputData[0].data));let i;return this.proxy.protocol==="https:"?(uA("Creating `tls.Socket`: %o",this.connectOpts),i=RTe.connect(this.connectOpts)):(uA("Creating `net.Socket`: %o",this.connectOpts),i=QTe.connect(this.connectOpts)),await(0,vTe.once)(i,"connect"),i}};wI.protocols=["http","https"];Bn.HttpProxyAgent=wI;function _Te(t,...e){let r={},s;for(s in t)e.includes(s)||(r[s]=t[s]);return r}o(_Te,"omit")});var N9=h(LI=>{"use strict";Object.defineProperty(LI,"__esModule",{value:!0});LI.state=void 0;LI.state={instrumenterImplementation:void 0}});var H9=h(HI=>{"use strict";Object.defineProperty(HI,"__esModule",{value:!0});HI.state=void 0;HI.state={operationRequestMap:new WeakMap}});var IZ=h(QA=>{"use strict";Object.defineProperty(QA,"__esModule",{value:!0});var ZDe=require("os"),eOe=require("util");function tOe(t){return t&&typeof t=="object"&&"default"in t?t:{default:t}}o(tOe,"_interopDefaultLegacy");var rOe=tOe(eOe);function sOe(t,...e){process.stderr.write(`${rOe.default.format(t,...e)}${ZDe.EOL}`)}o(sOe,"log");var dZ=typeof process<"u"&&process.env&&process.env.DEBUG||void 0,pZ,LO=[],FO=[],cb=[];dZ&&UO(dZ);var fZ=Object.assign(t=>hZ(t),{enable:UO,enabled:qO,disable:nOe,log:sOe});function UO(t){pZ=t,LO=[],FO=[];let e=/\*/g,r=t.split(",").map(s=>s.trim().replace(e,".*?"));for(let s of r)s.startsWith("-")?FO.push(new RegExp(`^${s.substr(1)}$`)):LO.push(new RegExp(`^${s}$`));for(let s of cb)s.enabled=qO(s.namespace)}o(UO,"enable");function qO(t){if(t.endsWith("*"))return!0;for(let e of FO)if(e.test(t))return!1;for(let e of LO)if(e.test(t))return!0;return!1}o(qO,"enabled");function nOe(){let t=pZ||"";return UO(""),t}o(nOe,"disable");function hZ(t){let e=Object.assign(r,{enabled:qO(t),destroy:iOe,log:fZ.log,namespace:t,extend:oOe});function r(...s){e.enabled&&(s.length>0&&(s[0]=`${t} ${s[0]}`),e.log(...s))}return o(r,"debug"),cb.push(e),e}o(hZ,"createDebugger");function iOe(){let t=cb.indexOf(this);return t>=0?(cb.splice(t,1),!0):!1}o(iOe,"destroy");function oOe(t){let e=hZ(`${this.namespace}:${t}`);return e.log=this.log,e}o(oOe,"extend");var Tm=fZ,mZ=new Set,ob=typeof process<"u"&&process.env&&process.env.AZURE_LOG_LEVEL||void 0,lb,ub=Tm("azure");ub.log=(...t)=>{Tm.log(...t)};var GO=["verbose","info","warning","error"];ob&&(CZ(ob)?gZ(ob):console.error(`AZURE_LOG_LEVEL set to unknown log level '${ob}'; logging is not enabled. Acceptable values: ${GO.join(", ")}.`));function gZ(t){if(t&&!CZ(t))throw new Error(`Unknown log level '${t}'. Acceptable values: ${GO.join(",")}`);lb=t;let e=[];for(let r of mZ)yZ(r)&&e.push(r.namespace);Tm.enable(e.join(","))}o(gZ,"setLogLevel");function aOe(){return lb}o(aOe,"getLogLevel");var AZ={verbose:400,info:300,warning:200,error:100};function cOe(t){let e=ub.extend(t);return EZ(ub,e),{error:ab(e,"error"),warning:ab(e,"warning"),info:ab(e,"info"),verbose:ab(e,"verbose")}}o(cOe,"createClientLogger");function EZ(t,e){e.log=(...r)=>{t.log(...r)}}o(EZ,"patchLogMethod");function ab(t,e){let r=Object.assign(t.extend(e),{level:e});if(EZ(t,r),yZ(r)){let s=Tm.disable();Tm.enable(s+","+r.namespace)}return mZ.add(r),r}o(ab,"createLogger");function yZ(t){return!!(lb&&AZ[t.level]<=AZ[lb])}o(yZ,"shouldEnable");function CZ(t){return GO.includes(t)}o(CZ,"isAzureLogLevel");QA.AzureLogger=ub;QA.createClientLogger=cOe;QA.getLogLevel=aOe;QA.setLogLevel=gZ});var zO=h(Pm=>{"use strict";Object.defineProperty(Pm,"__esModule",{value:!0});var RA=new WeakMap,db=new WeakMap,vm=class t{static{o(this,"AbortSignal")}constructor(){this.onabort=null,RA.set(this,[]),db.set(this,!1)}get aborted(){if(!db.has(this))throw new TypeError("Expected `this` to be an instance of AbortSignal.");return db.get(this)}static get none(){return new t}addEventListener(e,r){if(!RA.has(this))throw new TypeError("Expected `this` to be an instance of AbortSignal.");RA.get(this).push(r)}removeEventListener(e,r){if(!RA.has(this))throw new TypeError("Expected `this` to be an instance of AbortSignal.");let s=RA.get(this),n=s.indexOf(r);n>-1&&s.splice(n,1)}dispatchEvent(e){throw new Error("This is a stub dispatchEvent implementation that should not be used. It only exists for type-checking purposes.")}};function BZ(t){if(t.aborted)return;t.onabort&&t.onabort.call(t);let e=RA.get(t);e&&e.slice().forEach(r=>{r.call(t,{type:"abort"})}),db.set(t,!0)}o(BZ,"abortSignal");var HO=class extends Error{static{o(this,"AbortError")}constructor(e){super(e),this.name="AbortError"}},VO=class{static{o(this,"AbortController")}constructor(e){if(this._signal=new vm,!!e){Array.isArray(e)||(e=arguments);for(let r of e)r.aborted?this.abort():r.addEventListener("abort",()=>{this.abort()})}}get signal(){return this._signal}abort(){BZ(this._signal)}static timeout(e){let r=new vm,s=setTimeout(BZ,e,r);return typeof s.unref=="function"&&s.unref(),r}};Pm.AbortController=VO;Pm.AbortError=HO;Pm.AbortSignal=vm});var xZ=h(zr=>{"use strict";Object.defineProperty(zr,"__esModule",{value:!0});var lOe Line truncated
Polling from: ${r.config.operationLocation}
Operation status: ${u}
Polling status: ${mpe.includes(u)?"Stopped":"Running"}`),u==="succeeded"){let h=o(l,r);if(h!==void 0)return{response:await e(h).catch(ppe({state:r,stateProxy:s,isOperationError:a})),status:u}}return{response:l,status:u}}async function Cpe(t){let{poll:e,state:r,stateProxy:s,options:i,getOperationStatus:n,getResourceLocation:o,getOperationLocation:a,isOperationError:c,withOperationLocation:l,getPollingInterval:u,processResult:h,getError:d,updateState:f,setDelay:p,isDone:m,setErrorAsResult:E}=t,{operationLocation:y}=r.config;if(y!==void 0){let{response:C,status:w}=await iet({poll:e,getOperationStatus:n,state:r,stateProxy:s,operationLocation:y,getResourceLocation:o,isOperationError:c,options:i});if(ype({status:w,response:C,state:r,stateProxy:s,isDone:m,processResult:h,getError:d,setErrorAsResult:E}),!mpe.includes(w)){let S=u?.(C);S&&p(S);let N=a?.(C,r);if(N!==void 0){let P=y!==N;r.config.operationLocation=N,l?.(N,P)}else l?.(y,!1)}f?.(r,C)}}function Ipe(t){let{azureAsyncOperation:e,operationLocation:r}=t;return r??e}function bpe(t){return t.headers.location}function wpe(t){return t.headers["operation-location"]}function Bpe(t){return t.headers["azure-asyncoperation"]}function net(t){let{location:e,requestMethod:r,requestPath:s,resourceLocationConfig:i}=t;switch(r){case"PUT":return s;case"DELETE":return;default:switch(i){case"azure-async-operation":return;case"original-uri":return s;default:return e}}}function Spe(t){let{rawResponse:e,requestMethod:r,requestPath:s,resourceLocationConfig:i}=t,n=wpe(e),o=Bpe(e),a=Ipe({operationLocation:n,azureAsyncOperation:o}),c=bpe(e),l=r?.toLocaleUpperCase();return a!==void 0?{mode:"OperationLocation",operationLocation:a,resourceLocation:net({requestMethod:l,location:c,requestPath:s,resourceLocationConfig:i})}:c!==void 0?{mode:"ResourceLocation",operationLocation:c}:l==="PUT"&&s?{mode:"Body",operationLocation:s}:void 0}function xpe(t){let{status:e,statusCode:r}=t;if(typeof e!="string"&&e!==void 0)throw new Error(`Polling was unsuccessful. Expected status to have a string value or no value but it has instead: ${e}. This doesn't necessarily indicate the operation has failed. Check your Azure subscription or resource status for more information.`);switch(e?.toLocaleLowerCase()){case void 0:return e8(r);case"succeeded":return"succeeded";case"failed":return"failed";case"running":case"accepted":case"started":case"canceling":case"cancelling":return"running";case"canceled":case"cancelled":return"canceled";default:return dp.verbose(`LRO: unrecognized operation status: ${e}`),e}}function oet(t){var e;let{status:r}=(e=t.body)!==null&&e!==void 0?e:{};return xpe({status:r,statusCode:t.statusCode})}function aet(t){var e,r;let{properties:s,provisioningState:i}=(e=t.body)!==null&&e!==void 0?e:{},n=(r=s?.provisioningState)!==null&&r!==void 0?r:i;return xpe({status:n,statusCode:t.statusCode})}function e8(t){return t===202?"running":t<300?"succeeded":"failed"}function Npe({rawResponse:t}){let e=t.headers["retry-after"];if(e!==void 0){let r=parseInt(e);return isNaN(r)?cet(new Date(e)):r*1e3}}function Rpe(t){let e=t.flatResponse.error;if(!e){dp.warning("The long-running operation failed but there is no error property in the response's body");return}if(!e.code||!e.message){dp.warning("The long-running operation failed but the error property in the response's body doesn't contain code or message");return}return e}function cet(t){let e=Math.floor(new Date().getTime()),r=t.getTime();if(e<r)return r-e}function vpe(t){let{response:e,state:r,operationLocation:s}=t;function i(){var o;switch((o=r.config.metadata)===null||o===void 0?void 0:o.mode){case void 0:return e8(e.rawResponse.statusCode);case"Body":return t8(e,r);default:return"running"}}let n=i();return n==="running"&&s===void 0?"succeeded":n}async function uet(t){let{stateProxy:e,resourceLocationConfig:r,processResult:s,lro:i,setErrorAsResult:n}=t;return Epe({init:async()=>{let o=await i.sendInitialRequest(),a=Spe({rawResponse:o.rawResponse,requestPath:i.requestPath,requestMethod:i.requestMethod,resourceLocationConfig:r});return Object.assign({response:o,operationLocation:a?.operationLocation,resourceLocation:a?.resourceLocation},a?.mode?{metadata:{mode:a.mode}}:{})},stateProxy:e,processResult:s?({flatResponse:o},a)=>s(o,a):({flatResponse:o})=>o,getOperationStatus:vpe,setErrorAsResult:n})}function Tpe({rawResponse:t},e){var r;switch((r=e.config.metadata)===null||r===void 0?void 0:r.mode){case"OperationLocation":return Ipe({operationLocation:wpe(t),azureAsyncOperation:Bpe(t)});case"ResourceLocation":return bpe(t);default:return}}function t8({rawResponse:t},e){var r;let s=(r=e.config.metadata)===null||r===void 0?void 0:r.mode;switch(s){case"OperationLocation":return oet(t);case"ResourceLocation":return e8(t.statusCode);case"Body":return aet(t);default:throw new Error(`Internal error: Unexpected operation mode: ${s}`)}}function _pe({flatResponse:t},e){if(typeof t=="object"){let r=t.resourceLocation;r!==void 0&&(e.config.resourceLocation=r)}return e.cLine truncated
`:case"\r":case" ":case" ":continue;default:throw Error("invalid base64 string.")}switch(i){case 0:o=n,i=1;break;case 1:r[s++]=o<<2|(n&48)>>4,o=n,i=2;break;case 2:r[s++]=(o&15)<<4|(n&60)>>2,o=n,i=3;break;case 3:r[s++]=(o&3)<<6|n,i=0;break}}if(i==1)throw Error("invalid base64 string.");return r.subarray(0,s)}wg.base64decode=Jet;function Yet(t){let e="",r=0,s,i=0;for(let n=0;n<t.length;n++)switch(s=t[n],r){case 0:e+=bu[s>>2],i=(s&3)<<4,r=1;break;case 1:e+=bu[i|s>>4],i=(s&15)<<2,r=2;break;case 2:e+=bu[i|s>>6],e+=bu[s&63],r=0;break}return r&&(e+=bu[i],e+="=",r==1&&(e+="=")),e}wg.base64encode=Yet});var oAe=A(qv=>{"use strict";Object.defineProperty(qv,"__esModule",{value:!0});qv.utf8read=void 0;var h8=t=>String.fromCharCode.apply(String,t);function Wet(t){if(t.length<1)return"";let e=0,r=[],s=[],i=0,n,o=t.length;for(;e<o;)n=t[e++],n<128?s[i++]=n:n>191&&n<224?s[i++]=(n&31)<<6|t[e++]&63:n>239&&n<365?(n=((n&7)<<18|(t[e++]&63)<<12|(t[e++]&63)<<6|t[e++]&63)-65536,s[i++]=55296+(n>>10),s[i++]=56320+(n&1023)):s[i++]=(n&15)<<12|(t[e++]&63)<<6|t[e++]&63,i>8191&&(r.push(h8(s)),i=0);return r.length?(i&&r.push(h8(s.slice(0,i))),r.join("")):h8(s.slice(0,i))}qv.utf8read=Wet});var T0=A(Wc=>{"use strict";Object.defineProperty(Wc,"__esModule",{value:!0});Wc.WireType=Wc.mergeBinaryOptions=Wc.UnknownFieldHandler=void 0;var Ket;(function(t){t.symbol=Symbol.for("protobuf-ts/unknown"),t.onRead=(r,s,i,n,o)=>{(e(s)?s[t.symbol]:s[t.symbol]=[]).push({no:i,wireType:n,data:o})},t.onWrite=(r,s,i)=>{for(let{no:n,wireType:o,data:a}of t.list(s))i.tag(n,o).raw(a)},t.list=(r,s)=>{if(e(r)){let i=r[t.symbol];return s?i.filter(n=>n.no==s):i}return[]},t.last=(r,s)=>t.list(r,s).slice(-1)[0];let e=r=>r&&Array.isArray(r[t.symbol])})(Ket=Wc.UnknownFieldHandler||(Wc.UnknownFieldHandler={}));function Xet(t,e){return Object.assign(Object.assign({},t),e)}Wc.mergeBinaryOptions=Xet;var Zet;(function(t){t[t.Varint=0]="Varint",t[t.Bit64=1]="Bit64",t[t.LengthDelimited=2]="LengthDelimited",t[t.StartGroup=3]="StartGroup",t[t.EndGroup=4]="EndGroup",t[t.Bit32=5]="Bit32"})(Zet=Wc.WireType||(Wc.WireType={}))});var Hv=A(fn=>{"use strict";Object.defineProperty(fn,"__esModule",{value:!0});fn.varint32read=fn.varint32write=fn.int64toString=fn.int64fromString=fn.varint64write=fn.varint64read=void 0;function ett(){let t=0,e=0;for(let s=0;s<28;s+=7){let i=this.buf[this.pos++];if(t|=(i&127)<<s,(i&128)==0)return this.assertBounds(),[t,e]}let r=this.buf[this.pos++];if(t|=(r&15)<<28,e=(r&112)>>4,(r&128)==0)return this.assertBounds(),[t,e];for(let s=3;s<=31;s+=7){let i=this.buf[this.pos++];if(e|=(i&127)<<s,(i&128)==0)return this.assertBounds(),[t,e]}throw new Error("invalid varint")}fn.varint64read=ett;function ttt(t,e,r){for(let n=0;n<28;n=n+7){let o=t>>>n,a=!(!(o>>>7)&&e==0),c=(a?o|128:o)&255;if(r.push(c),!a)return}let s=t>>>28&15|(e&7)<<4,i=e>>3!=0;if(r.push((i?s|128:s)&255),!!i){for(let n=3;n<31;n=n+7){let o=e>>>n,a=!!(o>>>7),c=(a?o|128:o)&255;if(r.push(c),!a)return}r.push(e>>>31&1)}}fn.varint64write=ttt;var Gv=65536*65536;function rtt(t){let e=t[0]=="-";e&&(t=t.slice(1));let r=1e6,s=0,i=0;function n(o,a){let c=Number(t.slice(o,a));i*=r,s=s*r+c,s>=Gv&&(i=i+(s/Gv|0),s=s%Gv)}return n(-24,-18),n(-18,-12),n(-12,-6),n(-6),[e,s,i]}fn.int64fromString=rtt;function stt(t,e){if(e>>>0<=2097151)return""+(Gv*e+(t>>>0));let r=t&16777215,s=(t>>>24|e<<8)>>>0&16777215,i=e>>16&65535,n=r+s*6777216+i*6710656,o=s+i*8147497,a=i*2,c=1e7;n>=c&&(o+=Math.floor(n/c),n%=c),o>=c&&(a+=Math.floor(o/c),o%=c);function l(u,h){let d=u?String(u):"";return h?"0000000".slice(d.length)+d:d}return l(a,0)+l(o,a)+l(n,1)}fn.int64toString=stt;function itt(t,e){if(t>=0){for(;t>127;)e.push(t&127|128),t=t>>>7;e.push(t)}else{for(let r=0;r<9;r++)e.push(t&127|128),t=t>>7;e.push(1)}}fn.varint32write=itt;function ntt(){let t=this.buf[this.pos++],e=t&127;if((t&128)==0)return this.assertBounds(),e;if(t=this.buf[this.pos++],e|=(t&127)<<7,(t&128)==0)return this.assertBounds(),e;if(t=this.buf[this.pos++],e|=(t&127)<<14,(t&128)==0)return this.assertBounds(),e;if(t=this.buf[this.pos++],e|=(t&127)<<21,(t&128)==0)return this.assertBounds(),e;t=this.buf[this.pos++],e|=(t&15)<<28;for(let r=5;(t&128)!==0&&r<10;r++)t=this.buf[this.pos++];if((t&128)!=0)throw new Error("invalid varint");return this.assertBounds(),e>>>0}fn.varint32read=ntt});var dd=A(hd=>{"use strict";Object.defineProperty(hd,"__esModule",{value:!0});hd.PbLong=hd.PbULong=hd.detectBi=void 0;var _0=Hv(),Mt;function aAe(){let t=new DataView(new ArrayBuffer(8));Mt=globalThis.BigInt!==void 0&&typeof t.getBigInt64=="function"&&typeof t.getBigUint64=="function"&&typeof t.setBigInt64=="function"&&typeof t.setBigUint64=="function"?{MIN:BigInt("-9223372036854775808"),MAX:BigInt("9223372036854775807"),UMIN:BigInt("0"),UMAX:BigInt("18446744073709551615"),C:BigInt,V:t}:void 0}hd.detectBi=aAe;aAe();function cAe(t){if(!t)throw new Error("BigInt unavailable, see https://github.com/timostamm/protobuf-ts/blob/v1.0.8/MANUAL.md#bigint-support")}var lAe=/^-?[0-9]+$/,Vv=4294967296,zv=2147483648,$v=c Line truncated
`)}};mT.RpcError=L8});var F8=A(yT=>{"use strict";Object.defineProperty(yT,"__esModule",{value:!0});yT.mergeRpcOptions=void 0;var UAe=kr();function Nrt(t,e){if(!e)return t;let r={};gT(t,r),gT(e,r);for(let s of Object.keys(e)){let i=e[s];switch(s){case"jsonOptions":r.jsonOptions=UAe.mergeJsonOptions(t.jsonOptions,r.jsonOptions);break;case"binaryOptions":r.binaryOptions=UAe.mergeBinaryOptions(t.binaryOptions,r.binaryOptions);break;case"meta":r.meta={},gT(t.meta,r.meta),gT(e.meta,r.meta);break;case"interceptors":r.interceptors=t.interceptors?t.interceptors.concat(i):i.concat();break}}return r}yT.mergeRpcOptions=Nrt;function gT(t,e){if(!t)return;let r=e;for(let[s,i]of Object.entries(t))i instanceof Date?r[s]=new Date(i.getTime()):Array.isArray(i)?r[s]=i.concat():r[s]=i}});var G8=A(gp=>{"use strict";Object.defineProperty(gp,"__esModule",{value:!0});gp.Deferred=gp.DeferredState=void 0;var Zc;(function(t){t[t.PENDING=0]="PENDING",t[t.REJECTED=1]="REJECTED",t[t.RESOLVED=2]="RESOLVED"})(Zc=gp.DeferredState||(gp.DeferredState={}));var q8=class{constructor(e=!0){this._state=Zc.PENDING,this._promise=new Promise((r,s)=>{this._resolve=r,this._reject=s}),e&&this._promise.catch(r=>{})}get state(){return this._state}get promise(){return this._promise}resolve(e){if(this.state!==Zc.PENDING)throw new Error(`cannot resolve ${Zc[this.state].toLowerCase()}`);this._resolve(e),this._state=Zc.RESOLVED}reject(e){if(this.state!==Zc.PENDING)throw new Error(`cannot reject ${Zc[this.state].toLowerCase()}`);this._reject(e),this._state=Zc.REJECTED}resolvePending(e){this._state===Zc.PENDING&&this.resolve(e)}rejectPending(e){this._state===Zc.PENDING&&this.reject(e)}};gp.Deferred=q8});var z8=A(ET=>{"use strict";Object.defineProperty(ET,"__esModule",{value:!0});ET.RpcOutputStreamController=void 0;var FAe=G8(),yp=kr(),H8=class{constructor(){this._lis={nxt:[],msg:[],err:[],cmp:[]},this._closed=!1,this._itState={q:[]}}onNext(e){return this.addLis(e,this._lis.nxt)}onMessage(e){return this.addLis(e,this._lis.msg)}onError(e){return this.addLis(e,this._lis.err)}onComplete(e){return this.addLis(e,this._lis.cmp)}addLis(e,r){return r.push(e),()=>{let s=r.indexOf(e);s>=0&&r.splice(s,1)}}clearLis(){for(let e of Object.values(this._lis))e.splice(0,e.length)}get closed(){return this._closed!==!1}notifyNext(e,r,s){yp.assert((e?1:0)+(r?1:0)+(s?1:0)<=1,"only one emission at a time"),e&&this.notifyMessage(e),r&&this.notifyError(r),s&&this.notifyComplete()}notifyMessage(e){yp.assert(!this.closed,"stream is closed"),this.pushIt({value:e,done:!1}),this._lis.msg.forEach(r=>r(e)),this._lis.nxt.forEach(r=>r(e,void 0,!1))}notifyError(e){yp.assert(!this.closed,"stream is closed"),this._closed=e,this.pushIt(e),this._lis.err.forEach(r=>r(e)),this._lis.nxt.forEach(r=>r(void 0,e,!1)),this.clearLis()}notifyComplete(){yp.assert(!this.closed,"stream is closed"),this._closed=!0,this.pushIt({value:null,done:!0}),this._lis.cmp.forEach(e=>e()),this._lis.nxt.forEach(e=>e(void 0,void 0,!0)),this.clearLis()}[Symbol.asyncIterator](){return this._closed===!0?this.pushIt({value:null,done:!0}):this._closed!==!1&&this.pushIt(this._closed),{next:()=>{let e=this._itState;yp.assert(e,"bad state"),yp.assert(!e.p,"iterator contract broken");let r=e.q.shift();return r?"value"in r?Promise.resolve(r):Promise.reject(r):(e.p=new FAe.Deferred,e.p.promise)}}}pushIt(e){let r=this._itState;if(r.p){let s=r.p;yp.assert(s.state==FAe.DeferredState.PENDING,"iterator contract broken"),"value"in e?s.resolve(e):s.reject(e),delete r.p}else r.q.push(e)}};ET.RpcOutputStreamController=H8});var $8=A(Tg=>{"use strict";var Rrt=Tg&&Tg.__awaiter||function(t,e,r,s){function i(n){return n instanceof r?n:new r(function(o){o(n)})}return new(r||(r=Promise))(function(n,o){function a(u){try{l(s.next(u))}catch(h){o(h)}}function c(u){try{l(s.throw(u))}catch(h){o(h)}}function l(u){u.done?n(u.value):i(u.value).then(a,c)}l((s=s.apply(t,e||[])).next())})};Object.defineProperty(Tg,"__esModule",{value:!0});Tg.UnaryCall=void 0;var V8=class{constructor(e,r,s,i,n,o,a){this.method=e,this.requestHeaders=r,this.request=s,this.headers=i,this.response=n,this.status=o,this.trailers=a}then(e,r){return this.promiseFinished().then(s=>e?Promise.resolve(e(s)):s,s=>r?Promise.resolve(r(s)):Promise.reject(s))}promiseFinished(){return Rrt(this,void 0,void 0,function*(){let[e,r,s,i]=yield Promise.all([this.headers,this.response,this.status,this.trailers]);return{method:this.method,requestHeaders:this.requestHeaders,request:this.request,headers:e,response:r,status:s,trailers:i}})}};Tg.UnaryCall=V8});var J8=A(_g=>{"use strict";var vrt=_g&&_g.__awaiter||function(t,e,r,s){function i(n){return n instanceof r?n:new r(function(o){o(n)})}return new(r||(r=Promise))(function(n,o){function a(u){try{l(s.next(u))}catch(h){o(h)}}function c(u){try{l(s.throw(u))}catch(h){o(h)}}function l(u){u.done?n(u.value):i(u.value).then(a,c)}l((s=s.apply(t,e||[])).next())})};Object.defineProperty(_g,"__esModule",{value:!0});_g.ServerStreamingCall=void 0;var j8=class{constructor(e Line truncated
Operation status: ${d}
Polling status: ${vZ.includes(d)?"Stopped":"Running"}`),d==="succeeded"){let A=a(u,r);if(A!==void 0)return{response:await e(A).catch(RZ({state:r,stateProxy:s,isOperationError:c})),status:d}}return{response:u,status:d}}o(SOe,"pollOperationHelper");async function DZ(t){let{poll:e,state:r,stateProxy:s,options:n,getOperationStatus:i,getResourceLocation:a,getOperationLocation:c,isOperationError:l,withOperationLocation:u,getPollingInterval:d,processResult:A,getError:p,updateState:f,setDelay:m,isDone:g,setErrorAsResult:y}=t,{operationLocation:E}=r.config;if(E!==void 0){let{response:C,status:I}=await SOe({poll:e,getOperationStatus:i,state:r,stateProxy:s,operationLocation:E,getResourceLocation:a,isOperationError:l,options:n});if(_Z({status:I,response:C,state:r,stateProxy:s,isDone:g,processResult:A,getError:p,setErrorAsResult:y}),!vZ.includes(I)){let b=d?.(C);b&&m(b);let N=c?.(C,r);if(N!==void 0){let Q=E!==N;r.config.operationLocation=N,u?.(N,Q)}else u?.(E,!1)}f?.(r,C)}}o(DZ,"pollOperation");function OZ(t){let{azureAsyncOperation:e,operationLocation:r}=t;return r??e}o(OZ,"getOperationLocationPollingUrl");function MZ(t){return t.headers.location}o(MZ,"getLocationHeader");function LZ(t){return t.headers["operation-location"]}o(LZ,"getOperationLocationHeader");function FZ(t){return t.headers["azure-asyncoperation"]}o(FZ,"getAzureAsyncOperationHeader");function NOe(t){let{location:e,requestMethod:r,requestPath:s,resourceLocationConfig:n}=t;switch(r){case"PUT":return s;case"DELETE":return;default:switch(n){case"azure-async-operation":return;case"original-uri":return s;default:return e}}}o(NOe,"findResourceLocation");function UZ(t){let{rawResponse:e,requestMethod:r,requestPath:s,resourceLocationConfig:n}=t,i=LZ(e),a=FZ(e),c=OZ({operationLocation:i,azureAsyncOperation:a}),l=MZ(e),u=r?.toLocaleUpperCase();return c!==void 0?{mode:"OperationLocation",operationLocation:c,resourceLocation:NOe({requestMethod:u,location:l,requestPath:s,resourceLocationConfig:n})}:l!==void 0?{mode:"ResourceLocation",operationLocation:l}:u==="PUT"&&s?{mode:"Body",operationLocation:s}:void 0}o(UZ,"inferLroMode");function qZ(t){let{status:e,statusCode:r}=t;if(typeof e!="string"&&e!==void 0)throw new Error(`Polling was unsuccessful. Expected status to have a string value or no value but it has instead: ${e}. This doesn't necessarily indicate the operation has failed. Check your Azure subscription or resource status for more information.`);switch(e?.toLocaleLowerCase()){case void 0:return ZO(r);case"succeeded":return"succeeded";case"failed":return"failed";case"running":case"accepted":case"started":case"canceling":case"cancelling":return"running";case"canceled":case"cancelled":return"canceled";default:return ou.verbose(`LRO: unrecognized operation status: ${e}`),e}}o(qZ,"transformStatus");function xOe(t){var e;let{status:r}=(e=t.body)!==null&&e!==void 0?e:{};return qZ({status:r,statusCode:t.statusCode})}o(xOe,"getStatus");function QOe(t){var e,r;let{properties:s,provisioningState:n}=(e=t.body)!==null&&e!==void 0?e:{},i=(r=s?.provisioningState)!==null&&r!==void 0?r:n;return qZ({status:i,statusCode:t.statusCode})}o(QOe,"getProvisioningState");function ZO(t){return t===202?"running":t<300?"succeeded":"failed"}o(ZO,"toOperationStatus");function GZ({rawResponse:t}){let e=t.headers["retry-after"];if(e!==void 0){let r=parseInt(e);return isNaN(r)?ROe(new Date(e)):r*1e3}}o(GZ,"parseRetryAfter");function HZ(t){let e=t.flatResponse.error;if(!e){ou.warning("The long-running operation failed but there is no error property in the response's body");return}if(!e.code||!e.message){ou.warning("The long-running operation failed but the error property in the response's body doesn't contain code or message");return}return e}o(HZ,"getErrorFromResponse");function ROe(t){let e=Math.floor(new Date().getTime()),r=t.getTime();if(e<r)return r-e}o(ROe,"calculatePollingIntervalFromDate");function VZ(t){let{response:e,state:r,operationLocation:s}=t;function n(){var a;switch((a=r.config.metadata)===null||a===void 0?void 0:a.mode){case void 0:return ZO(e.rawResponse.statusCode);case"Body":return eM(e,r);default:return"running"}}o(n,"helper");let i=n();return i==="running"&&s===void 0?"succeeded":i}o(VZ,"getStatusFromInitialResponse");async function TOe(t){let{stateProxy:e,resourceLocationConfig:r,processResult:s,lro:n,setErrorAsResult:i}=t;return kZ({init:o(async()=>{let a=await n.sendInitialRequest(),c=UZ({rawResponse:a.rawResponse,requestPath:n.requestPath,requestMethod:n.requestMethod,resourceLocationConfig:r});return Object.assign({response:a,operationLocation:c?.operationLocation,resourceLocation:c?.resourceLocation},c?.mode?{metadata:{mode:c.mode}}:{})},"init"),stateProxy:e,processResult:s?({flatResponse:a},c)=>s(a,c):({flatResponse:a})=>a,getOperationStatus:VZ,setErrorAsResult:i})}o(TOe,"initHttpOperation");function zZ({rawResponse:t},e){var r;switch((r=e.config.metadata)===null||r===void 0?void 0:r.mode){case"OperationLocation":return OZ({operationLocation:LZ(t),azureAsyncOperLine truncated
`:case"\r":case" ":case" ":continue;default:throw Error("invalid base64 string.")}switch(n){case 0:a=i,n=1;break;case 1:r[s++]=a<<2|(i&48)>>4,a=i,n=2;break;case 2:r[s++]=(a&15)<<4|(i&60)>>2,a=i,n=3;break;case 3:r[s++]=(a&3)<<6|i,n=0;break}}if(n==1)throw Error("invalid base64 string.");return r.subarray(0,s)}o(pMe,"base64decode");DA.base64decode=pMe;function fMe(t){let e="",r=0,s,n=0;for(let i=0;i<t.length;i++)switch(s=t[i],r){case 0:e+=Ba[s>>2],n=(s&3)<<4,r=1;break;case 1:e+=Ba[n|s>>4],n=(s&15)<<2,r=2;break;case 2:e+=Ba[n|s>>6],e+=Ba[s&63],r=0;break}return r&&(e+=Ba[n],e+="=",r==1&&(e+="=")),e}o(fMe,"base64encode");DA.base64encode=fMe});var w7=h(Tb=>{"use strict";Object.defineProperty(Tb,"__esModule",{value:!0});Tb.utf8read=void 0;var dM=o(t=>String.fromCharCode.apply(String,t),"fromCharCodes");function hMe(t){if(t.length<1)return"";let e=0,r=[],s=[],n=0,i,a=t.length;for(;e<a;)i=t[e++],i<128?s[n++]=i:i>191&&i<224?s[n++]=(i&31)<<6|t[e++]&63:i>239&&i<365?(i=((i&7)<<18|(t[e++]&63)<<12|(t[e++]&63)<<6|t[e++]&63)-65536,s[n++]=55296+(i>>10),s[n++]=56320+(i&1023)):s[n++]=(i&15)<<12|(t[e++]&63)<<6|t[e++]&63,n>8191&&(r.push(dM(s)),n=0);return r.length?(n&&r.push(dM(s.slice(0,n))),r.join("")):dM(s.slice(0,n))}o(hMe,"utf8read");Tb.utf8read=hMe});var Um=h(go=>{"use strict";Object.defineProperty(go,"__esModule",{value:!0});go.WireType=go.mergeBinaryOptions=go.UnknownFieldHandler=void 0;var mMe;(function(t){t.symbol=Symbol.for("protobuf-ts/unknown"),t.onRead=(r,s,n,i,a)=>{(e(s)?s[t.symbol]:s[t.symbol]=[]).push({no:n,wireType:i,data:a})},t.onWrite=(r,s,n)=>{for(let{no:i,wireType:a,data:c}of t.list(s))n.tag(i,a).raw(c)},t.list=(r,s)=>{if(e(r)){let n=r[t.symbol];return s?n.filter(i=>i.no==s):n}return[]},t.last=(r,s)=>t.list(r,s).slice(-1)[0];let e=o(r=>r&&Array.isArray(r[t.symbol]),"is")})(mMe=go.UnknownFieldHandler||(go.UnknownFieldHandler={}));function gMe(t,e){return Object.assign(Object.assign({},t),e)}o(gMe,"mergeBinaryOptions");go.mergeBinaryOptions=gMe;var EMe;(function(t){t[t.Varint=0]="Varint",t[t.Bit64=1]="Bit64",t[t.LengthDelimited=2]="LengthDelimited",t[t.StartGroup=3]="StartGroup",t[t.EndGroup=4]="EndGroup",t[t.Bit32=5]="Bit32"})(EMe=go.WireType||(go.WireType={}))});var Pb=h(fs=>{"use strict";Object.defineProperty(fs,"__esModule",{value:!0});fs.varint32read=fs.varint32write=fs.int64toString=fs.int64fromString=fs.varint64write=fs.varint64read=void 0;function yMe(){let t=0,e=0;for(let s=0;s<28;s+=7){let n=this.buf[this.pos++];if(t|=(n&127)<<s,(n&128)==0)return this.assertBounds(),[t,e]}let r=this.buf[this.pos++];if(t|=(r&15)<<28,e=(r&112)>>4,(r&128)==0)return this.assertBounds(),[t,e];for(let s=3;s<=31;s+=7){let n=this.buf[this.pos++];if(e|=(n&127)<<s,(n&128)==0)return this.assertBounds(),[t,e]}throw new Error("invalid varint")}o(yMe,"varint64read");fs.varint64read=yMe;function CMe(t,e,r){for(let i=0;i<28;i=i+7){let a=t>>>i,c=!(!(a>>>7)&&e==0),l=(c?a|128:a)&255;if(r.push(l),!c)return}let s=t>>>28&15|(e&7)<<4,n=e>>3!=0;if(r.push((n?s|128:s)&255),!!n){for(let i=3;i<31;i=i+7){let a=e>>>i,c=!!(a>>>7),l=(c?a|128:a)&255;if(r.push(l),!c)return}r.push(e>>>31&1)}}o(CMe,"varint64write");fs.varint64write=CMe;var vb=65536*65536;function IMe(t){let e=t[0]=="-";e&&(t=t.slice(1));let r=1e6,s=0,n=0;function i(a,c){let l=Number(t.slice(a,c));n*=r,s=s*r+l,s>=vb&&(n=n+(s/vb|0),s=s%vb)}return o(i,"add1e6digit"),i(-24,-18),i(-18,-12),i(-12,-6),i(-6),[e,s,n]}o(IMe,"int64fromString");fs.int64fromString=IMe;function BMe(t,e){if(e>>>0<=2097151)return""+(vb*e+(t>>>0));let r=t&16777215,s=(t>>>24|e<<8)>>>0&16777215,n=e>>16&65535,i=r+s*6777216+n*6710656,a=s+n*8147497,c=n*2,l=1e7;i>=l&&(a+=Math.floor(i/l),i%=l),a>=l&&(c+=Math.floor(a/l),a%=l);function u(d,A){let p=d?String(d):"";return A?"0000000".slice(p.length)+p:p}return o(u,"decimalFrom1e7"),u(c,0)+u(a,c)+u(i,1)}o(BMe,"int64toString");fs.int64toString=BMe;function bMe(t,e){if(t>=0){for(;t>127;)e.push(t&127|128),t=t>>>7;e.push(t)}else{for(let r=0;r<9;r++)e.push(t&127|128),t=t>>7;e.push(1)}}o(bMe,"varint32write");fs.varint32write=bMe;function wMe(){let t=this.buf[this.pos++],e=t&127;if((t&128)==0)return this.assertBounds(),e;if(t=this.buf[this.pos++],e|=(t&127)<<7,(t&128)==0)return this.assertBounds(),e;if(t=this.buf[this.pos++],e|=(t&127)<<14,(t&128)==0)return this.assertBounds(),e;if(t=this.buf[this.pos++],e|=(t&127)<<21,(t&128)==0)return this.assertBounds(),e;t=this.buf[this.pos++],e|=(t&15)<<28;for(let r=5;(t&128)!==0&&r<10;r++)t=this.buf[this.pos++];if((t&128)!=0)throw new Error("invalid varint");return this.assertBounds(),e>>>0}o(wMe,"varint32read");fs.varint32read=wMe});var Rc=h(Qc=>{"use strict";Object.defineProperty(Qc,"__esModule",{value:!0});Qc.PbLong=Qc.PbULong=Qc.detectBi=void 0;var qm=Pb(),ze;function S7(){let t=new DataView(new ArrayBuffer(8));ze=globalThis.BigInt!==void 0&&typeof t.getBigInt64=="function"&&typeof t.getBigUint64=="function"&&typeof t.setBigInt64=="function"&&typeof t.setBigUint64=="function"?{MIN:BigInt("-9223372036854775808"),MAX:BigInt("9223372036854775807" Line truncated
`)}};iw.RpcError=LM});var UM=h(aw=>{"use strict";Object.defineProperty(aw,"__esModule",{value:!0});aw.mergeRpcOptions=void 0;var see=Dt();function JLe(t,e){if(!e)return t;let r={};ow(t,r),ow(e,r);for(let s of Object.keys(e)){let n=e[s];switch(s){case"jsonOptions":r.jsonOptions=see.mergeJsonOptions(t.jsonOptions,r.jsonOptions);break;case"binaryOptions":r.binaryOptions=see.mergeBinaryOptions(t.binaryOptions,r.binaryOptions);break;case"meta":r.meta={},ow(t.meta,r.meta),ow(e.meta,r.meta);break;case"interceptors":r.interceptors=t.interceptors?t.interceptors.concat(n):n.concat();break}}return r}o(JLe,"mergeRpcOptions");aw.mergeRpcOptions=JLe;function ow(t,e){if(!t)return;let r=e;for(let[s,n]of Object.entries(t))n instanceof Date?r[s]=new Date(n.getTime()):Array.isArray(n)?r[s]=n.concat():r[s]=n}o(ow,"copy")});var GM=h(du=>{"use strict";Object.defineProperty(du,"__esModule",{value:!0});du.Deferred=du.DeferredState=void 0;var Co;(function(t){t[t.PENDING=0]="PENDING",t[t.REJECTED=1]="REJECTED",t[t.RESOLVED=2]="RESOLVED"})(Co=du.DeferredState||(du.DeferredState={}));var qM=class{static{o(this,"Deferred")}constructor(e=!0){this._state=Co.PENDING,this._promise=new Promise((r,s)=>{this._resolve=r,this._reject=s}),e&&this._promise.catch(r=>{})}get state(){return this._state}get promise(){return this._promise}resolve(e){if(this.state!==Co.PENDING)throw new Error(`cannot resolve ${Co[this.state].toLowerCase()}`);this._resolve(e),this._state=Co.RESOLVED}reject(e){if(this.state!==Co.PENDING)throw new Error(`cannot reject ${Co[this.state].toLowerCase()}`);this._reject(e),this._state=Co.REJECTED}resolvePending(e){this._state===Co.PENDING&&this.resolve(e)}rejectPending(e){this._state===Co.PENDING&&this.reject(e)}};du.Deferred=qM});var VM=h(cw=>{"use strict";Object.defineProperty(cw,"__esModule",{value:!0});cw.RpcOutputStreamController=void 0;var nee=GM(),Au=Dt(),HM=class{static{o(this,"RpcOutputStreamController")}constructor(){this._lis={nxt:[],msg:[],err:[],cmp:[]},this._closed=!1,this._itState={q:[]}}onNext(e){return this.addLis(e,this._lis.nxt)}onMessage(e){return this.addLis(e,this._lis.msg)}onError(e){return this.addLis(e,this._lis.err)}onComplete(e){return this.addLis(e,this._lis.cmp)}addLis(e,r){return r.push(e),()=>{let s=r.indexOf(e);s>=0&&r.splice(s,1)}}clearLis(){for(let e of Object.values(this._lis))e.splice(0,e.length)}get closed(){return this._closed!==!1}notifyNext(e,r,s){Au.assert((e?1:0)+(r?1:0)+(s?1:0)<=1,"only one emission at a time"),e&&this.notifyMessage(e),r&&this.notifyError(r),s&&this.notifyComplete()}notifyMessage(e){Au.assert(!this.closed,"stream is closed"),this.pushIt({value:e,done:!1}),this._lis.msg.forEach(r=>r(e)),this._lis.nxt.forEach(r=>r(e,void 0,!1))}notifyError(e){Au.assert(!this.closed,"stream is closed"),this._closed=e,this.pushIt(e),this._lis.err.forEach(r=>r(e)),this._lis.nxt.forEach(r=>r(void 0,e,!1)),this.clearLis()}notifyComplete(){Au.assert(!this.closed,"stream is closed"),this._closed=!0,this.pushIt({value:null,done:!0}),this._lis.cmp.forEach(e=>e()),this._lis.nxt.forEach(e=>e(void 0,void 0,!0)),this.clearLis()}[Symbol.asyncIterator](){return this._closed===!0?this.pushIt({value:null,done:!0}):this._closed!==!1&&this.pushIt(this._closed),{next:o(()=>{let e=this._itState;Au.assert(e,"bad state"),Au.assert(!e.p,"iterator contract broken");let r=e.q.shift();return r?"value"in r?Promise.resolve(r):Promise.reject(r):(e.p=new nee.Deferred,e.p.promise)},"next")}}pushIt(e){let r=this._itState;if(r.p){let s=r.p;Au.assert(s.state==nee.DeferredState.PENDING,"iterator contract broken"),"value"in e?s.resolve(e):s.reject(e),delete r.p}else r.q.push(e)}};cw.RpcOutputStreamController=HM});var JM=h(GA=>{"use strict";var YLe=GA&&GA.__awaiter||function(t,e,r,s){function n(i){return i instanceof r?i:new r(function(a){a(i)})}return o(n,"adopt"),new(r||(r=Promise))(function(i,a){function c(d){try{u(s.next(d))}catch(A){a(A)}}o(c,"fulfilled");function l(d){try{u(s.throw(d))}catch(A){a(A)}}o(l,"rejected");function u(d){d.done?i(d.value):n(d.value).then(c,l)}o(u,"step"),u((s=s.apply(t,e||[])).next())})};Object.defineProperty(GA,"__esModule",{value:!0});GA.UnaryCall=void 0;var zM=class{static{o(this,"UnaryCall")}constructor(e,r,s,n,i,a,c){this.method=e,this.requestHeaders=r,this.request=s,this.headers=n,this.response=i,this.status=a,this.trailers=c}then(e,r){return this.promiseFinished().then(s=>e?Promise.resolve(e(s)):s,s=>r?Promise.resolve(r(s)):Promise.reject(s))}promiseFinished(){return YLe(this,void 0,void 0,function*(){let[e,r,s,n]=yield Promise.all([this.headers,this.response,this.status,this.trailers]);return{method:this.method,requestHeaders:this.requestHeaders,request:this.request,headers:e,response:r,status:s,trailers:n}})}};GA.UnaryCall=zM});var $M=h(HA=>{"use strict";var $Le=HA&&HA.__awaiter||function(t,e,r,s){function n(i){return i instanceof r?i:new r(function(a){a(i)})}return o(n,"adopt"),new(r||(r=Promise))(function(i,a){function c(d){try{u(s.next(d))}catch(A){a(A)}}o(c,"fulfilled");function Line truncated
You can add a runtime option to disable the check or this warning:
See https://handlebarsjs.com/api-reference/runtime-options.html#options-to-control-prototype-access for details`))}function Sit(){Object.keys(qT).forEach(function(t){delete qT[t]})}});var HT=A(rl=>{"use strict";rl.__esModule=!0;rl.HandlebarsEnvironment=jz;function ege(t){return t&&t.__esModule?t:{default:t}}var wp=_i(),xit=so(),Vz=ege(xit),Nit=qz(),Rit=Wme(),vit=Hz(),GT=ege(vit),Tit=zz(),_it="4.7.9";rl.VERSION=_it;var Qit=8;rl.COMPILER_REVISION=Qit;var Pit=7;rl.LAST_COMPATIBLE_COMPILER_REVISION=Pit;var Oit={1:"<= 1.0.rc.2",2:"== 1.0.0-rc.3",3:"== 1.0.0-rc.4",4:"== 1.x.x",5:"== 2.0.0-alpha.x",6:">= 2.0.0-beta.1",7:">= 4.0.0 <4.3.0",8:">= 4.3.0"};rl.REVISION_CHANGES=Oit;var $z="[object Object]";function jz(t,e,r){this.helpers=t||{},this.partials=e||{},this.decorators=r||{},Nit.registerDefaultHelpers(this),Rit.registerDefaultDecorators(this)}jz.prototype={constructor:jz,logger:GT.default,log:GT.default.log,registerHelper:function(e,r){if(wp.toString.call(e)===$z){if(r)throw new Vz.default("Arg not supported with multiple helpers");wp.extend(this.helpers,e)}else this.helpers[e]=r},unregisterHelper:function(e){delete this.helpers[e]},registerPartial:function(e,r){if(wp.toString.call(e)===$z)wp.extend(this.partials,e);else{if(typeof r>"u")throw new Vz.default('Attempting to register a partial called "'+e+'" as undefined');this.partials[e]=r}},unregisterPartial:function(e){delete this.partials[e]},registerDecorator:function(e,r){if(wp.toString.call(e)===$z){if(r)throw new Vz.default("Arg not supported with multiple decorators");wp.extend(this.decorators,e)}else this.decorators[e]=r},unregisterDecorator:function(e){delete this.decorators[e]},resetLoggedPropertyAccesses:function(){Tit.resetLoggedProperties()}};var Dit=GT.default.log;rl.log=Dit;rl.createFrame=wp.createFrame;rl.logger=GT.default});var rge=A((zT,tge)=>{"use strict";zT.__esModule=!0;function Jz(t){this.string=t}Jz.prototype.toString=Jz.prototype.toHTML=function(){return""+this.string};zT.default=Jz;tge.exports=zT.default});var sge=A(Yz=>{"use strict";Yz.__esModule=!0;Yz.wrapHelper=kit;function kit(t,e){if(typeof t!="function")return t;var r=function(){var i=arguments[arguments.length-1];return arguments[arguments.length-1]=e(i),t.apply(this,arguments)};return r}});var lge=A(Ad=>{"use strict";Ad.__esModule=!0;Ad.checkRevision=Git;Ad.template=Hit;Ad.wrapProgram=VT;Ad.resolvePartial=zit;Ad.invokePartial=Vit;Ad.noop=age;function Mit(t){return t&&t.__esModule?t:{default:t}}function Lit(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e.default=t,e}var Uit=_i(),Gg=Lit(Uit),Fit=so(),Su=Mit(Fit),xu=HT(),ige=qz(),qit=sge(),nge=zz();function Git(t){var e=t&&t[0]||1,r=xu.COMPILER_REVISION;if(!(e>=xu.LAST_COMPATIBLE_COMPILER_REVISION&&e<=xu.COMPILER_REVISION))if(e<xu.LAST_COMPATIBLE_COMPILER_REVISION){var s=xu.REVISION_CHANGES[r],i=xu.REVISION_CHANGES[e];throw new Su.default("Template was precompiled with an older version of Handlebars than the current runtime. Please update your precompiler to a newer version ("+s+") or downgrade your runtime to an older version ("+i+").")}else throw new Su.default("Template was precompiled with a newer version of Handlebars than the current runtime. Please update your runtime to a newer version ("+t[1]+").")}function Hit(t,e){if(!e)throw new Su.default("No environment passed to template");if(!t||!t.main)throw new Su.default("Unknown template object: "+typeof t);t.main.decorator=t.main_d,e.VM.checkRevision(t.compiler);var r=t.compiler&&t.compiler[0]===7;function s(o,a,c){c.hash&&(a=Gg.extend({},a,c.hash),c.ids&&(c.ids[0]=!0)),o=e.VM.resolvePartial.call(this,o,a,c),c.hooks=this.hooks,c.protoAccessControl=this.protoAccessControl;var l=e.VM.invokePartial.call(this,o,a,c);if(l==null&&e.compile&&(c.partials[c.name]=e.compile(o,t.compilerOptions,e),l=c.partials[c.name](a,c)),l!=null){if(c.indent){for(var u=l.split(`
`),h=0,d=u.length;h<d&&!(!u[h]&&h+1===d);h++)u[h]=c.indent+u[h];l=u.join(`
`)}return l}else throw new Su.default("The partial "+c.name+" could not be compiled when running in runtime-only mode")}var i={strict:function(a,c,l){if(!a||!(c in a))throw new Su.default('"'+c+'" not defined in '+a,{loc:l});return i.lookupProperty(a,c)},lookupProperty:function(a,c){var l=a[c];if(l==null||Object.prototype.hasOwnProperty.call(a,c)||nge.resultIsAllowed(l,i.protoAccessControl,c))return l},lookup:function(a,c){for(var l=a.length,u=0;u<l;u++){var h=a[u]&&i.lookupProperty(a[u],c);if(h!=null)return h}},lambda:function(a,c){return typeof a=="function"?a.call(c):a},escapeExpression:Gg.escapeExpression,invokePartial:s,fn:function(a){var c=t[a];return c.decorator=t[a+"_d"],c},programs:[],program:function(a,c,l,u,h){var d=this.programs[a],f=this.fn(a);return c||h||u||l?d=VT(this,a,f,c,l,u,h):d||(d=this.programs[a]=VT(this,a,f)),d},data:function(a,c){for(;a&&c--;)a=a._parent;return a},mergeIfNeeded:function(a,c){var l=a||c;return a&&c&&a!==c&&(l=Gg.extend({},c,a)),l},nullContext:Object.seal({}),noop:e.VM.noop,compilerInfo:t.compiler};function n(o){var a=arguments.length<=1||arguments[1]===void 0?{}:arguments[1],c=a.data;n._setup(a),!a.partial&&t.useData&&(c=$it(o,c));var l=void 0,u=t.useBlockParams?[]:void 0;t.useDepths&&(a.depths?l=o!=a.depths[0]?[o].concat(a.depths):a.depths:l=[o]);function h(d){return""+t.main(i,d,i.helpers,i.partials,c,u,l)}return h=cge(t.main,h,i,a.depths||[],c,u),h(o,a)}return n.isTop=!0,n._setup=function(o){if(o.partial)i.protoAccessControl=o.protoAccessControl,i.helpers=o.helpers,i.partials=o.partials,i.decorators=o.decorators,i.hooks=o.hooks;else{var a={};oge(a,e.helpers,i),oge(a,o.helpers,i),i.helpers=a,t.usePartial&&(i.partials=i.mergeIfNeeded(o.partials,e.partials)),(t.usePartial||t.useDecorators)&&(i.decorators=Gg.extend({},e.decorators,o.decorators)),i.hooks={},i.protoAccessControl=nge.createProtoAccessControl(o);var c=o.allowCallsToHelperMissing||r;ige.moveHelperToHooks(i,"helperMissing",c),ige.moveHelperToHooks(i,"blockHelperMissing",c)}},n._child=function(o,a,c,l){if(t.useBlockParams&&!c)throw new Su.default("must pass block params");if(t.useDepths&&!l)throw new Su.default("must pass parent depths");return VT(i,o,t[o],a,0,c,l)},n}function VT(t,e,r,s,i,n,o){function a(c){var l=arguments.length<=1||arguments[1]===void 0?{}:arguments[1],u=o;return o&&c!=o[0]&&!(c===t.nullContext&&o[0]===null)&&(u=[c].concat(o)),r(t,c,t.helpers,t.partials,l.data||s,n&&[l.blockParams].concat(n),u)}return a=cge(r,a,t,o,s,n),a.program=e,a.depth=o?o.length:0,a.blockParams=i||0,a}function zit(t,e,r){return t?!t.call&&!r.name&&(r.name=t,t=$T(r.partials,t)):r.name==="@partial-block"?t=$T(r.data,"partial-block"):t=$T(r.partials,r.name),t}function Vit(t,e,r){var s=$T(r.data,"partial-block");r.partial=!0,r.ids&&(r.data.contextPath=r.ids[0]||r.data.contextPath);var i=void 0;if(r.fn&&r.fn!==age&&(function(){r.data=xu.createFrame(r.data);var n=r.fn;i=r.data["partial-block"]=function(a){var c=arguments.length<=1||arguments[1]===void 0?{}:arguments[1];return c.data=xu.createFrame(c.data),c.data["partial-block"]=s,n(a,c)},n.partials&&(r.partials=Gg.extend({},r.partials,n.partials))})(),t===void 0&&i&&(t=i),t===void 0)throw new Su.default("The partial "+r.name+" could not be found");if(t instanceof Function)return t(e,r)}function age(){return""}function $T(t,e){if(t&&Object.prototype.hasOwnProperty.call(t,e))return t[e]}function $it(t,e){return(!e||!("root"in e))&&(e=e?xu.createFrame(e):{},e.root=t),e}function cge(t,e,r,s,i,n){if(t.decorator){var o={};e=t.decorator(e,o,r,s&&s[0],i,n,s),Gg.extend(e,o)}return e}function oge(t,e,r){e&&Object.keys(e).forEach(function(s){var i=e[s];t[s]=jit(i,r)})}function jit(t,e){var r=e.lookupProperty;return qit.wrapHelper(t,function(s){return s.lookupProperty=r,s})}});var Wz=A((jT,uge)=>{"use strict";jT.__esModule=!0;jT.default=function(t){(function(){typeof globalThis!="object"&&(Object.prototype.__defineGetter__("__magic__",function(){return this}),__magic__.globalThis=__magic__,delete Object.prototype.__magic__)})();var e=globalThis.Handlebars;t.noConflict=function(){return globalThis.Handlebars===t&&(globalThis.Handlebars=e),t}};uge.exports=jT.default});var Age=A((JT,pge)=>{"use strict";JT.__esModule=!0;function Xz(t){return t&&t.__esModule?t:{default:t}}function Zz(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e.default=t,e}var Jit=HT(),hge=Zz(Jit),Yit=rge(),Wit=Xz(Yit),Kit=so(),Xit=Xz(Kit),Zit=_i(),Kz=Zz(Zit),ent=lge(),dge=Zz(ent),tnt=Wz(),rnt=Xz(tnt);function fge(){var t=new hge.HandlebarsEnvironment;return Kz.extend(t,hge),t.SafeString=Wit.default,t.Exception=Xit.default,t.Utils=Kz,t.escapeExpression=Kz.escapeExpression,t.VM=dge,t.template=function(e){return dge.template(e,t)},t}var Y0=fge();Y0.create=fge;rnt.default(Y0);Y0.default=Y0;JT.default=Y0;pge.exports=JT.default});var eV=A((YT,gge)=>{"use strict";YT.__esModule=!0;var mge={helpers:{helperExpression:function(e){return e.type===" Line truncated
See https://handlebarsjs.com/api-reference/runtime-options.html#options-to-control-prototype-access for details`))}o(J1e,"logUnexpecedPropertyAccessOnce");function Y1e(){Object.keys(vw).forEach(function(t){delete vw[t]})}o(Y1e,"resetLoggedProperties")});var _w=h(bo=>{"use strict";bo.__esModule=!0;bo.HandlebarsEnvironment=$L;function Nte(t){return t&&t.__esModule?t:{default:t}}o(Nte,"_interopRequireDefault");var yu=Yr(),$1e=en(),JL=Nte($1e),W1e=GL(),j1e=Bte(),K1e=VL(),Pw=Nte(K1e),X1e=zL(),Z1e="4.7.9";bo.VERSION=Z1e;var eUe=8;bo.COMPILER_REVISION=eUe;var tUe=7;bo.LAST_COMPATIBLE_COMPILER_REVISION=tUe;var rUe={1:"<= 1.0.rc.2",2:"== 1.0.0-rc.3",3:"== 1.0.0-rc.4",4:"== 1.x.x",5:"== 2.0.0-alpha.x",6:">= 2.0.0-beta.1",7:">= 4.0.0 <4.3.0",8:">= 4.3.0"};bo.REVISION_CHANGES=rUe;var YL="[object Object]";function $L(t,e,r){this.helpers=t||{},this.partials=e||{},this.decorators=r||{},W1e.registerDefaultHelpers(this),j1e.registerDefaultDecorators(this)}o($L,"HandlebarsEnvironment");$L.prototype={constructor:$L,logger:Pw.default,log:Pw.default.log,registerHelper:o(function(e,r){if(yu.toString.call(e)===YL){if(r)throw new JL.default("Arg not supported with multiple helpers");yu.extend(this.helpers,e)}else this.helpers[e]=r},"registerHelper"),unregisterHelper:o(function(e){delete this.helpers[e]},"unregisterHelper"),registerPartial:o(function(e,r){if(yu.toString.call(e)===YL)yu.extend(this.partials,e);else{if(typeof r>"u")throw new JL.default('Attempting to register a partial called "'+e+'" as undefined');this.partials[e]=r}},"registerPartial"),unregisterPartial:o(function(e){delete this.partials[e]},"unregisterPartial"),registerDecorator:o(function(e,r){if(yu.toString.call(e)===YL){if(r)throw new JL.default("Arg not supported with multiple decorators");yu.extend(this.decorators,e)}else this.decorators[e]=r},"registerDecorator"),unregisterDecorator:o(function(e){delete this.decorators[e]},"unregisterDecorator"),resetLoggedPropertyAccesses:o(function(){X1e.resetLoggedProperties()},"resetLoggedPropertyAccesses")};var sUe=Pw.default.log;bo.log=sUe;bo.createFrame=yu.createFrame;bo.logger=Pw.default});var Qte=h((kw,xte)=>{"use strict";kw.__esModule=!0;function WL(t){this.string=t}o(WL,"SafeString");WL.prototype.toString=WL.prototype.toHTML=function(){return""+this.string};kw.default=WL;xte.exports=kw.default});var Rte=h(jL=>{"use strict";jL.__esModule=!0;jL.wrapHelper=nUe;function nUe(t,e){if(typeof t!="function")return t;var r=o(function(){var n=arguments[arguments.length-1];return arguments[arguments.length-1]=e(n),t.apply(this,arguments)},"wrapper");return r}o(nUe,"wrapHelper")});var Dte=h(Pc=>{"use strict";Pc.__esModule=!0;Pc.checkRevision=uUe;Pc.template=dUe;Pc.wrapProgram=Dw;Pc.resolvePartial=AUe;Pc.invokePartial=pUe;Pc.noop=_te;function iUe(t){return t&&t.__esModule?t:{default:t}}o(iUe,"_interopRequireDefault");function oUe(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e.default=t,e}o(oUe,"_interopRequireWildcard");var aUe=Yr(),ZA=oUe(aUe),cUe=en(),Sa=iUe(cUe),Na=_w(),Tte=GL(),lUe=Rte(),vte=zL();function uUe(t){var e=t&&t[0]||1,r=Na.COMPILER_REVISION;if(!(e>=Na.LAST_COMPATIBLE_COMPILER_REVISION&&e<=Na.COMPILER_REVISION))if(e<Na.LAST_COMPATIBLE_COMPILER_REVISION){var s=Na.REVISION_CHANGES[r],n=Na.REVISION_CHANGES[e];throw new Sa.default("Template was precompiled with an older version of Handlebars than the current runtime. Please update your precompiler to a newer version ("+s+") or downgrade your runtime to an older version ("+n+").")}else throw new Sa.default("Template was precompiled with a newer version of Handlebars than the current runtime. Please update your runtime to a newer version ("+t[1]+").")}o(uUe,"checkRevision");function dUe(t,e){if(!e)throw new Sa.default("No environment passed to template");if(!t||!t.main)throw new Sa.default("Unknown template object: "+typeof t);t.main.decorator=t.main_d,e.VM.checkRevision(t.compiler);var r=t.compiler&&t.compiler[0]===7;function s(a,c,l){l.hash&&(c=ZA.extend({},c,l.hash),l.ids&&(l.ids[0]=!0)),a=e.VM.resolvePartial.call(this,a,c,l),l.hooks=this.hooks,l.protoAccessControl=this.protoAccessControl;var u=e.VM.invokePartial.call(this,a,c,l);if(u==null&&e.compile&&(l.partials[l.name]=e.compile(a,t.compilerOptions,e),u=l.partials[l.name](c,l)),u!=null){if(l.indent){for(var d=u.split(`
`),A=0,p=d.length;A<p&&!(!d[A]&&A+1===p);A++)d[A]=l.indent+d[A];u=d.join(`
`)}return u}else throw new Sa.default("The partial "+l.name+" could not be compiled when running in runtime-only mode")}o(s,"invokePartialWrapper");var n={strict:o(function(c,l,u){if(!c||!(l in c))throw new Sa.default('"'+l+'" not defined in '+c,{loc:u});return n.lookupProperty(c,l)},"strict"),lookupProperty:o(function(c,l){var u=c[l];if(u==null||Object.prototype.hasOwnProperty.call(c,l)||vte.resultIsAllowed(u,n.protoAccessControl,l))return u},"lookupProperty"),lookup:o(function(c,l){for(var u=c.length,d=0;d<u;d++){var A=c[d]&&n.lookupProperty(c[d],l);if(A!=null)return A}},"lookup"),lambda:o(function(c,l){return typeof c=="function"?c.call(l):c},"lambda"),escapeExpression:ZA.escapeExpression,invokePartial:s,fn:o(function(c){var l=t[c];return l.decorator=t[c+"_d"],l},"fn"),programs:[],program:o(function(c,l,u,d,A){var p=this.programs[c],f=this.fn(c);return l||A||d||u?p=Dw(this,c,f,l,u,d,A):p||(p=this.programs[c]=Dw(this,c,f)),p},"program"),data:o(function(c,l){for(;c&&l--;)c=c._parent;return c},"data"),mergeIfNeeded:o(function(c,l){var u=c||l;return c&&l&&c!==l&&(u=ZA.extend({},l,c)),u},"mergeIfNeeded"),nullContext:Object.seal({}),noop:e.VM.noop,compilerInfo:t.compiler};function i(a){var c=arguments.length<=1||arguments[1]===void 0?{}:arguments[1],l=c.data;i._setup(c),!c.partial&&t.useData&&(l=fUe(a,l));var u=void 0,d=t.useBlockParams?[]:void 0;t.useDepths&&(c.depths?u=a!=c.depths[0]?[a].concat(c.depths):c.depths:u=[a]);function A(p){return""+t.main(n,p,n.helpers,n.partials,l,d,u)}return o(A,"main"),A=kte(t.main,A,n,c.depths||[],l,d),A(a,c)}return o(i,"ret"),i.isTop=!0,i._setup=function(a){if(a.partial)n.protoAccessControl=a.protoAccessControl,n.helpers=a.helpers,n.partials=a.partials,n.decorators=a.decorators,n.hooks=a.hooks;else{var c={};Pte(c,e.helpers,n),Pte(c,a.helpers,n),n.helpers=c,t.usePartial&&(n.partials=n.mergeIfNeeded(a.partials,e.partials)),(t.usePartial||t.useDecorators)&&(n.decorators=ZA.extend({},e.decorators,a.decorators)),n.hooks={},n.protoAccessControl=vte.createProtoAccessControl(a);var l=a.allowCallsToHelperMissing||r;Tte.moveHelperToHooks(n,"helperMissing",l),Tte.moveHelperToHooks(n,"blockHelperMissing",l)}},i._child=function(a,c,l,u){if(t.useBlockParams&&!l)throw new Sa.default("must pass block params");if(t.useDepths&&!u)throw new Sa.default("must pass parent depths");return Dw(n,a,t[a],c,0,l,u)},i}o(dUe,"template");function Dw(t,e,r,s,n,i,a){function c(l){var u=arguments.length<=1||arguments[1]===void 0?{}:arguments[1],d=a;return a&&l!=a[0]&&!(l===t.nullContext&&a[0]===null)&&(d=[l].concat(a)),r(t,l,t.helpers,t.partials,u.data||s,i&&[u.blockParams].concat(i),d)}return o(c,"prog"),c=kte(r,c,t,a,s,i),c.program=e,c.depth=a?a.length:0,c.blockParams=n||0,c}o(Dw,"wrapProgram");function AUe(t,e,r){return t?!t.call&&!r.name&&(r.name=t,t=Ow(r.partials,t)):r.name==="@partial-block"?t=Ow(r.data,"partial-block"):t=Ow(r.partials,r.name),t}o(AUe,"resolvePartial");function pUe(t,e,r){var s=Ow(r.data,"partial-block");r.partial=!0,r.ids&&(r.data.contextPath=r.ids[0]||r.data.contextPath);var n=void 0;if(r.fn&&r.fn!==_te&&(function(){r.data=Na.createFrame(r.data);var i=r.fn;n=r.data["partial-block"]=o(function(c){var l=arguments.length<=1||arguments[1]===void 0?{}:arguments[1];return l.data=Na.createFrame(l.data),l.data["partial-block"]=s,i(c,l)},"partialBlockWrapper"),i.partials&&(r.partials=ZA.extend({},r.partials,i.partials))})(),t===void 0&&n&&(t=n),t===void 0)throw new Sa.default("The partial "+r.name+" could not be found");if(t instanceof Function)return t(e,r)}o(pUe,"invokePartial");function _te(){return""}o(_te,"noop");function Ow(t,e){if(t&&Object.prototype.hasOwnProperty.call(t,e))return t[e]}o(Ow,"lookupOwnProperty");function fUe(t,e){return(!e||!("root"in e))&&(e=e?Na.createFrame(e):{},e.root=t),e}o(fUe,"initData");function kte(t,e,r,s,n,i){if(t.decorator){var a={};e=t.decorator(e,a,r,s&&s[0],n,i,s),ZA.extend(e,a)}return e}o(kte,"executeDecorators");function Pte(t,e,r){e&&Object.keys(e).forEach(function(s){var n=e[s];t[s]=hUe(n,r)})}o(Pte,"addHelpers");function hUe(t,e){var r=e.lookupProperty;return lUe.wrapHelper(t,function(s){return s.lookupProperty=r,s})}o(hUe,"passLookupPropertyOption")});var KL=h((Mw,Ote)=>{"use strict";Mw.__esModule=!0;Mw.default=function(t){(function(){typeof globalThis!="object"&&(Object.prototype.__defineGetter__("__magic__",function(){return this}),__magic__.globalThis=__magic__,delete Object.prototype.__magic__)})();var e=globalThis.Handlebars;t.noConflict=function(){return globalThis.Handlebars===t&&(globalThis.Handlebars=e),t}};Ote.exports=Mw.default});var qte=h((Lw,Ute)=>{"use strict";Lw.__esModule=!0;function ZL(t){return t&&t.__esModule?t:{default:t}}o(ZL,"_interopRequireDefault");function eF(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e.default=t,e}o(eF,"_interopRequireWildcard");var mUe=_w(),Mte=eF(mUe),gUe=Qte(),EUe=ZL(gUe),yUe=en(),CUe=ZL(yUe),IUe=Yr(),XL=eF(IUe),BUe=Dte Line truncated
`+this.lexer.showPosition()+`
Expecting `+V.join(", ")+", got '"+(this.terminals_[S]||S)+"'":re="Parse error on line "+(h+1)+": Unexpected "+(S==1?"end of input":"'"+(this.terminals_[S]||S)+"'"),this.parseError(re,{text:this.lexer.match,token:this.terminals_[S]||S,line:this.lexer.yylineno,loc:E,expected:V})}}if(Q[0]instanceof Array&&Q.length>1)throw new Error("Parse Error: multiple actions possible at state: "+P+", token: "+S);switch(Q[0]){case 1:o.push(S),a.push(this.lexer.yytext),c.push(this.lexer.yylloc),o.push(Q[1]),S=null,N?(S=N,N=null):(d=this.lexer.yyleng,u=this.lexer.yytext,h=this.lexer.yylineno,E=this.lexer.yylloc,f>0&&f--);break;case 2:if(U=this.productions_[Q[1]][1],X.$=a[a.length-U],X._$={first_line:c[c.length-(U||1)].first_line,last_line:c[c.length-1].last_line,first_column:c[c.length-(U||1)].first_column,last_column:c[c.length-1].last_column},y&&(X._$.range=[c[c.length-(U||1)].range[0],c[c.length-1].range[1]]),G=this.performAction.call(X,u,d,h,this.yy,Q[1],a,c),typeof G<"u")return G;U&&(o=o.slice(0,-1*U*2),a=a.slice(0,-1*U),c=c.slice(0,-1*U)),o.push(this.productions_[Q[1]][0]),a.push(X.$),c.push(X._$),q=l[o[o.length-2]][o[o.length-1]],o.push(q);break;case 3:return!0}}return!0}},e=(function(){var s={EOF:1,parseError:function(n,o){if(this.yy.parser)this.yy.parser.parseError(n,o);else throw new Error(n)},setInput:function(n){return this._input=n,this._more=this._less=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var n=this._input[0];this.yytext+=n,this.yyleng++,this.offset++,this.match+=n,this.matched+=n;var o=n.match(/(?:\r\n?|\n).*/g);return o?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),n},unput:function(n){var o=n.length,a=n.split(/(?:\r\n?|\n)/g);this._input=n+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-o-1),this.offset-=o;var c=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),a.length-1&&(this.yylineno-=a.length-1);var l=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:a?(a.length===c.length?this.yylloc.first_column:0)+c[c.length-a.length].length-a[0].length:this.yylloc.first_column-o},this.options.ranges&&(this.yylloc.range=[l[0],l[0]+this.yyleng-o]),this},more:function(){return this._more=!0,this},less:function(n){this.unput(this.match.slice(n))},pastInput:function(){var n=this.matched.substr(0,this.matched.length-this.match.length);return(n.length>20?"...":"")+n.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var n=this.match;return n.length<20&&(n+=this._input.substr(0,20-n.length)),(n.substr(0,20)+(n.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var n=this.pastInput(),o=new Array(n.length+1).join("-");return n+this.upcomingInput()+`
`+o+"^"},next:function(){if(this.done)return this.EOF;this._input||(this.done=!0);var n,o,a,c,l,u;this._more||(this.yytext="",this.match="");for(var h=this._currentRules(),d=0;d<h.length&&(a=this._input.match(this.rules[h[d]]),!(a&&(!o||a[0].length>o[0].length)&&(o=a,c=d,!this.options.flex)));d++);return o?(u=o[0].match(/(?:\r\n?|\n).*/g),u&&(this.yylineno+=u.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:u?u[u.length-1].length-u[u.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+o[0].length},this.yytext+=o[0],this.match+=o[0],this.matches=o,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._input=this._input.slice(o[0].length),this.matched+=o[0],n=this.performAction.call(this,this.yy,this,h[c],this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),n||void 0):this._input===""?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+`. Unrecognized text.
`+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){var n=this.next();return typeof n<"u"?n:this.lex()},begin:function(n){this.conditionStack.push(n)},popState:function(){return this.conditionStack.pop()},_currentRules:function(){return this.conditions[this.conditionStack[this.conditionStack.length-1]].rules},topState:function(){return this.conditionStack[this.conditionStack.length-2]},pushState:function(n){this.begin(n)}};return s.options={},s.performAction=function(n,o,a,c){function l(h,d){return o.yytext=o.yytext.substring(h,o.yyleng-d+h)}var u=c;switch(a){case 0:if(o.yytext.slice(-2)==="\\\\"?(l(0,1),this.begin("mu")):o.yytext.slice(-1)==="\\"?(l(0,1),this.begin("emu")):this.begin("mu"),o.yytext)return 15;break;case 1:return 15;case 2:return this.popState(),15;break;case 3:return this.begin("raw"),15;break;case 4:return this.popState(),this.conditionStack[this.conditionStack.length-1]==="raw"?15:(l(5,9),"END_RAW_BLOCK");case 5:return 15;case 6:return this.popState(),14;break;case 7:return 65;case 8:return 68;case 9:return 19;case 10:return this.popState(),this.begin("raw"),23;break;case 11:return 55;case 12:return 60;case 13:return 29;case 14:return 47;case 15:return this.popState(),44;break;case 16:return this.popState(),44;break;case 17:return 34;case 18:return 39;case 19:return 51;case 20:return 48;case 21:this.unput(o.yytext),this.popState(),this.begin("com");break;case 22:return this.popState(),14;break;case 23:return 48;case 24:return 73;case 25:return 72;case 26:return 72;case 27:return 87;case 28:break;case 29:return this.popState(),54;break;case 30:return this.popState(),33;break;case 31:return o.yytext=l(1,2).replace(/\\"/g,'"'),80;break;case 32:return o.yytext=l(1,2).replace(/\\'/g,"'"),80;break;case 33:return 85;case 34:return 82;case 35:return 82;case 36:return 83;case 37:return 84;case 38:return 81;case 39:return 75;case 40:return 77;case 41:return 72;case 42:return o.yytext=o.yytext.replace(/\\([\\\]])/g,"$1"),72;break;case 43:return"INVALID";case 44:return 5}},s.rules=[/^(?:[^\x00]*?(?=(\{\{)))/,/^(?:[^\x00]+)/,/^(?:[^\x00]{2,}?(?=(\{\{|\\\{\{|\\\\\{\{|$)))/,/^(?:\{\{\{\{(?=[^\/]))/,/^(?:\{\{\{\{\/[^\s!"#%-,\.\/;->@\[-\^`\{-~]+(?=[=}\s\/.])\}\}\}\})/,/^(?:[^\x00]+?(?=(\{\{\{\{)))/,/^(?:[\s\S]*?--(~)?\}\})/,/^(?:\()/,/^(?:\))/,/^(?:\{\{\{\{)/,/^(?:\}\}\}\})/,/^(?:\{\{(~)?>)/,/^(?:\{\{(~)?#>)/,/^(?:\{\{(~)?#\*?)/,/^(?:\{\{(~)?\/)/,/^(?:\{\{(~)?\^\s*(~)?\}\})/,/^(?:\{\{(~)?\s*else\s*(~)?\}\})/,/^(?:\{\{(~)?\^)/,/^(?:\{\{(~)?\s*else\b)/,/^(?:\{\{(~)?\{)/,/^(?:\{\{(~)?&)/,/^(?:\{\{(~)?!--)/,/^(?:\{\{(~)?![\s\S]*?\}\})/,/^(?:\{\{(~)?\*?)/,/^(?:=)/,/^(?:\.\.)/,/^(?:\.(?=([=~}\s\/.)|])))/,/^(?:[\/.])/,/^(?:\s+)/,/^(?:\}(~)?\}\})/,/^(?:(~)?\}\})/,/^(?:"(\\["]|[^"])*")/,/^(?:'(\\[']|[^'])*')/,/^(?:@)/,/^(?:true(?=([~}\s)])))/,/^(?:false(?=([~}\s)])))/,/^(?:undefined(?=([~}\s)])))/,/^(?:null(?=([~}\s)])))/,/^(?:-?[0-9]+(?:\.[0-9]+)?(?=([~}\s)])))/,/^(?:as\s+\|)/,/^(?:\|)/,/^(?:([^\s!"#%-,\.\/;->@\[-\^`\{-~]+(?=([=~}\s\/.)|]))))/,/^(?:\[(\\\]|[^\]])*\])/,/^(?:.)/,/^(?:$)/],s.conditions={mu:{rules:[7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44],inclusive:!1},emu:{rules:[2],inclusive:!1},com:{rules:[6],inclusive:!1},raw:{rules:[3,4,5],inclusive:!1},INITIAL:{rules:[0,1,44],inclusive:!0}},s})();t.lexer=e;function r(){this.yy={}}return r.prototype=t,t.Parser=r,new r})();WT.default=snt;yge.exports=WT.default});var e_=A((ZT,bge)=>{"use strict";ZT.__esModule=!0;function int(t){return t&&t.__esModule?t:{default:t}}var nnt=so(),tV=int(nnt);function KT(){this.parents=[]}KT.prototype={constructor:KT,mutating:!1,acceptKey:function(e,r){var s=this.accept(e[r]);if(this.mutating){if(s&&!KT.prototype[s.type])throw new tV.default('Unexpected node type "'+s.type+'" found when accepting '+r+" on "+e.type);e[r]=s}},acceptRequired:function(e,r){if(this.acceptKey(e,r),!e[r])throw new tV.default(e.type+" requires "+r)},acceptArray:function(e){for(var r=0,s=e.length;r<s;r++)this.acceptKey(e,r),e[r]||(e.splice(r,1),r--,s--)},accept:function(e){if(e){if(!this[e.type])throw new tV.default("Unknown type: "+e.type,e);this.current&&this.parents.unshift(this.current),this.current=e;var r=this[e.type](e);if(this.current=this.parents.shift(),!this.mutating||r)return r;if(r!==!1)return e}},Program:function(e){this.acceptArray(e.body)},MustacheStatement:XT,Decorator:XT,BlockStatement:Cge,DecoratorBlock:Cge,PartialStatement:Ige,PartialBlockStatement:function(e){Ige.call(this,e),this.acceptKey(e,"program")},ContentStatement:function(){},CommentStatement:function(){},SubExpression:XT,PathExpression:function(){},StringLiteral:function(){},NumberLiteral:function(){},BooleanLiteral:function(){},UndefinedLiteral:function(){},NullLiteral:function(){},Hash:function(e){this.acceptArray(e.pairs)},HashPair:function(e){this.acceptRequired(e,"value")}};function XT(t){this.acceptRequired(t,"path"),this.acceptArray(t.params),this.acceptKey(t,"hash")}function Line truncated
`])}),e},each:function(e){for(var r=0,s=this.source.length;r<s;r++)e(this.source[r])},empty:function(){var e=this.currentLocation||{start:{}};return new Np(e.start.line,e.start.column,this.srcFile)},wrap:function(e){var r=arguments.length<=1||arguments[1]===void 0?this.currentLocation||{start:{}}:arguments[1];return e instanceof Np?e:(e=wV(e,this,r),new Np(r.start.line,r.start.column,this.srcFile,e))},functionCall:function(e,r,s){return s=this.generateList(s),this.wrap([e,r?"."+r+"(":"(",s,")"])},quotedString:function(e){return'"'+(e+"").replace(/\\/g,"\\\\").replace(/"/g,'\\"').replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029")+'"'},objectLiteral:function(e){var r=this,s=[];Object.keys(e).forEach(function(n){var o=wV(e[n],r);o!=="undefined"&&s.push([r.quotedString(n),":",o])});var i=this.generateList(s);return i.prepend("{"),i.add("}"),i},generateList:function(e){for(var r=this.empty(),s=0,i=e.length;s<i;s++)s&&r.add(","),r.add(wV(e[s],this));return r},generateArray:function(e){var r=this.generateList(e);return r.prepend("["),r.add("]"),r}};c_.default=sye;iye.exports=c_.default});var uye=A((l_,lye)=>{"use strict";l_.__esModule=!0;function cye(t){return t&&t.__esModule?t:{default:t}}var oye=HT(),rot=so(),SV=cye(rot),sot=_i(),iot=nye(),aye=cye(iot);function Jg(t){this.value=t}function Yg(){}Yg.prototype={nameLookup:function(e,r){return this.internalNameLookup(e,r)},depthedLookup:function(e){return[this.aliasable("container.lookup"),"(depths, ",JSON.stringify(e),")"]},compilerInfo:function(){var e=oye.COMPILER_REVISION,r=oye.REVISION_CHANGES[e];return[e,r]},appendToBuffer:function(e,r,s){return sot.isArray(e)||(e=[e]),e=this.source.wrap(e,r),this.environment.isSimple?["return ",e,";"]:s?["buffer += ",e,";"]:(e.appendToBuffer=!0,e)},initializeBuffer:function(){return this.quotedString("")},internalNameLookup:function(e,r){return this.lookupPropertyFunctionIsUsed=!0,["lookupProperty(",e,",",JSON.stringify(r),")"]},lookupPropertyFunctionIsUsed:!1,compile:function(e,r,s,i){this.environment=e,this.options=r,this.stringParams=this.options.stringParams,this.trackIds=this.options.trackIds,this.precompile=!i,this.name=this.environment.name,this.isChild=!!s,this.context=s||{decorators:[],programs:[],environments:[]},this.preamble(),this.stackSlot=0,this.stackVars=[],this.aliases={},this.registers={list:[]},this.hashes=[],this.compileStack=[],this.inlineStack=[],this.blockParams=[],this.compileChildren(e,r),this.useDepths=this.useDepths||e.useDepths||e.useDecorators||this.options.compat,this.useBlockParams=this.useBlockParams||e.useBlockParams;var n=e.opcodes,o=void 0,a=void 0,c=void 0,l=void 0;for(c=0,l=n.length;c<l;c++)o=n[c],this.source.currentLocation=o.loc,a=a||o.loc,this[o.opcode].apply(this,o.args);if(this.source.currentLocation=a,this.pushSource(""),this.stackSlot||this.inlineStack.length||this.compileStack.length)throw new SV.default("Compile completed with content left on stack");this.decorators.isEmpty()?this.decorators=void 0:(this.useDecorators=!0,this.decorators.prepend(["var decorators = container.decorators, ",this.lookupPropertyFunctionVarDeclaration(),`;
`]),this.decorators.push("return fn;"),i?this.decorators=Function.apply(this,["fn","props","container","depth0","data","blockParams","depths",this.decorators.merge()]):(this.decorators.prepend(`function(fn, props, container, depth0, data, blockParams, depths) {
Expecting `+ue.join(", ")+", got '"+(this.terminals_[b]||b)+"'":vr="Parse error on line "+(A+1)+": Unexpected "+(b==1?"end of input":"'"+(this.terminals_[b]||b)+"'"),this.parseError(vr,{text:this.lexer.match,token:this.terminals_[b]||b,line:this.lexer.yylineno,loc:y,expected:ue})}}if(D[0]instanceof Array&&D.length>1)throw new Error("Parse Error: multiple actions possible at state: "+Q+", token: "+b);switch(D[0]){case 1:a.push(b),c.push(this.lexer.yytext),l.push(this.lexer.yylloc),a.push(D[1]),b=null,N?(b=N,N=null):(p=this.lexer.yyleng,d=this.lexer.yytext,A=this.lexer.yylineno,y=this.lexer.yylloc,f>0&&f--);break;case 2:if(ye=this.productions_[D[1]][1],De.$=c[c.length-ye],De._$={first_line:l[l.length-(ye||1)].first_line,last_line:l[l.length-1].last_line,first_column:l[l.length-(ye||1)].first_column,last_column:l[l.length-1].last_column},E&&(De._$.range=[l[l.length-(ye||1)].range[0],l[l.length-1].range[1]]),Te=this.performAction.call(De,d,p,A,this.yy,D[1],c,l),typeof Te<"u")return Te;ye&&(a=a.slice(0,-1*ye*2),c=c.slice(0,-1*ye),l=l.slice(0,-1*ye)),a.push(this.productions_[D[1]][0]),c.push(De.$),l.push(De._$),Ye=u[a[a.length-2]][a[a.length-1]],a.push(Ye);break;case 3:return!0}}return!0},"parse")},e=(function(){var s={EOF:1,parseError:o(function(i,a){if(this.yy.parser)this.yy.parser.parseError(i,a);else throw new Error(i)},"parseError"),setInput:o(function(i){return this._input=i,this._more=this._less=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},"setInput"),input:o(function(){var i=this._input[0];this.yytext+=i,this.yyleng++,this.offset++,this.match+=i,this.matched+=i;var a=i.match(/(?:\r\n?|\n).*/g);return a?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),i},"input"),unput:o(function(i){var a=i.length,c=i.split(/(?:\r\n?|\n)/g);this._input=i+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-a-1),this.offset-=a;var l=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),c.length-1&&(this.yylineno-=c.length-1);var u=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:c?(c.length===l.length?this.yylloc.first_column:0)+l[l.length-c.length].length-c[0].length:this.yylloc.first_column-a},this.options.ranges&&(this.yylloc.range=[u[0],u[0]+this.yyleng-a]),this},"unput"),more:o(function(){return this._more=!0,this},"more"),less:o(function(i){this.unput(this.match.slice(i))},"less"),pastInput:o(function(){var i=this.matched.substr(0,this.matched.length-this.match.length);return(i.length>20?"...":"")+i.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:o(function(){var i=this.match;return i.length<20&&(i+=this._input.substr(0,20-i.length)),(i.substr(0,20)+(i.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:o(function(){var i=this.pastInput(),a=new Array(i.length+1).join("-");return i+this.upcomingInput()+`
`+a+"^"},"showPosition"),next:o(function(){if(this.done)return this.EOF;this._input||(this.done=!0);var i,a,c,l,u,d;this._more||(this.yytext="",this.match="");for(var A=this._currentRules(),p=0;p<A.length&&(c=this._input.match(this.rules[A[p]]),!(c&&(!a||c[0].length>a[0].length)&&(a=c,l=p,!this.options.flex)));p++);return a?(d=a[0].match(/(?:\r\n?|\n).*/g),d&&(this.yylineno+=d.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:d?d[d.length-1].length-d[d.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+a[0].length},this.yytext+=a[0],this.match+=a[0],this.matches=a,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._input=this._input.slice(a[0].length),this.matched+=a[0],i=this.performAction.call(this,this.yy,this,A[l],this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),i||void 0):this._input===""?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+`. Unrecognized text.
`+this.showPosition(),{text:"",token:null,line:this.yylineno})},"next"),lex:o(function(){var i=this.next();return typeof i<"u"?i:this.lex()},"lex"),begin:o(function(i){this.conditionStack.push(i)},"begin"),popState:o(function(){return this.conditionStack.pop()},"popState"),_currentRules:o(function(){return this.conditions[this.conditionStack[this.conditionStack.length-1]].rules},"_currentRules"),topState:o(function(){return this.conditionStack[this.conditionStack.length-2]},"topState"),pushState:o(function(i){this.begin(i)},"begin")};return s.options={},s.performAction=o(function(i,a,c,l){function u(A,p){return a.yytext=a.yytext.substring(A,a.yyleng-p+A)}o(u,"strip");var d=l;switch(c){case 0:if(a.yytext.slice(-2)==="\\\\"?(u(0,1),this.begin("mu")):a.yytext.slice(-1)==="\\"?(u(0,1),this.begin("emu")):this.begin("mu"),a.yytext)return 15;break;case 1:return 15;case 2:return this.popState(),15;break;case 3:return this.begin("raw"),15;break;case 4:return this.popState(),this.conditionStack[this.conditionStack.length-1]==="raw"?15:(u(5,9),"END_RAW_BLOCK");case 5:return 15;case 6:return this.popState(),14;break;case 7:return 65;case 8:return 68;case 9:return 19;case 10:return this.popState(),this.begin("raw"),23;break;case 11:return 55;case 12:return 60;case 13:return 29;case 14:return 47;case 15:return this.popState(),44;break;case 16:return this.popState(),44;break;case 17:return 34;case 18:return 39;case 19:return 51;case 20:return 48;case 21:this.unput(a.yytext),this.popState(),this.begin("com");break;case 22:return this.popState(),14;break;case 23:return 48;case 24:return 73;case 25:return 72;case 26:return 72;case 27:return 87;case 28:break;case 29:return this.popState(),54;break;case 30:return this.popState(),33;break;case 31:return a.yytext=u(1,2).replace(/\\"/g,'"'),80;break;case 32:return a.yytext=u(1,2).replace(/\\'/g,"'"),80;break;case 33:return 85;case 34:return 82;case 35:return 82;case 36:return 83;case 37:return 84;case 38:return 81;case 39:return 75;case 40:return 77;case 41:return 72;case 42:return a.yytext=a.yytext.replace(/\\([\\\]])/g,"$1"),72;break;case 43:return"INVALID";case 44:return 5}},"anonymous"),s.rules=[/^(?:[^\x00]*?(?=(\{\{)))/,/^(?:[^\x00]+)/,/^(?:[^\x00]{2,}?(?=(\{\{|\\\{\{|\\\\\{\{|$)))/,/^(?:\{\{\{\{(?=[^\/]))/,/^(?:\{\{\{\{\/[^\s!"#%-,\.\/;->@\[-\^`\{-~]+(?=[=}\s\/.])\}\}\}\})/,/^(?:[^\x00]+?(?=(\{\{\{\{)))/,/^(?:[\s\S]*?--(~)?\}\})/,/^(?:\()/,/^(?:\))/,/^(?:\{\{\{\{)/,/^(?:\}\}\}\})/,/^(?:\{\{(~)?>)/,/^(?:\{\{(~)?#>)/,/^(?:\{\{(~)?#\*?)/,/^(?:\{\{(~)?\/)/,/^(?:\{\{(~)?\^\s*(~)?\}\})/,/^(?:\{\{(~)?\s*else\s*(~)?\}\})/,/^(?:\{\{(~)?\^)/,/^(?:\{\{(~)?\s*else\b)/,/^(?:\{\{(~)?\{)/,/^(?:\{\{(~)?&)/,/^(?:\{\{(~)?!--)/,/^(?:\{\{(~)?![\s\S]*?\}\})/,/^(?:\{\{(~)?\*?)/,/^(?:=)/,/^(?:\.\.)/,/^(?:\.(?=([=~}\s\/.)|])))/,/^(?:[\/.])/,/^(?:\s+)/,/^(?:\}(~)?\}\})/,/^(?:(~)?\}\})/,/^(?:"(\\["]|[^"])*")/,/^(?:'(\\[']|[^'])*')/,/^(?:@)/,/^(?:true(?=([~}\s)])))/,/^(?:false(?=([~}\s)])))/,/^(?:undefined(?=([~}\s)])))/,/^(?:null(?=([~}\s)])))/,/^(?:-?[0-9]+(?:\.[0-9]+)?(?=([~}\s)])))/,/^(?:as\s+\|)/,/^(?:\|)/,/^(?:([^\s!"#%-,\.\/;->@\[-\^`\{-~]+(?=([=~}\s\/.)|]))))/,/^(?:\[(\\\]|[^\]])*\])/,/^(?:.)/,/^(?:$)/],s.conditions={mu:{rules:[7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44],inclusive:!1},emu:{rules:[2],inclusive:!1},com:{rules:[6],inclusive:!1},raw:{rules:[3,4,5],inclusive:!1},INITIAL:{rules:[0,1,44],inclusive:!0}},s})();t.lexer=e;function r(){this.yy={}}return o(r,"Parser"),r.prototype=t,t.Parser=r,new r})();Uw.default=SUe;Vte.exports=Uw.default});var Vw=h((Hw,$te)=>{"use strict";Hw.__esModule=!0;function NUe(t){return t&&t.__esModule?t:{default:t}}o(NUe,"_interopRequireDefault");var xUe=en(),rF=NUe(xUe);function qw(){this.parents=[]}o(qw,"Visitor");qw.prototype={constructor:qw,mutating:!1,acceptKey:o(function(e,r){var s=this.accept(e[r]);if(this.mutating){if(s&&!qw.prototype[s.type])throw new rF.default('Unexpected node type "'+s.type+'" found when accepting '+r+" on "+e.type);e[r]=s}},"acceptKey"),acceptRequired:o(function(e,r){if(this.acceptKey(e,r),!e[r])throw new rF.default(e.type+" requires "+r)},"acceptRequired"),acceptArray:o(function(e){for(var r=0,s=e.length;r<s;r++)this.acceptKey(e,r),e[r]||(e.splice(r,1),r--,s--)},"acceptArray"),accept:o(function(e){if(e){if(!this[e.type])throw new rF.default("Unknown type: "+e.type,e);this.current&&this.parents.unshift(this.current),this.current=e;var r=this[e.type](e);if(this.current=this.parents.shift(),!this.mutating||r)return r;if(r!==!1)return e}},"accept"),Program:o(function(e){this.acceptArray(e.body)},"Program"),MustacheStatement:Gw,Decorator:Gw,BlockStatement:Jte,DecoratorBlock:Jte,PartialStatement:Yte,PartialBlockStatement:o(function(e){Yte.call(this,e),this.acceptKey(e,"program")},"PartialBlockStatement"),ContentStatement:o(function(){},"ContentStatement"),CommentStatement:o(function(){},"CommentStatement"),SubExpression:Gw,PathExpression:o(function(){},"PathExpressionLine truncated
`])}),e},"merge"),each:o(function(e){for(var r=0,s=this.source.length;r<s;r++)e(this.source[r])},"each"),empty:o(function(){var e=this.currentLocation||{start:{}};return new bu(e.start.line,e.start.column,this.srcFile)},"empty"),wrap:o(function(e){var r=arguments.length<=1||arguments[1]===void 0?this.currentLocation||{start:{}}:arguments[1];return e instanceof bu?e:(e=wF(e,this,r),new bu(r.start.line,r.start.column,this.srcFile,e))},"wrap"),functionCall:o(function(e,r,s){return s=this.generateList(s),this.wrap([e,r?"."+r+"(":"(",s,")"])},"functionCall"),quotedString:o(function(e){return'"'+(e+"").replace(/\\/g,"\\\\").replace(/"/g,'\\"').replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029")+'"'},"quotedString"),objectLiteral:o(function(e){var r=this,s=[];Object.keys(e).forEach(function(i){var a=wF(e[i],r);a!=="undefined"&&s.push([r.quotedString(i),":",a])});var n=this.generateList(s);return n.prepend("{"),n.add("}"),n},"objectLiteral"),generateList:o(function(e){for(var r=this.empty(),s=0,n=e.length;s<n;s++)s&&r.add(","),r.add(wF(e[s],this));return r},"generateList"),generateArray:o(function(e){var r=this.generateList(e);return r.prepend("["),r.add("]"),r},"generateArray")};Xw.default=Rre;Tre.exports=Xw.default});var Ore=h((Zw,Dre)=>{"use strict";Zw.__esModule=!0;function kre(t){return t&&t.__esModule?t:{default:t}}o(kre,"_interopRequireDefault");var Pre=_w(),w2e=en(),NF=kre(w2e),S2e=Yr(),N2e=vre(),_re=kre(N2e);function ip(t){this.value=t}o(ip,"Literal");function op(){}o(op,"JavaScriptCompiler");op.prototype={nameLookup:o(function(e,r){return this.internalNameLookup(e,r)},"nameLookup"),depthedLookup:o(function(e){return[this.aliasable("container.lookup"),"(depths, ",JSON.stringify(e),")"]},"depthedLookup"),compilerInfo:o(function(){var e=Pre.COMPILER_REVISION,r=Pre.REVISION_CHANGES[e];return[e,r]},"compilerInfo"),appendToBuffer:o(function(e,r,s){return S2e.isArray(e)||(e=[e]),e=this.source.wrap(e,r),this.environment.isSimple?["return ",e,";"]:s?["buffer += ",e,";"]:(e.appendToBuffer=!0,e)},"appendToBuffer"),initializeBuffer:o(function(){return this.quotedString("")},"initializeBuffer"),internalNameLookup:o(function(e,r){return this.lookupPropertyFunctionIsUsed=!0,["lookupProperty(",e,",",JSON.stringify(r),")"]},"internalNameLookup"),lookupPropertyFunctionIsUsed:!1,compile:o(function(e,r,s,n){this.environment=e,this.options=r,this.stringParams=this.options.stringParams,this.trackIds=this.options.trackIds,this.precompile=!n,this.name=this.environment.name,this.isChild=!!s,this.context=s||{decorators:[],programs:[],environments:[]},this.preamble(),this.stackSlot=0,this.stackVars=[],this.aliases={},this.registers={list:[]},this.hashes=[],this.compileStack=[],this.inlineStack=[],this.blockParams=[],this.compileChildren(e,r),this.useDepths=this.useDepths||e.useDepths||e.useDecorators||this.options.compat,this.useBlockParams=this.useBlockParams||e.useBlockParams;var i=e.opcodes,a=void 0,c=void 0,l=void 0,u=void 0;for(l=0,u=i.length;l<u;l++)a=i[l],this.source.currentLocation=a.loc,c=c||a.loc,this[a.opcode].apply(this,a.args);if(this.source.currentLocation=c,this.pushSource(""),this.stackSlot||this.inlineStack.length||this.compileStack.length)throw new NF.default("Compile completed with content left on stack");this.decorators.isEmpty()?this.decorators=void 0:(this.useDecorators=!0,this.decorators.prepend(["var decorators = container.decorators, ",this.lookupPropertyFunctionVarDeclaration(),`;
`]),this.decorators.push("return fn;"),n?this.decorators=Function.apply(this,["fn","props","container","depth0","data","blockParams","depths",this.decorators.merge()]):(this.decorators.prepend(`function(fn, props, container, depth0, data, blockParams, depths) {
`),this.decorators.push(`}
`),this.decorators=this.decorators.merge()));var u=this.createFunctionContext(i);if(this.isChild)return u;var h={compiler:this.compilerInfo(),main:u};this.decorators&&(h.main_d=this.decorators,h.useDecorators=!0);var d=this.context,f=d.programs,p=d.decorators;for(c=0,l=f.length;c<l;c++)h[c]=f[c],p[c]&&(h[c+"_d"]=p[c],h.useDecorators=!0);return this.environment.usePartial&&(h.usePartial=!0),this.options.data&&(h.useData=!0),this.useDepths&&(h.useDepths=!0),this.useBlockParams&&(h.useBlockParams=!0),this.options.compat&&(h.compat=!0),i?h.compilerOptions=this.options:(h.compiler=JSON.stringify(h.compiler),this.source.currentLocation={start:{line:1,column:0}},h=this.objectLiteral(h),r.srcName?(h=h.toStringWithSourceMap({file:r.destName}),h.map=h.map&&h.map.toString()):h=h.toString()),h},preamble:function(){this.lastContext=0,this.source=new aye.default(this.options.srcName),this.decorators=new aye.default(this.options.srcName)},createFunctionContext:function(e){var r=this,s="",i=this.stackVars.concat(this.registers.list);i.length>0&&(s+=", "+i.join(", "));var n=0;Object.keys(this.aliases).forEach(function(c){var l=r.aliases[c];l.children&&l.referenceCount>1&&(s+=", alias"+ ++n+"="+c,l.children[0]="alias"+n)}),this.lookupPropertyFunctionIsUsed&&(s+=", "+this.lookupPropertyFunctionVarDeclaration());var o=["container","depth0","helpers","partials","data"];(this.useBlockParams||this.useDepths)&&o.push("blockParams"),this.useDepths&&o.push("depths");var a=this.mergeSource(s);return e?(o.push(a),Function.apply(this,o)):this.source.wrap(["function(",o.join(","),`) {
`,a,"}"])},mergeSource:function(e){var r=this.environment.isSimple,s=!this.forceBuffer,i=void 0,n=void 0,o=void 0,a=void 0;return this.source.each(function(c){c.appendToBuffer?(o?c.prepend(" + "):o=c,a=c):(o&&(n?o.prepend("buffer += "):i=!0,a.add(";"),o=a=void 0),n=!0,r||(s=!1))}),s?o?(o.prepend("return "),a.add(";")):n||this.source.push('return "";'):(e+=", buffer = "+(i?"":this.initializeBuffer()),o?(o.prepend("return buffer + "),a.add(";")):this.source.push("return buffer;")),e&&this.source.prepend("var "+e.substring(2)+(i?"":`;
`)),this.source.merge()},lookupPropertyFunctionVarDeclaration:function(){return`
`),this.decorators=this.decorators.merge()));var d=this.createFunctionContext(n);if(this.isChild)return d;var A={compiler:this.compilerInfo(),main:d};this.decorators&&(A.main_d=this.decorators,A.useDecorators=!0);var p=this.context,f=p.programs,m=p.decorators;for(l=0,u=f.length;l<u;l++)A[l]=f[l],m[l]&&(A[l+"_d"]=m[l],A.useDecorators=!0);return this.environment.usePartial&&(A.usePartial=!0),this.options.data&&(A.useData=!0),this.useDepths&&(A.useDepths=!0),this.useBlockParams&&(A.useBlockParams=!0),this.options.compat&&(A.compat=!0),n?A.compilerOptions=this.options:(A.compiler=JSON.stringify(A.compiler),this.source.currentLocation={start:{line:1,column:0}},A=this.objectLiteral(A),r.srcName?(A=A.toStringWithSourceMap({file:r.destName}),A.map=A.map&&A.map.toString()):A=A.toString()),A},"compile"),preamble:o(function(){this.lastContext=0,this.source=new _re.default(this.options.srcName),this.decorators=new _re.default(this.options.srcName)},"preamble"),createFunctionContext:o(function(e){var r=this,s="",n=this.stackVars.concat(this.registers.list);n.length>0&&(s+=", "+n.join(", "));var i=0;Object.keys(this.aliases).forEach(function(l){var u=r.aliases[l];u.children&&u.referenceCount>1&&(s+=", alias"+ ++i+"="+l,u.children[0]="alias"+i)}),this.lookupPropertyFunctionIsUsed&&(s+=", "+this.lookupPropertyFunctionVarDeclaration());var a=["container","depth0","helpers","partials","data"];(this.useBlockParams||this.useDepths)&&a.push("blockParams"),this.useDepths&&a.push("depths");var c=this.mergeSource(s);return e?(a.push(c),Function.apply(this,a)):this.source.wrap(["function(",a.join(","),`) {
`,c,"}"])},"createFunctionContext"),mergeSource:o(function(e){var r=this.environment.isSimple,s=!this.forceBuffer,n=void 0,i=void 0,a=void 0,c=void 0;return this.source.each(function(l){l.appendToBuffer?(a?l.prepend(" + "):a=l,c=l):(a&&(i?a.prepend("buffer += "):n=!0,c.add(";"),a=c=void 0),i=!0,r||(s=!1))}),s?a?(a.prepend("return "),c.add(";")):i||this.source.push('return "";'):(e+=", buffer = "+(n?"":this.initializeBuffer()),a?(a.prepend("return buffer + "),c.add(";")):this.source.push("return buffer;")),e&&this.source.prepend("var "+e.substring(2)+(n?"":`;
`)),this.source.merge()},"mergeSource"),lookupPropertyFunctionVarDeclaration:o(function(){return`
lookupProperty = container.lookupProperty || function(parent, propertyName) {
if (Object.prototype.hasOwnProperty.call(parent, propertyName)) {
return parent[propertyName];
}
return undefined
}
`.trim()},blockValue:function(e){var r=this.aliasable("container.hooks.blockHelperMissing"),s=[this.contextName(0)];this.setupHelperArgs(e,0,s);var i=this.popStack();s.splice(1,0,i),this.push(this.source.functionCall(r,"call",s))},ambiguousBlockValue:function(){var e=this.aliasable("container.hooks.blockHelperMissing"),r=[this.contextName(0)];this.setupHelperArgs("",0,r,!0),this.flushInline();var s=this.topStack();r.splice(1,0,s),this.pushSource(["if (!",this.lastHelper,") { ",s," = ",this.source.functionCall(e,"call",r),"}"])},appendContent:function(e){this.pendingContent?e=this.pendingContent+e:this.pendingLocation=this.source.currentLocation,this.pendingContent=e},append:function(){if(this.isInline())this.replaceStack(function(r){return[" != null ? ",r,' : ""']}),this.pushSource(this.appendToBuffer(this.popStack()));else{var e=this.popStack();this.pushSource(["if (",e," != null) { ",this.appendToBuffer(e,void 0,!0)," }"]),this.environment.isSimple&&this.pushSource(["else { ",this.appendToBuffer("''",void 0,!0)," }"])}},appendEscaped:function(){this.pushSource(this.appendToBuffer([this.aliasable("container.escapeExpression"),"(",this.popStack(),")"]))},getContext:function(e){this.lastContext=e},pushContext:function(){this.pushStackLiteral(this.contextName(this.lastContext))},lookupOnContext:function(e,r,s,i){var n=0;!i&&this.options.compat&&!this.lastContext?this.push(this.depthedLookup(e[n++])):this.pushContext(),this.resolvePath("context",e,n,r,s)},lookupBlockParam:function(e,r){this.useBlockParams=!0,this.push(["blockParams[",e[0],"][",e[1],"]"]),this.resolvePath("context",r,1)},lookupData:function(e,r,s){e?this.pushStackLiteral("container.data(data, "+e+")"):this.pushStackLiteral("data"),this.resolvePath("data",r,0,!0,s)},resolvePath:function(e,r,s,i,n){var o=this;if(this.options.strict||this.options.assumeObjects){this.push(not(this.options.strict&&n,this,r,s,e));return}for(var a=r.length,c=function(u){o.replaceStack(function(h){var d=o.nameLookup(h,r[u],e);return i?[" && ",d]:[" != null ? ",d," : ",h]})},l=s;l<a;l++)c(l)},resolvePossibleLambda:function(){this.push([this.aliasable("container.lambda"),"(",this.popStack(),", ",this.contextName(0),")"])},pushStringParam:function(e,r){this.pushContext(),this.pushString(r),r!=="SubExpression"&&(typeof e=="string"?this.pushString(e):this.pushStackLiteral(e))},emptyHash:function(e){this.trackIds&&this.push("{}"),this.stringParams&&(this.push("{}"),this.push("{}")),this.pushStackLiteral(e?"undefined":"{}")},pushHash:function(){this.hash&&this.hashes.push(this.hash),this.hash={values:{},types:[],contexts:[],ids:[]}},popHash:function(){var e=this.hash;this.hash=this.hashes.pop(),this.trackIds&&this.push(this.objectLiteral(e.ids)),this.stringParams&&(this.push(this.objectLiteral(e.contexts)),this.push(this.objectLiteral(e.types))),this.push(this.objectLiteral(e.values))},pushString:function(e){this.pushStackLiteral(this.quotedString(e))},pushLiteral:function(e){this.pushStackLiteral(e)},pushProgram:function(e){e!=null?this.pushStackLiteral(this.programExpression(e)):this.pushStackLiteral(null)},registerDecorator:function(e,r){var s=this.nameLookup("decorators",r,"decorator"),i=this.setupHelperArgs(r,e);this.decorators.push(["var decorator = ",s,";"]),this.decorators.push(['if (typeof decorator !== "function") { throw new Error(',this.quotedString('Missing decorator: "'+r+'"'),"); }"]),this.decorators.push(["fn = ",this.decorators.functionCall("decorator","",["fn","props","container",i])," || fn;"])},invokeHelper:function(e,r,s){var i=this.popStack(),n=this.setupHelper(e,r),o=[];s&&o.push(n.name),o.push(i),this.options.strict||o.push(this.aliasable("container.hooks.helperMissing"));var a=["(",this.itemsSeparatedBy(o,"||"),")"],c=this.source.functionCall(a,"call",n.callParams);this.push(c)},itemsSeparatedBy:function(e,r){var s=[];s.push(e[0]);for(var i=1;i<e.length;i++)s.push(r,e[i]);return s},invokeKnownHelper:function(e,r){var s=this.setupHelper(e,r);this.push(this.source.functionCall(s.name,"call",s.callParams))},invokeAmbiguous:function(e,r){this.useRegister("helper");var s=this.popStack();this.emptyHash();var i=this.setupHelper(0,e,r),n=this.lastHelper=this.nameLookup("helpers",e,"helper"),o=["(","(helper = ",n," || ",s,")"];this.options.strict||(o[0]="(helper = ",o.push(" != null ? helper : ",this.aliasable("container.hooks.helperMissing"))),this.push(["(",o,i.paramsInit?["),(",i.paramsInit]:[],"),","(typeof helper === ",this.aliasable('"function"')," ? ",this.source.functionCall("helper","call",i.callParams)," : helper))"])},invokePartial:function(e,r,s){var i=[],n=this.setupParams(r,1,i);e&&(r=this.popStack(),delete n.name),s&&(n.indent=JSON.stringify(s)),n.helpers="helpers",n.partials="partials",n.decorators="container.decorators",e?i.unshift(r):i.unshift(this.nameLookup("partials",r,"partial")),this.options.compat&&(n.depths="depths"),n=this.objectLiteral(n),i.push(n),this.push(this.source.functionCall("container.invokePartial","",i))},assignToHash Line truncated
`,e};wr.prototype.Program=function(t){var e="",r=t.body,s=void 0,i=void 0;if(t.blockParams){var n="BLOCK PARAMS: [";for(s=0,i=t.blockParams.length;s<i;s++)n+=" "+t.blockParams[s];n+=" ]",e+=this.pad(n)}for(s=0,i=r.length;s<i;s++)e+=this.accept(r[s]);return this.padding--,e};wr.prototype.MustacheStatement=function(t){return this.pad("{{ "+this.SubExpression(t)+" }}")};wr.prototype.Decorator=function(t){return this.pad("{{ DIRECTIVE "+this.SubExpression(t)+" }}")};wr.prototype.BlockStatement=wr.prototype.DecoratorBlock=function(t){var e="";return e+=this.pad((t.type==="DecoratorBlock"?"DIRECTIVE ":"")+"BLOCK:"),this.padding++,e+=this.pad(this.SubExpression(t)),t.program&&(e+=this.pad("PROGRAM:"),this.padding++,e+=this.accept(t.program),this.padding--),t.inverse&&(t.program&&this.padding++,e+=this.pad("{{^}}"),this.padding++,e+=this.accept(t.inverse),this.padding--,t.program&&this.padding--),this.padding--,e};wr.prototype.PartialStatement=function(t){var e="PARTIAL:"+t.name.original;return t.params[0]&&(e+=" "+this.accept(t.params[0])),t.hash&&(e+=" "+this.accept(t.hash)),this.pad("{{> "+e+" }}")};wr.prototype.PartialBlockStatement=function(t){var e="PARTIAL BLOCK:"+t.name.original;return t.params[0]&&(e+=" "+this.accept(t.params[0])),t.hash&&(e+=" "+this.accept(t.hash)),e+=" "+this.pad("PROGRAM:"),this.padding++,e+=this.accept(t.program),this.padding--,this.pad("{{> "+e+" }}")};wr.prototype.ContentStatement=function(t){return this.pad("CONTENT[ '"+t.value+"' ]")};wr.prototype.CommentStatement=function(t){return this.pad("{{! '"+t.value+"' }}")};wr.prototype.SubExpression=function(t){for(var e=t.params,r=[],s=void 0,i=0,n=e.length;i<n;i++)r.push(this.accept(e[i]));return e="["+r.join(", ")+"]",s=t.hash?" "+this.accept(t.hash):"",this.accept(t.path)+" "+e+s};wr.prototype.PathExpression=function(t){var e=t.parts.join("/");return(t.data?"@":"")+"PATH:"+e};wr.prototype.StringLiteral=function(t){return'"'+t.value+'"'};wr.prototype.NumberLiteral=function(t){return"NUMBER{"+t.value+"}"};wr.prototype.BooleanLiteral=function(t){return"BOOLEAN{"+t.value+"}"};wr.prototype.UndefinedLiteral=function(){return"UNDEFINED"};wr.prototype.NullLiteral=function(){return"NULL"};wr.prototype.Hash=function(t){for(var e=t.pairs,r=[],s=0,i=e.length;s<i;s++)r.push(this.accept(e[s]));return"HASH{"+r.join(", ")+"}"};wr.prototype.HashPair=function(t){return t.key+"="+this.accept(t.value)}});var yye=A((J9t,gye)=>{var d_=fye().default,mye=pye();d_.PrintVisitor=mye.PrintVisitor;d_.print=mye.print;gye.exports=d_;function Aye(t,e){var r=require("fs"),s=r.readFileSync(e,"utf8");t.exports=d_.compile(s)}typeof require<"u"&&require.extensions&&(require.extensions[".handlebars"]=Aye,require.extensions[".hbs"]=Aye)});var Tye=A(m_=>{"use strict";Object.defineProperty(m_,"__esModule",{value:!0});m_.getProxyUrl=Rot;m_.checkBypass=vye;function Rot(t){let e=t.protocol==="https:";if(vye(t))return;let r=e?process.env.https_proxy||process.env.HTTPS_PROXY:process.env.http_proxy||process.env.HTTP_PROXY;if(r)try{return new A_(r)}catch{if(!r.startsWith("http://")&&!r.startsWith("https://"))return new A_(`http://${r}`)}else return}function vye(t){if(!t.hostname)return!1;let e=t.hostname;if(vot(e))return!0;let r=process.env.no_proxy||process.env.NO_PROXY||"";if(!r)return!1;let s;t.port?s=Number(t.port):t.protocol==="http:"?s=80:t.protocol==="https:"&&(s=443);let i=[t.hostname.toUpperCase()];typeof s=="number"&&i.push(`${i[0]}:${s}`);for(let n of r.split(",").map(o=>o.trim().toUpperCase()).filter(o=>o))if(n==="*"||i.some(o=>o===n||o.endsWith(`.${n}`)||n.startsWith(".")&&o.endsWith(`${n}`)))return!0;return!1}function vot(t){let e=t.toLowerCase();return e==="localhost"||e.startsWith("127.")||e.startsWith("[::1]")||e.startsWith("[0:0:0:0:0:0:0:1]")}var A_=class extends URL{constructor(e,r){super(e,r),this._decodedUsername=decodeURIComponent(super.username),this._decodedPassword=decodeURIComponent(super.password)}get username(){return this._decodedUsername}get password(){return this._decodedPassword}}});var Qye=A(ar=>{"use strict";var Tot=ar&&ar.__createBinding||(Object.create?(function(t,e,r,s){s===void 0&&(s=r);var i=Object.getOwnPropertyDescriptor(e,r);(!i||("get"in i?!e.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return e[r]}}),Object.defineProperty(t,s,i)}):(function(t,e,r,s){s===void 0&&(s=r),t[s]=e[r]})),_ot=ar&&ar.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),C_=ar&&ar.__importStar||(function(){var t=function(e){return t=Object.getOwnPropertyNames||function(r){var s=[];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(s[s.length]=i);return s},t(e)};return function(e){if(e&&e.__esModule)return e;var r={};if(e!=null)for(var s=t(e),i=0;i<s.length;i++)s[i]!=="default"&&Tot(r,e,s[i]);return _ot(r,e),r}})(),Lr=ar&&ar.__awaiter||function(t,e,r,s){function i(n){return n instanceof r?n:new r(function(o){o(n)})}return new(r||(r=Promise))(fu Line truncated
`).forEach(r=>{r.match(Lht)||r.match(Uht)||(e+=r)}),Buffer.from(e,"base64")}function qht(t,e="CERTIFICATE"){let s=t.toString("base64").match(/.{1,64}/g)||"";return[`-----BEGIN ${e}-----`,...s,`-----END ${e}-----`].join(`
`).concat(`
`)}});var fQ=A(xd=>{"use strict";Object.defineProperty(xd,"__esModule",{value:!0});xd.SHA2_HASH_ALGOS=xd.RSA_SIGNATURE_ALGOS=xd.ECDSA_SIGNATURE_ALGOS=void 0;xd.ECDSA_SIGNATURE_ALGOS={"1.2.840.10045.4.3.1":"sha224","1.2.840.10045.4.3.2":"sha256","1.2.840.10045.4.3.3":"sha384","1.2.840.10045.4.3.4":"sha512"};xd.RSA_SIGNATURE_ALGOS={"1.2.840.113549.1.1.14":"sha224","1.2.840.113549.1.1.11":"sha256","1.2.840.113549.1.1.12":"sha384","1.2.840.113549.1.1.13":"sha512"};xd.SHA2_HASH_ALGOS={"2.16.840.1.101.3.4.2.1":"sha256","2.16.840.1.101.3.4.2.2":"sha384","2.16.840.1.101.3.4.2.3":"sha512"}});var z3=A(pQ=>{"use strict";Object.defineProperty(pQ,"__esModule",{value:!0});pQ.RFC3161TimestampVerificationError=void 0;var H3=class extends Error{};pQ.RFC3161TimestampVerificationError=H3});var s0e=A(ll=>{"use strict";var Ght=ll&&ll.__createBinding||(Object.create?(function(t,e,r,s){s===void 0&&(s=r);var i=Object.getOwnPropertyDescriptor(e,r);(!i||("get"in i?!e.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return e[r]}}),Object.defineProperty(t,s,i)}):(function(t,e,r,s){s===void 0&&(s=r),t[s]=e[r]})),Hht=ll&&ll.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),zht=ll&&ll.__importStar||(function(){var t=function(e){return t=Object.getOwnPropertyNames||function(r){var s=[];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(s[s.length]=i);return s},t(e)};return function(e){if(e&&e.__esModule)return e;var r={};if(e!=null)for(var s=t(e),i=0;i<s.length;i++)s[i]!=="default"&&Ght(r,e,s[i]);return Hht(r,e),r}})();Object.defineProperty(ll,"__esModule",{value:!0});ll.TSTInfo=void 0;var r0e=zht(cy()),Vht=fQ(),$ht=z3(),V3=class{root;constructor(e){this.root=e}get version(){return this.root.subs[0].toInteger()}get genTime(){return this.root.subs[4].toDate()}get messageImprintHashAlgorithm(){let e=this.messageImprintObj.subs[0].subs[0].toOID();return Vht.SHA2_HASH_ALGOS[e]}get messageImprintHashedMessage(){return this.messageImprintObj.subs[1].value}get raw(){return this.root.toDER()}verify(e){let r=r0e.digest(this.messageImprintHashAlgorithm,e);if(!r0e.bufferEqual(r,this.messageImprintHashedMessage))throw new $ht.RFC3161TimestampVerificationError("message imprint does not match artifact")}get messageImprintObj(){return this.root.subs[2]}};ll.TSTInfo=V3});var n0e=A(ul=>{"use strict";var jht=ul&&ul.__createBinding||(Object.create?(function(t,e,r,s){s===void 0&&(s=r);var i=Object.getOwnPropertyDescriptor(e,r);(!i||("get"in i?!e.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return e[r]}}),Object.defineProperty(t,s,i)}):(function(t,e,r,s){s===void 0&&(s=r),t[s]=e[r]})),Jht=ul&&ul.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),Yht=ul&&ul.__importStar||(function(){var t=function(e){return t=Object.getOwnPropertyNames||function(r){var s=[];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(s[s.length]=i);return s},t(e)};return function(e){if(e&&e.__esModule)return e;var r={};if(e!=null)for(var s=t(e),i=0;i<s.length;i++)s[i]!=="default"&&jht(r,e,s[i]);return Jht(r,e),r}})();Object.defineProperty(ul,"__esModule",{value:!0});ul.RFC3161Timestamp=void 0;var Wht=uQ(),$3=Yht(cy()),i0e=fQ(),bb=z3(),Kht=s0e(),Xht="1.2.840.113549.1.7.2",Zht="1.2.840.113549.1.9.16.1.4",edt="1.2.840.113549.1.9.4",j3=class t{root;constructor(e){this.root=e}static parse(e){let r=Wht.ASN1Obj.parseBuffer(e);return new t(r)}get status(){return this.pkiStatusInfoObj.subs[0].toInteger()}get contentType(){return this.contentTypeObj.toOID()}get eContentType(){return this.eContentTypeObj.toOID()}get signingTime(){return this.tstInfo.genTime}get signerIssuer(){return this.signerSidObj.subs[0].value}get signerSerialNumber(){return this.signerSidObj.subs[1].value}get signerDigestAlgorithm(){let e=this.signerDigestAlgorithmObj.subs[0].toOID();return i0e.SHA2_HASH_ALGOS[e]}get signatureAlgorithm(){let e=this.signatureAlgorithmObj.subs[0].toOID();return i0e.ECDSA_SIGNATURE_ALGOS[e]}get signatureValue(){return this.signatureValueObj.value}get tstInfo(){return new Kht.TSTInfo(this.eContentObj.subs[0].subs[0])}verify(e,r){if(!this.timeStampTokenObj)throw new bb.RFC3161TimestampVerificationError("timeStampToken is missing");if(this.contentType!==Xht)throw new bb.RFC3161TimestampVerificationError(`incorrect content type: ${this.contentType}`);if(this.eContentType!==Zht)throw new bb.RFC3161TimestampVerificationError(`incorrect encapsulated content type: ${this.eContentType}`);this.tstInfo.verify(e),this.verifyMessageDigest(),this.verifySignature(r)}verifyMessageDigest(){let e=$3.digest(this.signerDigestAlgorithm,this.tstInfo.raw),r=this.messageDigestAttributeObj.subs[1].subs[0].value;if(!$3.bufferEqual(e,r))throw new bb.RFC3161TimestampVerificationError("signed data does not match tstInfo")}verifySignature(e){let r=this.signedAttrsObj.toDER();if(r[0 Line truncated
\v\f\r\x1B !"#$\u066A&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_\`abcdefghijklmnopqrstuvwxyz{|}~\x7F\xB0\xB7\u2219\u221A\u2592\u2500\u2502\u253C\u2524\u252C\u251C\u2534\u2510\u250C\u2514\u2518\u03B2\u221E\u03C6\xB1\xBD\xBC\u2248\xAB\xBB\uFEF7\uFEF8\uFFFD\uFFFD\uFEFB\uFEFC\uFFFD\xA0\xAD\uFE82\xA3\xA4\uFE84\uFFFD\uFFFD\uFE8E\uFE8F\uFE95\uFE99\u060C\uFE9D\uFEA1\uFEA5\u0660\u0661\u0662\u0663\u0664\u0665\u0666\u0667\u0668\u0669\uFED1\u061B\uFEB1\uFEB5\uFEB9\u061F\xA2\uFE80\uFE81\uFE83\uFE85\uFECA\uFE8B\uFE8D\uFE91\uFE93\uFE97\uFE9B\uFE9F\uFEA3\uFEA7\uFEA9\uFEAB\uFEAD\uFEAF\uFEB3\uFEB7\uFEBB\uFEBF\uFEC1\uFEC5\uFECB\uFECF\xA6\xAC\xF7\xD7\uFEC9\u0640\uFED3\uFED7\uFEDB\uFEDF\uFEE3\uFEE7\uFEEB\uFEED\uFEEF\uFEF3\uFEBD\uFECC\uFECE\uFECD\uFEE1\uFE7D\u0651\uFEE5\uFEE9\uFEEC\uFEF0\uFEF2\uFED0\uFED5\uFEF5\uFEF6\uFEDD\uFED9\uFEF1\u25A0\uFFFD`},ibm864:"cp864",csibm864:"cp864",cp865:{type:"_sbcs",chars:"\xC7\xFC\xE9\xE2\xE4\xE0\xE5\xE7\xEA\xEB\xE8\xEF\xEE\xEC\xC4\xC5\xC9\xE6\xC6\xF4\xF6\xF2\xFB\xF9\xFF\xD6\xDC\xF8\xA3\xD8\u20A7\u0192\xE1\xED\xF3\xFA\xF1\xD1\xAA\xBA\xBF\u2310\xAC\xBD\xBC\xA1\xAB\xA4\u2591\u2592\u2593\u2502\u2524\u2561\u2562\u2556\u2555\u2563\u2551\u2557\u255D\u255C\u255B\u2510\u2514\u2534\u252C\u251C\u2500\u253C\u255E\u255F\u255A\u2554\u2569\u2566\u2560\u2550\u256C\u2567\u2568\u2564\u2565\u2559\u2558\u2552\u2553\u256B\u256A\u2518\u250C\u2588\u2584\u258C\u2590\u2580\u03B1\xDF\u0393\u03C0\u03A3\u03C3\xB5\u03C4\u03A6\u0398\u03A9\u03B4\u221E\u03C6\u03B5\u2229\u2261\xB1\u2265\u2264\u2320\u2321\xF7\u2248\xB0\u2219\xB7\u221A\u207F\xB2\u25A0\xA0"},ibm865:"cp865",csibm865:"cp865",cp866:{type:"_sbcs",chars:"\u0410\u0411\u0412\u0413\u0414\u0415\u0416\u0417\u0418\u0419\u041A\u041B\u041C\u041D\u041E\u041F\u0420\u0421\u0422\u0423\u0424\u0425\u0426\u0427\u0428\u0429\u042A\u042B\u042C\u042D\u042E\u042F\u0430\u0431\u0432\u0433\u0434\u0435\u0436\u0437\u0438\u0439\u043A\u043B\u043C\u043D\u043E\u043F\u2591\u2592\u2593\u2502\u2524\u2561\u2562\u2556\u2555\u2563\u2551\u2557\u255D\u255C\u255B\u2510\u2514\u2534\u252C\u251C\u2500\u253C\u255E\u255F\u255A\u2554\u2569\u2566\u2560\u2550\u256C\u2567\u2568\u2564\u2565\u2559\u2558\u2552\u2553\u256B\u256A\u2518\u250C\u2588\u2584\u258C\u2590\u2580\u0440\u0441\u0442\u0443\u0444\u0445\u0446\u0447\u0448\u0449\u044A\u044B\u044C\u044D\u044E\u044F\u0401\u0451\u0404\u0454\u0407\u0457\u040E\u045E\xB0\u2219\xB7\u221A\u2116\xA4\u25A0\xA0"},ibm866:"cp866",csibm866:"cp866",cp869:{type:"_sbcs",chars:"\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\u0386\uFFFD\xB7\xAC\xA6\u2018\u2019\u0388\u2015\u0389\u038A\u03AA\u038C\uFFFD\uFFFD\u038E\u03AB\xA9\u038F\xB2\xB3\u03AC\xA3\u03AD\u03AE\u03AF\u03CA\u0390\u03CC\u03CD\u0391\u0392\u0393\u0394\u0395\u0396\u0397\xBD\u0398\u0399\xAB\xBB\u2591\u2592\u2593\u2502\u2524\u039A\u039B\u039C\u039D\u2563\u2551\u2557\u255D\u039E\u039F\u2510\u2514\u2534\u252C\u251C\u2500\u253C\u03A0\u03A1\u255A\u2554\u2569\u2566\u2560\u2550\u256C\u03A3\u03A4\u03A5\u03A6\u03A7\u03A8\u03A9\u03B1\u03B2\u03B3\u2518\u250C\u2588\u2584\u03B4\u03B5\u2580\u03B6\u03B7\u03B8\u03B9\u03BA\u03BB\u03BC\u03BD\u03BE\u03BF\u03C0\u03C1\u03C3\u03C2\u03C4\u0384\xAD\xB1\u03C5\u03C6\u03C7\xA7\u03C8\u0385\xB0\xA8\u03C9\u03CB\u03B0\u03CE\u25A0\xA0"},ibm869:"cp869",csibm869:"cp869",cp922:{type:"_sbcs",chars:"\x80\x81\x82\x83\x84\x85\x86\x87\x88\x89\x8A\x8B\x8C\x8D\x8E\x8F\x90\x91\x92\x93\x94\x95\x96\x97\x98\x99\x9A\x9B\x9C\x9D\x9E\x9F\xA0\xA1\xA2\xA3\xA4\xA5\xA6\xA7\xA8\xA9\xAA\xAB\xAC\xAD\xAE\u203E\xB0\xB1\xB2\xB3\xB4\xB5\xB6\xB7\xB8\xB9\xBA\xBB\xBC\xBD\xBE\xBF\xC0\xC1\xC2\xC3\xC4\xC5\xC6\xC7\xC8\xC9\xCA\xCB\xCC\xCD\xCE\xCF\u0160\xD1\xD2\xD3\xD4\xD5\xD6\xD7\xD8\xD9\xDA\xDB\xDC\xDD\u017D\xDF\xE0\xE1\xE2\xE3\xE4\xE5\xE6\xE7\xE8\xE9\xEA\xEB\xEC\xED\xEE\xEF\u0161\xF1\xF2\xF3\xF4\xF5\xF6\xF7\xF8\xF9\xFA\xFB\xFC\xFD\u017E\xFF"},ibm922:"cp922",csibm922:"cp922",cp1046:{type:"_sbcs",chars:"\uFE88\xD7\xF7\uF8F6\uF8F5\uF8F4\uF8F7\uFE71\x88\u25A0\u2502\u2500\u2510\u250C\u2514\u2518\uFE79\uFE7B\uFE7D\uFE7F\uFE77\uFE8A\uFEF0\uFEF3\uFEF2\uFECE\uFECF\uFED0\uFEF6\uFEF8\uFEFA\uFEFC\xA0\uF8FA\uF8F9\uF8F8\xA4\uF8FB\uFE8B\uFE91\uFE97\uFE9B\uFE9F\uFEA3\u060C\xAD\uFEA7\uFEB3\u0660\u0661\u0662\u0663\u0664\u0665\u0666\u0667\u0668\u0669\uFEB7\u061B\uFEBB\uFEBF\uFECA\u061F\uFECB\u0621\u0622\u0623\u0624\u0625\u0626\u0627\u0628\u0629\u062A\u062B\u062C\u062D\u062E\u062F\u0630\u0631\u0632\u0633\u0634\u0635\u0636\u0637\uFEC7\u0639\u063A\uFECC\uFE82\uFE84\uFE8E\uFED3\u0640\u0641\u0642\u0643\u0644\u0645\u0646\u0647\u0648\u0649\u064A\u064B\u064C\u064D\u064E\u064F\u0650\u0651\u0652\uFED7\uFEDB\uFEDF\uF8FC\uFEF5\uFEF7\uFEF9\uFEFB\uFEE3\uFEE7\uFEEC\uFEE9\uFFFD"},ibm1046:"cp1046",csibm1046:"cp1046",cp1124:{type:"_sbcs",chars:"\x80\x81\x82\x83\x84\x85\x86\x87\x88\x89\x8A\x8B\x8C\x8D\x8E\x8F\x90\x91\x92\x93\x94\x95\x96\x97\x98\x99\x9A\x9B\x9C\x9D\x9E\x9F\xA0\u0401\u0402\u0490\u0404\u0405\u0406\u0407\u0408\u0409\u040A\u040B\u040C\xAD\u040E\u040F\u0410\u0411\u0412\u0413\u0414\u0415\u0416\u0417\u0418\u0419\u041A\u041B\u041C\u041D\u041E\u041FLine truncated
\v\f\r\u1EE8\u1EF0\u1EF2\u1EF6\u1EF8\xDD\u1EF4\x1B !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_\`abcdefghijklmnopqrstuvwxyz{|}~\x7F\xC0\u1EA2\xC3\xC1\u1EA0\u1EB6\u1EAC\xC8\u1EBA\u1EBC\xC9\u1EB8\u1EC6\xCC\u1EC8\u0128\xCD\u1ECA\xD2\u1ECE\xD5\xD3\u1ECC\u1ED8\u1EDC\u1EDE\u1EE0\u1EDA\u1EE2\xD9\u1EE6\u0168\xA0\u0102\xC2\xCA\xD4\u01A0\u01AF\u0110\u0103\xE2\xEA\xF4\u01A1\u01B0\u0111\u1EB0\u0300\u0309\u0303\u0301\u0323\xE0\u1EA3\xE3\xE1\u1EA1\u1EB2\u1EB1\u1EB3\u1EB5\u1EAF\u1EB4\u1EAE\u1EA6\u1EA8\u1EAA\u1EA4\u1EC0\u1EB7\u1EA7\u1EA9\u1EAB\u1EA5\u1EAD\xE8\u1EC2\u1EBB\u1EBD\xE9\u1EB9\u1EC1\u1EC3\u1EC5\u1EBF\u1EC7\xEC\u1EC9\u1EC4\u1EBE\u1ED2\u0129\xED\u1ECB\xF2\u1ED4\u1ECF\xF5\xF3\u1ECD\u1ED3\u1ED5\u1ED7\u1ED1\u1ED9\u1EDD\u1EDF\u1EE1\u1EDB\u1EE3\xF9\u1ED6\u1EE7\u0169\xFA\u1EE5\u1EEB\u1EED\u1EEF\u1EE9\u1EF1\u1EF3\u1EF7\u1EF9\xFD\u1EF5\u1ED0`},georgianacademy:{type:"_sbcs",chars:"\x80\x81\u201A\u0192\u201E\u2026\u2020\u2021\u02C6\u2030\u0160\u2039\u0152\x8D\x8E\x8F\x90\u2018\u2019\u201C\u201D\u2022\u2013\u2014\u02DC\u2122\u0161\u203A\u0153\x9D\x9E\u0178\xA0\xA1\xA2\xA3\xA4\xA5\xA6\xA7\xA8\xA9\xAA\xAB\xAC\xAD\xAE\xAF\xB0\xB1\xB2\xB3\xB4\xB5\xB6\xB7\xB8\xB9\xBA\xBB\xBC\xBD\xBE\xBF\u10D0\u10D1\u10D2\u10D3\u10D4\u10D5\u10D6\u10D7\u10D8\u10D9\u10DA\u10DB\u10DC\u10DD\u10DE\u10DF\u10E0\u10E1\u10E2\u10E3\u10E4\u10E5\u10E6\u10E7\u10E8\u10E9\u10EA\u10EB\u10EC\u10ED\u10EE\u10EF\u10F0\u10F1\u10F2\u10F3\u10F4\u10F5\u10F6\xE7\xE8\xE9\xEA\xEB\xEC\xED\xEE\xEF\xF0\xF1\xF2\xF3\xF4\xF5\xF6\xF7\xF8\xF9\xFA\xFB\xFC\xFD\xFE\xFF"},georgianps:{type:"_sbcs",chars:"\x80\x81\u201A\u0192\u201E\u2026\u2020\u2021\u02C6\u2030\u0160\u2039\u0152\x8D\x8E\x8F\x90\u2018\u2019\u201C\u201D\u2022\u2013\u2014\u02DC\u2122\u0161\u203A\u0153\x9D\x9E\u0178\xA0\xA1\xA2\xA3\xA4\xA5\xA6\xA7\xA8\xA9\xAA\xAB\xAC\xAD\xAE\xAF\xB0\xB1\xB2\xB3\xB4\xB5\xB6\xB7\xB8\xB9\xBA\xBB\xBC\xBD\xBE\xBF\u10D0\u10D1\u10D2\u10D3\u10D4\u10D5\u10D6\u10F1\u10D7\u10D8\u10D9\u10DA\u10DB\u10DC\u10F2\u10DD\u10DE\u10DF\u10E0\u10E1\u10E2\u10F3\u10E3\u10E4\u10E5\u10E6\u10E7\u10E8\u10E9\u10EA\u10EB\u10EC\u10ED\u10EE\u10F4\u10EF\u10F0\u10F5\xE6\xE7\xE8\xE9\xEA\xEB\xEC\xED\xEE\xEF\xF0\xF1\xF2\xF3\xF4\xF5\xF6\xF7\xF8\xF9\xFA\xFB\xFC\xFD\xFE\xFF"},pt154:{type:"_sbcs",chars:"\u0496\u0492\u04EE\u0493\u201E\u2026\u04B6\u04AE\u04B2\u04AF\u04A0\u04E2\u04A2\u049A\u04BA\u04B8\u0497\u2018\u2019\u201C\u201D\u2022\u2013\u2014\u04B3\u04B7\u04A1\u04E3\u04A3\u049B\u04BB\u04B9\xA0\u040E\u045E\u0408\u04E8\u0498\u04B0\xA7\u0401\xA9\u04D8\xAB\xAC\u04EF\xAE\u049C\xB0\u04B1\u0406\u0456\u0499\u04E9\xB6\xB7\u0451\u2116\u04D9\xBB\u0458\u04AA\u04AB\u049D\u0410\u0411\u0412\u0413\u0414\u0415\u0416\u0417\u0418\u0419\u041A\u041B\u041C\u041D\u041E\u041F\u0420\u0421\u0422\u0423\u0424\u0425\u0426\u0427\u0428\u0429\u042A\u042B\u042C\u042D\u042E\u042F\u0430\u0431\u0432\u0433\u0434\u0435\u0436\u0437\u0438\u0439\u043A\u043B\u043C\u043D\u043E\u043F\u0440\u0441\u0442\u0443\u0444\u0445\u0446\u0447\u0448\u0449\u044A\u044B\u044C\u044D\u044E\u044F"},viscii:{type:"_sbcs",chars:`\0\u1EB2\u1EB4\u1EAA\x07\b
\v\f\r\u1EF6\u1EF8\x1B\u1EF4 !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_\`abcdefghijklmnopqrstuvwxyz{|}~\x7F\u1EA0\u1EAE\u1EB0\u1EB6\u1EA4\u1EA6\u1EA8\u1EAC\u1EBC\u1EB8\u1EBE\u1EC0\u1EC2\u1EC4\u1EC6\u1ED0\u1ED2\u1ED4\u1ED6\u1ED8\u1EE2\u1EDA\u1EDC\u1EDE\u1ECA\u1ECE\u1ECC\u1EC8\u1EE6\u0168\u1EE4\u1EF2\xD5\u1EAF\u1EB1\u1EB7\u1EA5\u1EA7\u1EA9\u1EAD\u1EBD\u1EB9\u1EBF\u1EC1\u1EC3\u1EC5\u1EC7\u1ED1\u1ED3\u1ED5\u1ED7\u1EE0\u01A0\u1ED9\u1EDD\u1EDF\u1ECB\u1EF0\u1EE8\u1EEA\u1EEC\u01A1\u1EDB\u01AF\xC0\xC1\xC2\xC3\u1EA2\u0102\u1EB3\u1EB5\xC8\xC9\xCA\u1EBA\xCC\xCD\u0128\u1EF3\u0110\u1EE9\xD2\xD3\xD4\u1EA1\u1EF7\u1EEB\u1EED\xD9\xDA\u1EF9\u1EF5\xDD\u1EE1\u01B0\xE0\xE1\xE2\xE3\u1EA3\u0103\u1EEF\u1EAB\xE8\xE9\xEA\u1EBB\xEC\xED\u0129\u1EC9\u0111\u1EF1\xF2\xF3\xF4\xF5\u1ECF\u1ECD\u1EE5\xF9\xFA\u0169\u1EE7\xFD\u1EE3\u1EEE`},iso646cn:{type:"_sbcs",chars:`\0\x07\b
\v\f\r\x1B !"#\xA5%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_\`abcdefghijklmnopqrstuvwxyz{|}\u203E\x7F\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD`},iso646jp:{type:"_sbcs",chars:`\0\x07\b
\v\f\r\x1B !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\xA5]^_\`abcdefghijklmnopqrstuvwxyz{|}\u203E\x7F\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD`},hproman8:{type:"_sbcs",chars:"\x80\x81\x82\x83\x84\x85\x86\x87\x88\x89\x8A\x8B\x8C\x8D\x8E\x8F\x90\x91\x92\x93\x94\x95\x96\x97\x98\x99\x9A\x9B\x9C\x9D\x9E\x9F\xA0\xC0\xC2\xC8\xCA\xCB\xCE\xCF\xB4\u02CB\u02C6\xA8\u02DC\xD9\xDB\u20A4\xAF\xDD\xFD\xB0\xC7\xE7\xD1\xF1\xA1\xBF\xA4\xA3\xA5\xA7\u0192\xA2\xE2\xEA\xF4\xFB\xE1\xE9\xF3\xFA\xE0\xE8\xF2\xF9\xE4\xEB\xF6\xFC\xC5\xEE\xD8\xC6\xE5\xED\xF8\xE6\xC4\xEC\xD6\xDC\xC9\xEF\xDF\xD4\xC1\xC3\xE3\xD0\xF0\xCD\xCC\xD3\xD2\xD5\xF5\u0160\u0161\xDA\u0178\xFF\xDE\xFE\xB7\xB5\xB6\xBE\u2014\xBC\xBD\xAA\xBA\xAB\u25A0\xBB\xB1\uFFFD"},macintosh:{type:"_sbcs",chars:"\xC4\xC5\xC7\xC9\xD1\xD6\xDC\xE1\xE0\xE2\xE4\xE3\xE5\xE7\xE9\xE8\xEA\xEB\xED\xEC\xEE\xEF\xF1\xF3\xF2\xF4\xF6\xF5\xFA\xF9\xFB\xFC\u2020\xB0\xA2\xA3\xA7\u2022\xB6\xDF\xAE\xA9\u2122\xB4\xA8\u2260\xC6\xD8\u221E\xB1\u2264\u2265\xA5\xB5\u2202\u2211\u220F\u03C0\u222B\xAA\xBA\u2126\xE6\xF8\xBF\xA1\xAC\u221A\u0192\u2248\u2206\xAB\xBB\u2026\xA0\xC0\xC3\xD5\u0152\u0153\u2013\u2014\u201C\u201D\u2018\u2019\xF7\u25CA\xFF\u0178\u2044\xA4\u2039\u203A\uFB01\uFB02\u2021\xB7\u201A\u201E\u2030\xC2\xCA\xC1\xCB\xC8\xCD\xCE\xCF\xCC\xD3\xD4\uFFFD\xD2\xDA\xDB\xD9\u0131\u02C6\u02DC\xAF\u02D8\u02D9\u02DA\xB8\u02DD\u02DB\u02C7"},ascii:{type:"_sbcs",chars:"\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD"},tis620:{type:"_sbcs",chars:"\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\u0E01\u0E02\u0E03\u0E04\u0E05\u0E06\u0E07\u0E08\u0E09\u0E0A\u0E0B\u0E0C\u0E0D\u0E0E\u0E0F\u0E10\u0E11\u0E12\u0E13\u0E14\u0E15\u0E16\u0E17\u0E18\u0E19\u0E1A\u0E1B\u0E1C\u0E1D\u0E1E\u0E1F\u0E20\u0E21\u0E22\u0E23\u0E24\u0E25\u0E26\u0E27\u0E28\u0E29\u0E2A\u0E2B\u0E2C\u0E2D\u0E2E\u0E2F\u0E30\u0E31\u0E32\u0E33\u0E34\u0E35\u0E36\u0E37\u0E38\u0E39\u0E3A\uFFFD\uFFFD\uFFFD\uFFFD\u0E3F\u0E40\u0E41\u0E42\u0E43\u0E44\u0E45\u0E46\u0E47\u0E48\u0E49\u0E4A\u0E4B\u0E4C\u0E4D\u0E4E\u0E4F\u0E50\u0E51\u0E52\u0E53\u0E54\u0E55\u0E56\u0E57\u0E58\u0E59\u0E5A\u0E5B\uFFFD\uFFFD\uFFFD\uFFFD"}}});var Ebe=A(ybe=>{"use strict";var D$=Fu().Buffer;ybe._dbcs=Gu;var Hs=-1,gbe=-2,ia=-10,Vi=-1e3,by=new Array(256),qb=-1;for(ZQ=0;ZQ<256;ZQ++)by[ZQ]=Hs;var ZQ;function Gu(t,e){if(this.encodingName=t.encodingName,!t)throw new Error("DBCS codec is called without the data.");if(!t.table)throw new Error("Encoding '"+this.encodingName+"' has no data.");var r=t.table();this.decodeTables=[],this.decodeTables[0]=by.slice(0),this.decodeTableSeq=[];for(var s=0;s<r.length;s++)this._addDecodeChunk(r[s]);if(typeof t.gb18030=="function"){this.gb18030=t.gb18030();var i=this.decodeTables.length;this.decodeTables.push(by.slice(0));var n=this.decodeTables.length;this.decodeTables.push(by.slice(0));for(var o=this.decodeTables[0],s=129;s<=254;s++)for(var a=this.decodeTables[Vi-o[s]],c=48;c<=57;c++){if(a[c]===Hs)a[c]=Vi-i;else if(a[c]>Vi)throw new Error("gb18030 decode tables conflict at byte 2");for(var l=this.decodeTables[Vi-a[c]],u=129;u<=254;u++){if(l[u]===Hs)l[u]=Vi-n;else{if(l[u]===Vi-n)continue;if(l[u]>Vi)throw new Error("gb18030 decode tables conflict at byte 3")}for(var h=this.decodeTables[Vi-l[u]],d=48;d<=57;d++)h[d]===Hs&&(h[d]=gbe)}}}this.defaultCharUnicode=e.defaultCharUnicode,this.encodeTable=[],this.encodeTableSeq=[];var f={};if(t.encodeSkipVals)for(var s=0;s<t.encodeSkipValsLine truncated
Wanted: ${this.expectedSize}
Found: ${this.size}`);s.code="EBADSIZE",s.found=this.size,s.expected=this.expectedSize,s.sri=this.sri,this.emit("error",s)}else if(this.sri&&!r){let s=new Error(`${this.sri} integrity checksum failed when using ${this.algorithm}: wanted ${this.digests} but got ${e}. (${this.size} bytes)`);s.code="EINTEGRITY",s.found=e,s.expected=this.digests,s.algorithm=this.algorithm,s.sri=this.sri,this.emit("error",s)}else this.#t=this.size,this.emit("size",this.size),this.#e=e,this.emit("integrity",e),r&&(this.#s=r,this.emit("verified",r))}},ju=class{get isHash(){return!0}constructor(e,r){let s=r?.strict;this.source=e.trim(),this.digest="",this.algorithm="",this.options=[];let i=this.source.match(s?dAt:hAt);if(!i||s&&!nj.includes(i[1])||!Swe.includes(i[1]))return;this.algorithm=i[1],this.digest=i[2];let n=i[3];n&&(this.options=n.slice(1).split("?"))}hexDigest(){return this.digest&&Buffer.from(this.digest,"base64").toString("hex")}toJSON(){return this.toString()}match(e,r){let s=uo(e,r);if(!s)return!1;if(s.isIntegrity){let i=s.pickAlgorithm(r,[this.algorithm]);if(!i)return!1;let n=s[i].find(o=>o.digest===this.digest);return n||!1}return s.digest===this.digest?s:!1}toString(e){return e?.strict&&!(nj.includes(this.algorithm)&&this.digest.match(uAt)&&this.options.every(r=>r.match(fAt)))?"":`${this.algorithm}-${this.digest}${Yb(this.options)}`}};function Bwe(t,e,r,s){let i=t!=="",n=!1,o="",a=s.length-1;for(let l=0;l<a;l++){let u=ju.prototype.toString.call(s[l],r);u&&(n=!0,o+=u,o+=e)}let c=ju.prototype.toString.call(s[a],r);return c&&(n=!0,o+=c),i&&n?t+e+o:t+o}var Wp=class{get isIntegrity(){return!0}toJSON(){return this.toString()}isEmpty(){return Object.keys(this).length===0}toString(e){let r=e?.sep||" ",s="";if(e?.strict){r=r.replace(/\S+/g," ");for(let i of nj)this[i]&&(s=Bwe(s,r,e,this[i]))}else for(let i of Object.keys(this))s=Bwe(s,r,e,this[i]);return s}concat(e,r){let s=typeof e=="string"?e:jb(e,r);return uo(`${this.toString(r)} ${s}`,r)}hexDigest(){return uo(this,{single:!0}).hexDigest()}merge(e,r){let s=uo(e,r);for(let i in s)if(this[i]){if(!this[i].find(n=>s[i].find(o=>n.digest===o.digest)))throw new Error("hashes do not match, cannot update integrity")}else this[i]=s[i]}match(e,r){let s=uo(e,r);if(!s)return!1;let i=s.pickAlgorithm(r,Object.keys(this));return!!i&&this[i].find(n=>s[i].find(o=>n.digest===o.digest))||!1}pickAlgorithm(e,r){let s=e?.pickAlgorithm||CAt,i=Object.keys(this);return r?.length&&(i=i.filter(n=>r.includes(n))),i.length?i.reduce((n,o)=>s(n,o)||n):null}};Cl.exports.parse=uo;function uo(t,e){if(!t)return null;if(typeof t=="string")return ij(t,e);if(t.algorithm&&t.digest){let r=new Wp;return r[t.algorithm]=[t],ij(jb(r,e),e)}else return ij(jb(t,e),e)}function ij(t,e){if(e?.single)return new ju(t,e);let r=t.trim().split(/\s+/).reduce((s,i)=>{let n=new ju(i,e);if(n.algorithm&&n.digest){let o=n.algorithm;Object.keys(s).includes(o)||(s[o]=[]),s[o].push(n)}return s},new Wp);return r.isEmpty()?null:r}Cl.exports.stringify=jb;function jb(t,e){return t.algorithm&&t.digest?ju.prototype.toString.call(t,e):typeof t=="string"?jb(uo(t,e),e):Wp.prototype.toString.call(t,e)}Cl.exports.fromHex=pAt;function pAt(t,e,r){let s=Yb(r?.options);return uo(`${e}-${Buffer.from(t,"hex").toString("base64")}${s}`,r)}Cl.exports.fromData=AAt;function AAt(t,e){let r=e?.algorithms||[...aj],s=Yb(e?.options);return r.reduce((i,n)=>{let o=Jb.createHash(n).update(t).digest("base64"),a=new ju(`${n}-${o}${s}`,e);if(a.algorithm&&a.digest){let c=a.algorithm;i[c]||(i[c]=[]),i[c].push(a)}return i},new Wp)}Cl.exports.fromStream=mAt;function mAt(t,e){let r=cj(e);return new Promise((s,i)=>{t.pipe(r),t.on("error",i),r.on("error",i);let n;r.on("integrity",o=>{n=o}),r.on("end",()=>s(n)),r.resume()})}Cl.exports.checkData=gAt;function gAt(t,e,r){if(e=uo(e,r),!e||!Object.keys(e).length){if(r?.error)throw Object.assign(new Error("No valid integrity hashes to check against"),{code:"EINTEGRITY"});return!1}let s=e.pickAlgorithm(r),i=Jb.createHash(s).update(t).digest("base64"),n=uo({algorithm:s,digest:i}),o=n.match(e,r);if(r=r||{},o||!r.error)return o;if(typeof r.size=="number"&&t.length!==r.size){let a=new Error(`data size mismatch when checking ${e}.
Wanted: ${r.size}
Found: ${t.length}`);throw a.code="EBADSIZE",a.found=t.length,a.expected=r.size,a.sri=e,a}else{let a=new Error(`Integrity checksum failed when using ${s}: Wanted ${e}, but got ${n}. (${t.length} bytes)`);throw a.code="EINTEGRITY",a.found=n,a.expected=e,a.algorithm=s,a.sri=e,a}}Cl.exports.checkStream=yAt;function yAt(t,e,r){if(r=r||Object.create(null),r.integrity=e,e=uo(e,r),!e||!Object.keys(e).length)return Promise.reject(Object.assign(new Error("No valid integrity hashes to check against"),{code:"EINTEGRITY"}));let s=cj(r);return new Promise((i,n)=>{t.pipe(s),t.on("error",n),s.on("error",n);let o;s.on("verified",a=>{o=a}),s.on("end",()=>i(o)),s.resume()})}Cl.exports.integrityStream=cj;function cj(t=Object.create(null)){return new oj(t)}Cl.exports.create=EAt;function EAt(t){let e=t?.algorithms||[...aj],r=Yb(t?.options),s=e.map(Jb.createHash);return{update:function(i,n){return s.forEach(o=>o.update(i,n)),this},digest:function(){return e.reduce((n,o)=>{let a=s.shift().digest("base64"),c=new ju(`${o}-${a}${r}`,t);return n[c.algorithm]||(n[c.algorithm]=[]),n[c.algorithm].push(c),n},new Wp)}}}function CAt(t,e){return wwe.indexOf(t.toLowerCase())>=wwe.indexOf(e.toLowerCase())?t:e}});var uj=A((w7t,Twe)=>{var xwe=K$(),Nwe=sj(),IAt=Il(),Rwe={shared:!1,ignoreCargoCult:!0},bAt={status:200,headers:{}},Sy=t=>{let e={method:t.method,url:t.url,headers:{},compress:t.compress};return t.headers.forEach((r,s)=>{e.headers[s]=r}),e},vwe=t=>{let e={status:t.status,headers:{}};return t.headers.forEach((r,s)=>{e.headers[s]=r}),e},lj=class{constructor({entry:e,request:r,response:s,options:i}){this.entry=e,this.request=Sy(r),this.response=vwe(s),this.options=i,this.policy=new xwe(this.request,this.response,Rwe),this.entry&&(this.policy._responseTime=this.entry.metadata.time)}static storable(e,r){return!r.cachePath||r.cache==="no-store"||!["GET","HEAD"].includes(e.method)?!1:new xwe(Sy(e),bAt,Rwe).storable()}satisfies(e){let r=Sy(e);if(this.request.headers.host!==r.headers.host||this.request.compress!==r.compress)return!1;let s=new Nwe(this.request),i=new Nwe(r);return JSON.stringify(s.mediaTypes())!==JSON.stringify(i.mediaTypes())||JSON.stringify(s.languages())!==JSON.stringify(i.languages())||JSON.stringify(s.encodings())!==JSON.stringify(i.encodings())?!1:this.options.integrity?IAt.parse(this.options.integrity).match(this.entry.integrity):!0}storable(){return this.policy.storable()}get mustRevalidate(){return!!this.policy._rescc["must-revalidate"]}needsRevalidation(e){let r=Sy(e);return r.method="GET",!this.policy.satisfiesWithoutRevalidation(r)}responseHeaders(){return this.policy.responseHeaders()}revalidationHeaders(e){let r=Sy(e);return this.policy.revalidationHeaders(r)}revalidated(e,r){let s=Sy(e),i=vwe(r);return!this.policy.revalidatedPolicy(s,i).modified}};Twe.exports=lj});var Qwe=A((B7t,_we)=>{var hj=class extends Error{constructor(e){super(`request to ${e} failed: cache mode is 'only-if-cached' but no cached response is available.`),this.code="ENOTCACHED"}};_we.exports={NotCachedError:hj}});var Gwe=A((S7t,qwe)=>{"use strict";var Pwe=typeof process=="object"&&process?process:{stdout:null,stderr:null},wAt=require("events"),Owe=require("stream"),Dwe=require("string_decoder").StringDecoder,Ju=Symbol("EOF"),Yu=Symbol("maybeEmitEnd"),Od=Symbol("emittedEnd"),d1=Symbol("emittingEnd"),Wb=Symbol("emittedError"),f1=Symbol("closed"),kwe=Symbol("read"),p1=Symbol("flush"),Mwe=Symbol("flushChunk"),Cn=Symbol("encoding"),Wu=Symbol("decoder"),A1=Symbol("flowing"),Kb=Symbol("paused"),xy=Symbol("resume"),Ts=Symbol("bufferLength"),dj=Symbol("bufferPush"),fj=Symbol("bufferShift"),ai=Symbol("objectMode"),ci=Symbol("destroyed"),pj=Symbol("emitData"),Lwe=Symbol("emitEnd"),Aj=Symbol("emitEnd2"),Ku=Symbol("async"),Xb=t=>Promise.resolve().then(t),Uwe=global._MP_NO_ITERATOR_SYMBOLS_!=="1",BAt=Uwe&&Symbol.asyncIterator||Symbol("asyncIterator not implemented"),SAt=Uwe&&Symbol.iterator||Symbol("iterator not implemented"),xAt=t=>t==="end"||t==="finish"||t==="prefinish",NAt=t=>t instanceof ArrayBuffer||typeof t=="object"&&t.constructor&&t.constructor.name==="ArrayBuffer"&&t.byteLength>=0,RAt=t=>!Buffer.isBuffer(t)&&ArrayBuffer.isView(t),m1=class{constructor(e,r,s){this.src=e,this.dest=r,this.opts=s,this.ondrain=()=>e[xy](),r.on("drain",this.ondrain)}unpipe(){this.dest.removeListener("drain",this.ondrain)}proxyErrors(){}end(){this.unpipe(),this.opts.end&&this.dest.end()}},mj=class extends m1{unpipe(){this.src.removeListener("error",this.proxyErrors),super.unpipe()}constructor(e,r,s){super(e,r,s),this.proxyErrors=i=>r.emit("error",i),e.on("error",this.proxyErrors)}};qwe.exports=class Fwe extends Owe{constructor(e){super(),this[A1]=!1,this[Kb]=!1,this.pipes=[],this.buffer=[],this[ai]=e&&e.objectMode||!1,this[ai]?this[Cn]=null:this[Cn]=e&&e.encoding||null,this[Cn]==="buffer"&&(this[Cn]=null),this[Ku]=e&&!!e.async||!1,this[Wu]=this[Cn]?new Dwe(this[Cn]):null,this[Ju]=!1,this[Od]=!1,this[d1]=!1,this[f1]=!1,this[Wb]=null,this.writable=!0,this.readable=!0,thi Line truncated
`+o.map(d=>{let f=JSON.stringify(d);return`${q1(f)} ${f}`}).join(`
`),c=async()=>{let d=nCt(wl.join(t,"tmp"),s.tmpPrefix);return await h6(wl.dirname(d),{recursive:!0}),{target:d,moved:!1}},l=async d=>{if(!d.moved)return Xxe(d.target,{recursive:!0,force:!0})},u=async d=>{await rCt(d.target,a,{flag:"wx"}),await h6(wl.dirname(i),{recursive:!0}),await lCt(d.target,i),d.moved=!0},h=await c();try{await u(h)}finally{await l(h)}return o.reverse().map(d=>G1(t,d,!0))}fo.exports.insert=Zxe;async function Zxe(t,e,r,s={}){let{metadata:i,size:n,time:o}=s,a=Aw(t,e),c={key:e,integrity:r&&iCt.stringify(r),time:o||Date.now(),size:n,metadata:i};try{await h6(wl.dirname(a),{recursive:!0});let l=JSON.stringify(c);await ZEt(a,`
${q1(l)} ${l}`)}catch(l){if(l.code==="ENOENT")return;throw l}return G1(t,c)}fo.exports.find=hCt;async function hCt(t,e){let r=Aw(t,e);try{return(await F1(r)).reduce((i,n)=>n&&n.key===e?G1(t,n):i,null)}catch(s){if(s.code==="ENOENT")return null;throw s}}fo.exports.delete=dCt;function dCt(t,e,r={}){if(!r.removeFully)return Zxe(t,e,null,r);let s=Aw(t,e);return Xxe(s,{recursive:!0,force:!0})}fo.exports.lsStream=eNe;function eNe(t){let e=d6(t),r=new sCt({objectMode:!0});return Promise.resolve().then(async()=>{let{default:s}=await Promise.resolve().then(()=>(U1(),L1)),i=await u6(e);return await s(i,async n=>{let o=wl.join(e,n),a=await u6(o);await s(a,async c=>{let l=wl.join(o,c),u=await u6(l);await s(u,async h=>{let d=wl.join(l,h);try{let p=(await F1(d)).reduce((m,E)=>(m.set(E.key,E),m),new Map);for(let m of p.values()){let E=G1(t,m);E&&r.write(E)}}catch(f){if(f.code==="ENOENT")return;throw f}},{concurrency:l6})},{concurrency:l6})},{concurrency:l6}),r.end(),r}).catch(s=>r.emit("error",s)),r}fo.exports.ls=fCt;async function fCt(t){return(await eNe(t).collect()).reduce((r,s)=>(r[s.key]=s,r),{})}fo.exports.bucketEntries=F1;async function F1(t,e){let r=await eCt(t,"utf8");return pCt(r,e)}function pCt(t){let e=[];return t.split(`
`).forEach(r=>{if(!r)return;let s=r.split(" ");if(!s[1]||q1(s[1])!==s[0])return;let i;try{i=JSON.parse(s[1])}catch{}i&&e.push(i)}),e}fo.exports.bucketDir=d6;function d6(t){return wl.join(t,`index-v${cCt}`)}fo.exports.bucketPath=Aw;function Aw(t,e){let r=tNe(e);return wl.join.apply(wl,[d6(t)].concat(aCt(r)))}fo.exports.hashKey=tNe;function tNe(t){return rNe(t,"sha256")}fo.exports.hashEntry=q1;function q1(t){return rNe(t,"sha1")}function rNe(t,e){return XEt.createHash(e).update(t).digest("hex")}function G1(t,e,r){return!e.integrity&&!r?null:{key:e.key,integrity:e.integrity,path:e.integrity?oCt(t,e.integrity):void 0,size:e.size,time:e.time,metadata:e.metadata}}function u6(t){return tCt(t).catch(e=>{if(e.code==="ENOENT"||e.code==="ENOTDIR")return[];throw e})}});var gw=A(V1=>{"use strict";Object.defineProperty(V1,"__esModule",{value:!0});V1.LRUCache=void 0;var ACt=typeof performance=="object"&&performance&&typeof performance.now=="function"?performance:Date,iNe=new Set,f6=typeof process=="object"&&process?process:{},nNe=(t,e,r,s)=>{typeof f6.emitWarning=="function"?f6.emitWarning(t,e,r,s):console.error(`[${r}] ${e}: ${t}`)},z1=globalThis.AbortController,sNe=globalThis.AbortSignal;if(typeof z1>"u"){sNe=class{onabort;_onabort=[];reason;aborted=!1;addEventListener(r,s){this._onabort.push(s)}},z1=class{constructor(){e()}signal=new sNe;abort(r){if(!this.signal.aborted){this.signal.reason=r,this.signal.aborted=!0;for(let s of this.signal._onabort)s(r);this.signal.onabort?.(r)}}};let t=f6.env?.LRU_CACHE_IGNORE_AC_WARNING!=="1",e=()=>{t&&(t=!1,nNe("AbortController is not defined. If using lru-cache in node 14, load an AbortController polyfill from the `node-abort-controller` package. A minimal polyfill is provided for use by LRUCache.fetch(), but it should not be relied upon in other contexts (eg, passing it to other APIs that use AbortController/AbortSignal might have undesirable effects). You may disable this with LRU_CACHE_IGNORE_AC_WARNING=1 in the env.","NO_ABORT_CONTROLLER","ENOTSUP",e))}}var mCt=t=>!iNe.has(t),kd=t=>t&&t===Math.floor(t)&&t>0&&isFinite(t),oNe=t=>kd(t)?t<=Math.pow(2,8)?Uint8Array:t<=Math.pow(2,16)?Uint16Array:t<=Math.pow(2,32)?Uint32Array:t<=Number.MAX_SAFE_INTEGER?H1:null:null,H1=class extends Array{constructor(t){super(t),this.fill(0)}},gCt=class mw{heap;length;static#e=!1;static create(e){let r=oNe(e);if(!r)return[];mw.#e=!0;let s=new mw(e,r);return mw.#e=!1,s}constructor(e,r){if(!mw.#e)throw new TypeError("instantiate Stack using Stack.create(n)");this.heap=new r(e),this.length=0}push(e){this.heap[this.length++]=e}pop(){return this.heap[--this.length]}},yCt=class aNe{#e;#t;#s;#r;#i;#n;#u;#l;get perf(){return this.#l}ttl;ttlResolution;ttlAutopurge;updateAgeOnGet;updateAgeOnHas;allowStale;noDisposeOnSet;noUpdateTTL;maxEntrySize;sizeCalculation;noDeleteOnFetchRejection;noDeleteOnStaleGet;allowStaleOnFetchAbort;allowStaleOnFetchRejection;ignoreFetchAbort;#a;#f;#p;#h;#o;#y;#I;#g;#A;#x;#m;#B;#S;#E;#C;#b;#R;#c;#O;static unsafeExposeInternals(e){return{starts:e.#S,ttls:e.#E,autopurgeTimers:e.#C,sizes:e.#B,keyMap:e.#p,keyList:e.#h,valList:e.#o,next:e.#y,prev:e.#I,get head(){return e.#g},get tail(){return e.#A},free:e.#x,isBackgroundFetch:r=>e.#d(r),backgroundFetch:(r,s,i,n)=>e.#G(r,s,i,n),moveToTail:r=>e.#P(r),indexes:r=>e.#v(r),rindexes:r=>e.#T(r),isStale:r=>e.#w(r)}}get max(){return this.#e}get maxSize(){return this.#t}get calculatedSize(){return this.#f}get size(){return this.#a}get fetchMethod(){return this.#n}get memoMethod(){return this.#u}get dispose(){return this.#s}get onInsert(){return this.#r}get disposeAfter(){return this.#i}constructor(e){let{max:r=0,ttl:s,ttlResolution:i=1,ttlAutopurge:n,updateAgeOnGet:o,updateAgeOnHas:a,allowStale:c,dispose:l,onInsert:u,disposeAfter:h,noDisposeOnSet:d,noUpdateTTL:f,maxSize:p=0,maxEntrySize:m=0,sizeCalculation:E,fetchMethod:y,memoMethod:C,noDeleteOnFetchRejection:w,noDeleteOnStaleGet:S,allowStaleOnFetchRejection:N,allowStaleOnFetchAbort:P,ignoreFetchAbort:Q,perf:k}=e;if(k!==void 0&&typeof k?.now!="function")throw new TypeError("perf option must have a now() method if specified");if(this.#l=k??ACt,r!==0&&!kd(r))throw new TypeError("max option must be a nonnegative integer");let G=r?oNe(r):Array;if(!G)throw new Error("invalid max value: "+r);if(this.#e=r,this.#t=p,this.maxEntrySize=m||this.#t,this.sizeCalculation=E,this.sizeCalculation){if(!this.#t&&!this.maxEntrySize)throw new TypeError("cannot set sizeCalculation without setting maxSize or maxEntrySize");if(typeof this.sizeCalculation!="function")throw new TypeError("sizeCalculation set to non-function")}if(C!==void 0&&typeof C!="function")throw new TypeError("memoMethod must be a function if defined");if(this.#u=C,y!==void 0&&typeof y!="function")throw new TypeError("fetchMethod must be a function if specified");if(this.#n=y,this.#R=!!y,this.#p=new Map,this.#h=new Array(r).fill(void 0),this.#o=new Array(r).fill(void 0),this.#y=new G(r),this.#I=new G(r),this.#g=0,this.#A=0,this.#x=gCt.create(r),this.#a=0, Line truncated
Wanted: ${t}
Found: ${e}`);return r.code="EINTEGRITY",r.expected=t,r.found=e,r}});var vNe=A((Wer,N6)=>{"use strict";var SNe=ky(),xNe=yw(),NNe=BNe(),eIt=Zb(),{PassThrough:tIt}=Ij(),rIt=Xp(),RNe=t=>({algorithms:["sha512"],...t});N6.exports=sIt;async function sIt(t,e,r,s={}){let{memoize:i}=s;s=RNe(s);let n=await NNe(t,r,s),o=await SNe.insert(t,e,n.integrity,{...s,size:n.size});return i&&xNe.put(t,o,r,s),n.integrity}N6.exports.stream=iIt;function iIt(t,e,r={}){let{memoize:s}=r;r=RNe(r);let i,n,o,a,c=new rIt;if(s){let u=new tIt().on("collect",h=>{a=h});c.push(u)}let l=NNe.stream(t,r).on("integrity",u=>{i=u}).on("size",u=>{n=u}).on("error",u=>{o=u});return c.push(l),c.push(new eIt({async flush(){if(!o){let u=await SNe.insert(t,e,i,{...r,size:n});s&&a&&xNe.put(t,u,a,r),c.emit("integrity",i),c.emit("size",n)}}})),c}});var $Ne=A(ht=>{"use strict";var zs=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),nIt=zs(t=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.range=t.balanced=void 0;var e=(i,n,o)=>{let a=i instanceof RegExp?r(i,o):i,c=n instanceof RegExp?r(n,o):n,l=a!==null&&c!=null&&(0,t.range)(a,c,o);return l&&{start:l[0],end:l[1],pre:o.slice(0,l[0]),body:o.slice(l[0]+a.length,l[1]),post:o.slice(l[1]+c.length)}};t.balanced=e;var r=(i,n)=>{let o=n.match(i);return o?o[0]:null},s=(i,n,o)=>{let a,c,l,u,h,d=o.indexOf(i),f=o.indexOf(n,d+1),p=d;if(d>=0&&f>0){if(i===n)return[d,f];for(a=[],l=o.length;p>=0&&!h;){if(p===d)a.push(p),d=o.indexOf(i,p+1);else if(a.length===1){let m=a.pop();m!==void 0&&(h=[m,f])}else c=a.pop(),c!==void 0&&c<l&&(l=c,u=f),f=o.indexOf(n,p+1);p=d<f&&d>=0?d:f}a.length&&u!==void 0&&(h=[l,u])}return h};t.range=s}),oIt=zs(t=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.EXPANSION_MAX=void 0,t.expand=N;var e=nIt(),r="\0SLASH"+Math.random()+"\0",s="\0OPEN"+Math.random()+"\0",i="\0CLOSE"+Math.random()+"\0",n="\0COMMA"+Math.random()+"\0",o="\0PERIOD"+Math.random()+"\0",a=new RegExp(r,"g"),c=new RegExp(s,"g"),l=new RegExp(i,"g"),u=new RegExp(n,"g"),h=new RegExp(o,"g"),d=/\\\\/g,f=/\\{/g,p=/\\}/g,m=/\\,/g,E=/\\./g;t.EXPANSION_MAX=1e5;function y(L){return isNaN(L)?L.charCodeAt(0):parseInt(L,10)}function C(L){return L.replace(d,r).replace(f,s).replace(p,i).replace(m,n).replace(E,o)}function w(L){return L.replace(a,"\\").replace(c,"{").replace(l,"}").replace(u,",").replace(h,".")}function S(L){if(!L)return[""];let U=[],q=(0,e.balanced)("{","}",L);if(!q)return L.split(",");let{pre:V,body:re,post:_e}=q,we=V.split(",");we[we.length-1]+="{"+re+"}";let le=S(_e);return _e.length&&(we[we.length-1]+=le.shift(),we.push.apply(we,le)),U.push.apply(U,we),U}function N(L,U={}){if(!L)return[];let{max:q=t.EXPANSION_MAX}=U;return L.slice(0,2)==="{}"&&(L="\\{\\}"+L.slice(2)),X(C(L),q,!0).map(w)}function P(L){return"{"+L+"}"}function Q(L){return/^-?0\d/.test(L)}function k(L,U){return L<=U}function G(L,U){return L>=U}function X(L,U,q){let V=[],re=(0,e.balanced)("{","}",L);if(!re)return[L];let _e=re.pre,we=re.post.length?X(re.post,U,!1):[""];if(/\$$/.test(re.pre))for(let le=0;le<we.length&&le<U;le++){let ct=_e+"{"+re.body+"}"+we[le];V.push(ct)}else{let le=/^-?\d+\.\.-?\d+(?:\.\.-?\d+)?$/.test(re.body),ct=/^[a-zA-Z]\.\.[a-zA-Z](?:\.\.-?\d+)?$/.test(re.body),Ze=le||ct,Et=re.body.indexOf(",")>=0;if(!Ze&&!Et)return re.post.match(/,(?!,).*\}/)?(L=re.pre+"{"+re.body+i+re.post,X(L,U,!0)):[L];let Pe;if(Ze)Pe=re.body.split(/\.\./);else if(Pe=S(re.body),Pe.length===1&&Pe[0]!==void 0&&(Pe=X(Pe[0],U,!1).map(P),Pe.length===1))return we.map(Ft=>re.pre+Pe[0]+Ft);let dt;if(Ze&&Pe[0]!==void 0&&Pe[1]!==void 0){let Ft=y(Pe[0]),es=y(Pe[1]),Rn=Math.max(Pe[0].length,Pe[1].length),St=Pe.length===3&&Pe[2]!==void 0?Math.abs(y(Pe[2])):1,go=k;es<Ft&&(St*=-1,go=G);let v=Pe.some(Q);dt=[];for(let _=Ft;go(_,es);_+=St){let D;if(ct)D=String.fromCharCode(_),D==="\\"&&(D="");else if(D=String(_),v){let F=Rn-D.length;if(F>0){let Y=new Array(F+1).join("0");_<0?D="-"+Y+D.slice(1):D=Y+D}}dt.push(D)}}else{dt=[];for(let Ft=0;Ft<Pe.length;Ft++)dt.push.apply(dt,X(Pe[Ft],U,!1))}for(let Ft=0;Ft<dt.length;Ft++)for(let es=0;es<we.length&&V.length<U;es++){let Rn=_e+dt[Ft]+we[es];(!q||Ze||Rn)&&V.push(Rn)}}return V}}),aIt=zs(t=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.assertValidPattern=void 0;var e=1024*64,r=s=>{if(typeof s!="string")throw new TypeError("invalid pattern");if(s.length>e)throw new TypeError("pattern is too long")};t.assertValidPattern=r}),cIt=zs(t=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.parseClass=void 0;var e={"[:alnum:]":["\\p{L}\\p{Nl}\\p{Nd}",!0],"[:alpha:]":["\\p{L}\\p{Nl}",!0],"[:ascii:]":["\\x00-\\x7f",!1],"[:blank:]":["\\p{Zs}\\t",!0],"[:cntrl:]":["\\p{Cc}",!0],"[:digit:]":["\\p{Nd}",!0],"[:graph:]":["\\p{Z}\\p{C}",!0,!0],"[:lower:]":["\\p{Ll}",!0],"[:print:]":["\\p{C}",!0],"[:punct:]":["\\p{P}",!0],"[:space:]":["\\p{Z}\\t\\r\\n\\v\\f",!0],"[:upper:]":["\\p{Lu}",!0],"[:word:]":["\\p{L}\\p{Nl}\\p{Nd}\\p{Pc}",!0],"[:xdigit:]":["A-Fa-f0-9",!1]},r=o=>o.replace(/[[\]\\-]/g,"\\$&"),s= Line truncated
globstar while`,v,ee,_,Oe,nt),this.matchOne(v.slice(ee),_.slice(Oe),D))return this.debug("globstar found match!",ee,R,nt),!0;if(nt==="."||nt===".."||!F.dot&&nt.charAt(0)==="."){this.debug("dot detected!",v,ee,_,Oe);break}this.debug("globstar swallow a segment, and continue"),ee++}return!!(D&&(this.debug(`
>>> no match, partial?`,v,ee,_,Oe),ee===R))}let rt;if(typeof $=="string"?(rt=ge===$,this.debug("string match",$,ge,rt)):(rt=$.test(ge),this.debug("pattern match",$,ge,rt)),!rt)return!1}if(g===R&&B===M)return!0;if(g===R)return D;if(B===M)return g===R-1&&v[g]==="";throw new Error("wtf?")}braceExpand(){return(0,t.braceExpand)(this.pattern,this.options)}parse(v){(0,r.assertValidPattern)(v);let _=this.options;if(v==="**")return t.GLOBSTAR;if(v==="")return"";let D,F=null;(D=v.match(y))?F=_.dot?w:C:(D=v.match(a))?F=(_.nocase?_.dot?h:u:_.dot?l:c)(D[1]):(D=v.match(S))?F=(_.nocase?_.dot?P:N:_.dot?Q:k)(D):(D=v.match(d))?F=_.dot?p:f:(D=v.match(m))&&(F=E);let Y=s.AST.fromGlob(v,this.options).toMMPattern();return F&&typeof Y=="object"&&Reflect.defineProperty(Y,"test",{value:F}),Y}makeRe(){if(this.regexp||this.regexp===!1)return this.regexp;let v=this.set;if(!v.length)return this.regexp=!1,this.regexp;let _=this.options,D=_.noglobstar?V:_.dot?re:_e,F=new Set(_.nocase?["i"]:[]),Y=v.map(R=>{let M=R.map(ge=>{if(ge instanceof RegExp)for(let ee of ge.flags.split(""))F.add(ee);return typeof ge=="string"?Ft(ge):ge===t.GLOBSTAR?t.GLOBSTAR:ge._src});M.forEach((ge,ee)=>{let Oe=M[ee+1],nt=M[ee-1];ge!==t.GLOBSTAR||nt===t.GLOBSTAR||(nt===void 0?Oe!==void 0&&Oe!==t.GLOBSTAR?M[ee+1]="(?:\\/|"+D+"\\/)?"+Oe:M[ee]=D:Oe===void 0?M[ee-1]=nt+"(?:\\/|\\/"+D+")?":Oe!==t.GLOBSTAR&&(M[ee-1]=nt+"(?:\\/|\\/"+D+"\\/)"+Oe,M[ee+1]=t.GLOBSTAR))});let $=M.filter(ge=>ge!==t.GLOBSTAR);if(this.partial&&$.length>=1){let ge=[];for(let ee=1;ee<=$.length;ee++)ge.push($.slice(0,ee).join("/"));return"(?:"+ge.join("|")+")"}return $.join("/")}).join("|"),[g,B]=v.length>1?["(?:",")"]:["",""];Y="^"+g+Y+B+"$",this.partial&&(Y="^(?:\\/|"+g+Y.slice(1,-1)+B+")$"),this.negate&&(Y="^(?!"+Y+").+$");try{this.regexp=new RegExp(Y,[...F].join(""))}catch{this.regexp=!1}return this.regexp}slashSplit(v){return this.preserveMultipleSlashes?v.split("/"):this.isWindows&&/^\/\/[^\/]+/.test(v)?["",...v.split(/\/+/)]:v.split(/\/+/)}match(v,_=this.partial){if(this.debug("match",v,this.pattern),this.comment)return!1;if(this.empty)return v==="";if(v==="/"&&_)return!0;let D=this.options;this.isWindows&&(v=v.split("\\").join("/"));let F=this.slashSplit(v);this.debug(this.pattern,"split",F);let Y=this.set;this.debug(this.pattern,"set",Y);let g=F[F.length-1];if(!g)for(let B=F.length-2;!g&&B>=0;B--)g=F[B];for(let B=0;B<Y.length;B++){let R=Y[B],M=F;if(D.matchBase&&R.length===1&&(M=[g]),this.matchOne(M,R,_))return D.flipNegate?!0:!this.negate}return D.flipNegate?!1:this.negate}static defaults(v){return t.minimatch.defaults(v).Minimatch}};t.Minimatch=es;var Rn=TNe();Object.defineProperty(t,"AST",{enumerable:!0,get:function(){return Rn.AST}});var St=_Ne();Object.defineProperty(t,"escape",{enumerable:!0,get:function(){return St.escape}});var go=R6();Object.defineProperty(t,"unescape",{enumerable:!0,get:function(){return go.unescape}}),t.minimatch.AST=s.AST,t.minimatch.Minimatch=es,t.minimatch.escape=i.escape,t.minimatch.unescape=n.unescape}),lIt=zs(t=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.LRUCache=void 0;var e=typeof performance=="object"&&performance&&typeof performance.now=="function"?performance:Date,r=new Set,s=typeof process=="object"&&process?process:{},i=(f,p,m,E)=>{typeof s.emitWarning=="function"?s.emitWarning(f,p,m,E):console.error(`[${m}] ${p}: ${f}`)},n=globalThis.AbortController,o=globalThis.AbortSignal;if(typeof n>"u"){o=class{onabort;_onabort=[];reason;aborted=!1;addEventListener(m,E){this._onabort.push(E)}},n=class{constructor(){p()}signal=new o;abort(m){if(!this.signal.aborted){this.signal.reason=m,this.signal.aborted=!0;for(let E of this.signal._onabort)E(m);this.signal.onabort?.(m)}}};let f=s.env?.LRU_CACHE_IGNORE_AC_WARNING!=="1",p=()=>{f&&(f=!1,i("AbortController is not defined. If using lru-cache in node 14, load an AbortController polyfill from the `node-abort-controller` package. A minimal polyfill is provided for use by LRUCache.fetch(), but it should not be relied upon in other contexts (eg, passing it to other APIs that use AbortController/AbortSignal might have undesirable effects). You may disable this with LRU_CACHE_IGNORE_AC_WARNING=1 in the env.","NO_ABORT_CONTROLLER","ENOTSUP",p))}}var a=f=>!r.has(f),c=f=>f&&f===Math.floor(f)&&f>0&&isFinite(f),l=f=>c(f)?f<=Math.pow(2,8)?Uint8Array:f<=Math.pow(2,16)?Uint16Array:f<=Math.pow(2,32)?Uint32Array:f<=Number.MAX_SAFE_INTEGER?u:null:null,u=class extends Array{constructor(f){super(f),this.fill(0)}},h=class Sw{heap;length;static#e=!1;static create(p){let m=l(p);if(!m)return[];Sw.#e=!0;let E=new Sw(p,m);return Sw.#e=!1,E}constructor(p,m){if(!Sw.#e)throw new TypeError("instantiate Stack using Stack.create(n)");this.heap=new m(p),this.length=0}push(p){this.heap[this.length++]=p}pop(){return this.heap[--this.length]}},d=class ONe{#e;#t;#s;#r;#i;#n;#u;#l;get perf(){return this.#l}ttl;ttlResolution;ttlAutopurge;updateAgeOnGet;updateAgeOnHas;allowStale;noDisposeOnSet;noUpdateTTL;maxEntrySize;sizeCalculation Line truncated
\r
`);if(d===-1){cP("have not received end of HTTP headers yet..."),n();return}let f=h.slice(0,d).toString("ascii").split(`\r
`),p=f.shift();if(!p)return t.destroy(),r(new Error("No header received from proxy CONNECT response"));let m=p.split(" "),E=+m[1],y=m.slice(2).join(" "),C={};for(let w of f){if(!w)continue;let S=w.indexOf(":");if(S===-1)return t.destroy(),r(new Error(`Invalid header from proxy CONNECT response: "${w}"`));let N=w.slice(0,S).toLowerCase(),P=w.slice(S+1).trimStart(),Q=C[N];typeof Q=="string"?C[N]=[Q,P]:Array.isArray(Q)?Q.push(P):C[N]=P}cP("got proxy server response: %o %o",p,C),o(),e({connect:{statusCode:E,statusText:y,headers:C},buffered:h})}t.on("error",c),t.on("end",a),n()})}Jy.parseProxyResponse=U0t});var kRe=A(ca=>{"use strict";var F0t=ca&&ca.__createBinding||(Object.create?(function(t,e,r,s){s===void 0&&(s=r);var i=Object.getOwnPropertyDescriptor(e,r);(!i||("get"in i?!e.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return e[r]}}),Object.defineProperty(t,s,i)}):(function(t,e,r,s){s===void 0&&(s=r),t[s]=e[r]})),q0t=ca&&ca.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),ORe=ca&&ca.__importStar||function(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var r in t)r!=="default"&&Object.prototype.hasOwnProperty.call(t,r)&&F0t(e,t,r);return q0t(e,t),e},DRe=ca&&ca.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(ca,"__esModule",{value:!0});ca.HttpsProxyAgent=void 0;var vw=ORe(require("net")),QRe=ORe(require("tls")),G0t=DRe(require("assert")),H0t=DRe(Jf()),z0t=PI(),V0t=require("url"),$0t=_Re(),Tw=(0,H0t.default)("https-proxy-agent"),lP=class extends z0t.Agent{constructor(e,r){super(r),this.options={path:void 0},this.proxy=typeof e=="string"?new V0t.URL(e):e,this.proxyHeaders=r?.headers??{},Tw("Creating new HttpsProxyAgent instance: %o",this.proxy.href);let s=(this.proxy.hostname||this.proxy.host).replace(/^\[|\]$/g,""),i=this.proxy.port?parseInt(this.proxy.port,10):this.proxy.protocol==="https:"?443:80;this.connectOpts={ALPNProtocols:["http/1.1"],...r?PRe(r,"headers"):null,host:s,port:i}}async connect(e,r){let{proxy:s}=this;if(!r.host)throw new TypeError('No "host" provided');let i;if(s.protocol==="https:"){Tw("Creating `tls.Socket`: %o",this.connectOpts);let d=this.connectOpts.servername||this.connectOpts.host;i=QRe.connect({...this.connectOpts,servername:d&&vw.isIP(d)?void 0:d})}else Tw("Creating `net.Socket`: %o",this.connectOpts),i=vw.connect(this.connectOpts);let n=typeof this.proxyHeaders=="function"?this.proxyHeaders():{...this.proxyHeaders},o=vw.isIPv6(r.host)?`[${r.host}]`:r.host,a=`CONNECT ${o}:${r.port} HTTP/1.1\r
`;if(s.username||s.password){let d=`${decodeURIComponent(s.username)}:${decodeURIComponent(s.password)}`;n["Proxy-Authorization"]=`Basic ${Buffer.from(d).toString("base64")}`}n.Host=`${o}:${r.port}`,n["Proxy-Connection"]||(n["Proxy-Connection"]=this.keepAlive?"Keep-Alive":"close");for(let d of Object.keys(n))a+=`${d}: ${n[d]}\r
`;let c=(0,$0t.parseProxyResponse)(i);i.write(`${a}\r
`);let{connect:l,buffered:u}=await c;if(e.emit("proxyConnect",l),this.emit("proxyConnect",l,e),l.statusCode===200){if(e.once("socket",j0t),r.secureEndpoint){Tw("Upgrading socket connection to TLS");let d=r.servername||r.host;return QRe.connect({...PRe(r,"host","path","port"),socket:i,servername:vw.isIP(d)?void 0:d})}return i}i.destroy();let h=new vw.Socket({writable:!1});return h.readable=!0,e.once("socket",d=>{Tw("Replaying proxy buffer for failed request"),(0,G0t.default)(d.listenerCount("data")>0),d.push(u),d.push(null)}),h}};lP.protocols=["http","https"];ca.HttpsProxyAgent=lP;function j0t(t){t.resume()}function PRe(t,...e){let r={},s;for(s in t)e.includes(s)||(r[s]=t[s]);return r}});var FRe=A(uh=>{"use strict";Object.defineProperty(uh,"__esModule",{value:!0});var MRe=require("buffer"),uA={INVALID_ENCODING:"Invalid encoding provided. Please specify a valid encoding the internal Node.js Buffer supports.",INVALID_SMARTBUFFER_SIZE:"Invalid size provided. Size must be a valid integer greater than zero.",INVALID_SMARTBUFFER_BUFFER:"Invalid Buffer provided in SmartBufferOptions.",INVALID_SMARTBUFFER_OBJECT:"Invalid SmartBufferOptions object supplied to SmartBuffer constructor or factory methods.",INVALID_OFFSET:"An invalid offset value was provided.",INVALID_OFFSET_NON_NUMBER:"An invalid offset value was provided. A numeric value is required.",INVALID_LENGTH:"An invalid length value was provided.",INVALID_LENGTH_NON_NUMBER:"An invalid length value was provived. A numeric value is required.",INVALID_TARGET_OFFSET:"Target offset is beyond the bounds of the internal SmartBuffer data.",INVALID_TARGET_LENGTH:"Specified length value moves cursor beyong the bounds of the internal SmartBuffer data.",INVALID_READ_BEYOND_BOUNDS:"Attempted to read beyond the bounds of the managed data.",INVALID_WRITE_BEYOND_BOUNDS:"Attempted to write beyond the bounds of the managed data."};uh.ERRORS=uA;function J0t(t){if(!MRe.Buffer.isEncoding(t))throw new Error(uA.INVALID_ENCODING)}uh.checkEncoding=J0t;function LRe(t){return typeof t=="number"&&isFinite(t)&&X0t(t)}uh.isFiniteInteger=LRe;function URe(t,e){if(typeof t=="number"){if(!LRe(t)||t<0)throw new Error(e?uA.INVALID_OFFSET:uA.INVALID_LENGTH)}else throw new Error(e?uA.INVALID_OFFSET_NON_NUMBER:uA.INVALID_LENGTH_NON_NUMBER)}function Y0t(t){URe(t,!1)}uh.checkLengthValue=Y0t;function W0t(t){URe(t,!0)}uh.checkOffsetValue=W0t;function K0t(t,e){if(t<0||t>e.length)throw new Error(uA.INVALID_TARGET_OFFSET)}uh.checkTargetOffset=K0t;function X0t(t){return typeof t=="number"&&isFinite(t)&&Math.floor(t)===t}function Z0t(t){if(typeof BigInt>"u")throw new Error("Platform does not support JS BigInt type.");if(typeof MRe.Buffer.prototype[t]>"u")throw new Error(`Platform does not support Buffer.prototype.${t}.`)}uh.bigIntAndBufferInt64Check=Z0t});var GRe=A(X6=>{"use strict";Object.defineProperty(X6,"__esModule",{value:!0});var tt=FRe(),qRe=4096,ebt="utf8",K6=class t{constructor(e){if(this.length=0,this._encoding=ebt,this._writeOffset=0,this._readOffset=0,t.isSmartBufferOptions(e))if(e.encoding&&(tt.checkEncoding(e.encoding),this._encoding=e.encoding),e.size)if(tt.isFiniteInteger(e.size)&&e.size>0)this._buff=Buffer.allocUnsafe(e.size);else throw new Error(tt.ERRORS.INVALID_SMARTBUFFER_SIZE);else if(e.buff)if(Buffer.isBuffer(e.buff))this._buff=e.buff,this.length=e.buff.length;else throw new Error(tt.ERRORS.INVALID_SMARTBUFFER_BUFFER);else this._buff=Buffer.allocUnsafe(qRe);else{if(typeof e<"u")throw new Error(tt.ERRORS.INVALID_SMARTBUFFER_OBJECT);this._buff=Buffer.allocUnsafe(qRe)}}static fromSize(e,r){return new this({size:e,encoding:r})}static fromBuffer(e,r){return new this({buff:e,encoding:r})}static fromOptions(e){return new this(e)}static isSmartBufferOptions(e){let r=e;return r&&(r.encoding!==void 0||r.size!==void 0||r.buff!==void 0)}readInt8(e){return this._readNumberValue(Buffer.prototype.readInt8,1,e)}readInt16BE(e){return this._readNumberValue(Buffer.prototype.readInt16BE,2,e)}readInt16LE(e){return this._readNumberValue(Buffer.prototype.readInt16LE,2,e)}readInt32BE(e){return this._readNumberValue(Buffer.prototype.readInt32BE,4,e)}readInt32LE(e){return this._readNumberValue(Buffer.prototype.readInt32LE,4,e)}readBigInt64BE(e){return tt.bigIntAndBufferInt64Check("readBigInt64BE"),this._readNumberValue(Buffer.prototype.readBigInt64BE,8,e)}readBigInt64LE(e){return tt.bigIntAndBufferInt64Check("readBigInt64LE"),this._readNumberValue(Buffer.prototype.readBigInt64LE,8,e)}writeInt8(e,r){return this._writeNumberValue(Buffer.prototype.writeInt8,1,e,r),this}insertInt8(e,r){return this._insertNumberValue(Buffer.prototype.writeInt8,1,e,r)}writeInt16BE(e,r){return this._writeNumberValue(Buffer.prototype.writeInt16BE,2,e,r)}insertInt16BE(e,r){return this._insertNumberValue(Buffer.prototype.writeInt16BE,2,e,r)}writeInt16LE(e,r){return this._writeNumberValue(Buffer.prototype.writeInt16LE,2,e,r)}insertInt16LE(e,r){return this._insertNumberValue(Buffer.prototype.writeInt16LE,2,e,r)}writeInt32BE(e,r){return t Line truncated
`.trim()},"lookupPropertyFunctionVarDeclaration"),blockValue:o(function(e){var r=this.aliasable("container.hooks.blockHelperMissing"),s=[this.contextName(0)];this.setupHelperArgs(e,0,s);var n=this.popStack();s.splice(1,0,n),this.push(this.source.functionCall(r,"call",s))},"blockValue"),ambiguousBlockValue:o(function(){var e=this.aliasable("container.hooks.blockHelperMissing"),r=[this.contextName(0)];this.setupHelperArgs("",0,r,!0),this.flushInline();var s=this.topStack();r.splice(1,0,s),this.pushSource(["if (!",this.lastHelper,") { ",s," = ",this.source.functionCall(e,"call",r),"}"])},"ambiguousBlockValue"),appendContent:o(function(e){this.pendingContent?e=this.pendingContent+e:this.pendingLocation=this.source.currentLocation,this.pendingContent=e},"appendContent"),append:o(function(){if(this.isInline())this.replaceStack(function(r){return[" != null ? ",r,' : ""']}),this.pushSource(this.appendToBuffer(this.popStack()));else{var e=this.popStack();this.pushSource(["if (",e," != null) { ",this.appendToBuffer(e,void 0,!0)," }"]),this.environment.isSimple&&this.pushSource(["else { ",this.appendToBuffer("''",void 0,!0)," }"])}},"append"),appendEscaped:o(function(){this.pushSource(this.appendToBuffer([this.aliasable("container.escapeExpression"),"(",this.popStack(),")"]))},"appendEscaped"),getContext:o(function(e){this.lastContext=e},"getContext"),pushContext:o(function(){this.pushStackLiteral(this.contextName(this.lastContext))},"pushContext"),lookupOnContext:o(function(e,r,s,n){var i=0;!n&&this.options.compat&&!this.lastContext?this.push(this.depthedLookup(e[i++])):this.pushContext(),this.resolvePath("context",e,i,r,s)},"lookupOnContext"),lookupBlockParam:o(function(e,r){this.useBlockParams=!0,this.push(["blockParams[",e[0],"][",e[1],"]"]),this.resolvePath("context",r,1)},"lookupBlockParam"),lookupData:o(function(e,r,s){e?this.pushStackLiteral("container.data(data, "+e+")"):this.pushStackLiteral("data"),this.resolvePath("data",r,0,!0,s)},"lookupData"),resolvePath:o(function(e,r,s,n,i){var a=this;if(this.options.strict||this.options.assumeObjects){this.push(x2e(this.options.strict&&i,this,r,s,e));return}for(var c=r.length,l=o(function(d){a.replaceStack(function(A){var p=a.nameLookup(A,r[d],e);return n?[" && ",p]:[" != null ? ",p," : ",A]})},"_loop"),u=s;u<c;u++)l(u)},"resolvePath"),resolvePossibleLambda:o(function(){this.push([this.aliasable("container.lambda"),"(",this.popStack(),", ",this.contextName(0),")"])},"resolvePossibleLambda"),pushStringParam:o(function(e,r){this.pushContext(),this.pushString(r),r!=="SubExpression"&&(typeof e=="string"?this.pushString(e):this.pushStackLiteral(e))},"pushStringParam"),emptyHash:o(function(e){this.trackIds&&this.push("{}"),this.stringParams&&(this.push("{}"),this.push("{}")),this.pushStackLiteral(e?"undefined":"{}")},"emptyHash"),pushHash:o(function(){this.hash&&this.hashes.push(this.hash),this.hash={values:{},types:[],contexts:[],ids:[]}},"pushHash"),popHash:o(function(){var e=this.hash;this.hash=this.hashes.pop(),this.trackIds&&this.push(this.objectLiteral(e.ids)),this.stringParams&&(this.push(this.objectLiteral(e.contexts)),this.push(this.objectLiteral(e.types))),this.push(this.objectLiteral(e.values))},"popHash"),pushString:o(function(e){this.pushStackLiteral(this.quotedString(e))},"pushString"),pushLiteral:o(function(e){this.pushStackLiteral(e)},"pushLiteral"),pushProgram:o(function(e){e!=null?this.pushStackLiteral(this.programExpression(e)):this.pushStackLiteral(null)},"pushProgram"),registerDecorator:o(function(e,r){var s=this.nameLookup("decorators",r,"decorator"),n=this.setupHelperArgs(r,e);this.decorators.push(["var decorator = ",s,";"]),this.decorators.push(['if (typeof decorator !== "function") { throw new Error(',this.quotedString('Missing decorator: "'+r+'"'),"); }"]),this.decorators.push(["fn = ",this.decorators.functionCall("decorator","",["fn","props","container",n])," || fn;"])},"registerDecorator"),invokeHelper:o(function(e,r,s){var n=this.popStack(),i=this.setupHelper(e,r),a=[];s&&a.push(i.name),a.push(n),this.options.strict||a.push(this.aliasable("container.hooks.helperMissing"));var c=["(",this.itemsSeparatedBy(a,"||"),")"],l=this.source.functionCall(c,"call",i.callParams);this.push(l)},"invokeHelper"),itemsSeparatedBy:o(function(e,r){var s=[];s.push(e[0]);for(var n=1;n<e.length;n++)s.push(r,e[n]);return s},"itemsSeparatedBy"),invokeKnownHelper:o(function(e,r){var s=this.setupHelper(e,r);this.push(this.source.functionCall(s.name,"call",s.callParams))},"invokeKnownHelper"),invokeAmbiguous:o(function(e,r){this.useRegister("helper");var s=this.popStack();this.emptyHash();var n=this.setupHelper(0,e,r),i=this.lastHelper=this.nameLookup("helpers",e,"helper"),a=["(","(helper = ",i," || ",s,")"];this.options.strict||(a[0]="(helper = ",a.push(" != null ? helper : ",this.aliasable("container.hooks.helperMissing"))),this.push(["(",a,n.paramsInit?["),(",n.paramsInit]:[],"),","(typeof helper === ",this.aliasable('"function"')," ? ",this.source.functionCall("h Line truncated
`,e};Nt.prototype.Program=function(t){var e="",r=t.body,s=void 0,n=void 0;if(t.blockParams){var i="BLOCK PARAMS: [";for(s=0,n=t.blockParams.length;s<n;s++)i+=" "+t.blockParams[s];i+=" ]",e+=this.pad(i)}for(s=0,n=r.length;s<n;s++)e+=this.accept(r[s]);return this.padding--,e};Nt.prototype.MustacheStatement=function(t){return this.pad("{{ "+this.SubExpression(t)+" }}")};Nt.prototype.Decorator=function(t){return this.pad("{{ DIRECTIVE "+this.SubExpression(t)+" }}")};Nt.prototype.BlockStatement=Nt.prototype.DecoratorBlock=function(t){var e="";return e+=this.pad((t.type==="DecoratorBlock"?"DIRECTIVE ":"")+"BLOCK:"),this.padding++,e+=this.pad(this.SubExpression(t)),t.program&&(e+=this.pad("PROGRAM:"),this.padding++,e+=this.accept(t.program),this.padding--),t.inverse&&(t.program&&this.padding++,e+=this.pad("{{^}}"),this.padding++,e+=this.accept(t.inverse),this.padding--,t.program&&this.padding--),this.padding--,e};Nt.prototype.PartialStatement=function(t){var e="PARTIAL:"+t.name.original;return t.params[0]&&(e+=" "+this.accept(t.params[0])),t.hash&&(e+=" "+this.accept(t.hash)),this.pad("{{> "+e+" }}")};Nt.prototype.PartialBlockStatement=function(t){var e="PARTIAL BLOCK:"+t.name.original;return t.params[0]&&(e+=" "+this.accept(t.params[0])),t.hash&&(e+=" "+this.accept(t.hash)),e+=" "+this.pad("PROGRAM:"),this.padding++,e+=this.accept(t.program),this.padding--,this.pad("{{> "+e+" }}")};Nt.prototype.ContentStatement=function(t){return this.pad("CONTENT[ '"+t.value+"' ]")};Nt.prototype.CommentStatement=function(t){return this.pad("{{! '"+t.value+"' }}")};Nt.prototype.SubExpression=function(t){for(var e=t.params,r=[],s=void 0,n=0,i=e.length;n<i;n++)r.push(this.accept(e[n]));return e="["+r.join(", ")+"]",s=t.hash?" "+this.accept(t.hash):"",this.accept(t.path)+" "+e+s};Nt.prototype.PathExpression=function(t){var e=t.parts.join("/");return(t.data?"@":"")+"PATH:"+e};Nt.prototype.StringLiteral=function(t){return'"'+t.value+'"'};Nt.prototype.NumberLiteral=function(t){return"NUMBER{"+t.value+"}"};Nt.prototype.BooleanLiteral=function(t){return"BOOLEAN{"+t.value+"}"};Nt.prototype.UndefinedLiteral=function(){return"UNDEFINED"};Nt.prototype.NullLiteral=function(){return"NULL"};Nt.prototype.Hash=function(t){for(var e=t.pairs,r=[],s=0,n=e.length;s<n;s++)r.push(this.accept(e[s]));return"HASH{"+r.join(", ")+"}"};Nt.prototype.HashPair=function(t){return t.key+"="+this.accept(t.value)}});var Vre=h((BSt,Hre)=>{var r0=Fre().default,Gre=Ure();r0.PrintVisitor=Gre.PrintVisitor;r0.print=Gre.print;Hre.exports=r0;function qre(t,e){var r=require("fs"),s=r.readFileSync(e,"utf8");t.exports=r0.compile(s)}o(qre,"extension");typeof require<"u"&&require.extensions&&(require.extensions[".handlebars"]=qre,require.extensions[".hbs"]=qre)});var sse=h(a0=>{"use strict";Object.defineProperty(a0,"__esModule",{value:!0});a0.getProxyUrl=J2e;a0.checkBypass=rse;function J2e(t){let e=t.protocol==="https:";if(rse(t))return;let r=e?process.env.https_proxy||process.env.HTTPS_PROXY:process.env.http_proxy||process.env.HTTP_PROXY;if(r)try{return new o0(r)}catch{if(!r.startsWith("http://")&&!r.startsWith("https://"))return new o0(`http://${r}`)}else return}o(J2e,"getProxyUrl");function rse(t){if(!t.hostname)return!1;let e=t.hostname;if(Y2e(e))return!0;let r=process.env.no_proxy||process.env.NO_PROXY||"";if(!r)return!1;let s;t.port?s=Number(t.port):t.protocol==="http:"?s=80:t.protocol==="https:"&&(s=443);let n=[t.hostname.toUpperCase()];typeof s=="number"&&n.push(`${n[0]}:${s}`);for(let i of r.split(",").map(a=>a.trim().toUpperCase()).filter(a=>a))if(i==="*"||n.some(a=>a===i||a.endsWith(`.${i}`)||i.startsWith(".")&&a.endsWith(`${i}`)))return!0;return!1}o(rse,"checkBypass");function Y2e(t){let e=t.toLowerCase();return e==="localhost"||e.startsWith("127.")||e.startsWith("[::1]")||e.startsWith("[0:0:0:0:0:0:0:1]")}o(Y2e,"isLoopbackAddress");var o0=class extends URL{static{o(this,"DecodedURL")}constructor(e,r){super(e,r),this._decodedUsername=decodeURIComponent(super.username),this._decodedPassword=decodeURIComponent(super.password)}get username(){return this._decodedUsername}get password(){return this._decodedPassword}}});var ise=h(At=>{"use strict";var $2e=At&&At.__createBinding||(Object.create?(function(t,e,r,s){s===void 0&&(s=r);var n=Object.getOwnPropertyDescriptor(e,r);(!n||("get"in n?!e.__esModule:n.writable||n.configurable))&&(n={enumerable:!0,get:o(function(){return e[r]},"get")}),Object.defineProperty(t,s,n)}):(function(t,e,r,s){s===void 0&&(s=r),t[s]=e[r]})),W2e=At&&At.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),d0=At&&At.__importStar||(function(){var t=o(function(e){return t=Object.getOwnPropertyNames||function(r){var s=[];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(s[s.length]=n);return s},t(e)},"ownKeys");return function(e){if(e&&e.__esModule)return e;var r={};if(e!=null)for(var s=t(e),n=0;n<s.length;n++)s[n]!=="default"&&$2e(r,e,s[n]);return W2e(r,e), Line truncated
`).join(`
`+n),t.push(i+"m+"+bO.exports.humanize(this.diff)+"\x1B[0m")}else t[0]=SRt()+e+" "+t[0]}function SRt(){return Ds.inspectOpts.hideDate?"":new Date().toISOString()+" "}function xRt(...t){return process.stderr.write(IO.formatWithOptions(Ds.inspectOpts,...t)+`
`)}function NRt(t){t?process.env.DEBUG=t:delete process.env.DEBUG}function RRt(){return process.env.DEBUG}function vRt(t){t.inspectOpts={};let e=Object.keys(Ds.inspectOpts);for(let r=0;r<e.length;r++)t.inspectOpts[e[r]]=Ds.inspectOpts[e[r]]}bO.exports=YY()(Ds);var{formatters:__e}=bO.exports;__e.o=function(t){return this.inspectOpts.colors=this.useColors,IO.inspect(t,this.inspectOpts).split(`
`).map(e=>e.trim()).join(" ")};__e.O=function(t){return this.inspectOpts.colors=this.useColors,IO.inspect(t,this.inspectOpts)}});var KY=A((Esr,WY)=>{typeof process>"u"||process.type==="renderer"||process.browser===!0||process.__nwjs?WY.exports=T_e():WY.exports=Q_e()});var O_e=A((Csr,P_e)=>{var TRt=require("dns"),_Rt=["if-modified-since","if-none-match","if-unmodified-since","if-match","if-range"],QRt=t=>{let{strictSSL:e,...r}={...t};if(r.method=r.method?r.method.toUpperCase():"GET",e==null?r.rejectUnauthorized=process.env.NODE_TLS_REJECT_UNAUTHORIZED!=="0":r.rejectUnauthorized=e!==!1,!r.retry)r.retry={retries:0};else if(typeof r.retry=="string"){let s=parseInt(r.retry,10);isFinite(s)?r.retry={retries:s}:r.retry={retries:0}}else typeof r.retry=="number"?r.retry={retries:r.retry}:r.retry={retries:0,...r.retry};return r.dns={ttl:300*1e3,lookup:TRt.lookup,...r.dns},r.cache=r.cache||"default",r.cache==="default"&&Object.keys(r.headers||{}).some(i=>_Rt.includes(i.toLowerCase()))&&(r.cache="no-store"),r.cacheAdditionalHeaders=r.cacheAdditionalHeaders||[],r.cacheManager&&!r.cachePath&&(r.cachePath=r.cacheManager),r};P_e.exports=QRt});var ZY=A((Isr,U_e)=>{var D_e=K$(),k_e=sj(),PRt=Il(),M_e={shared:!1,ignoreCargoCult:!0},ORt={status:200,headers:{}},bE=t=>{let e={method:t.method,url:t.url,headers:{},compress:t.compress};return t.headers.forEach((r,s)=>{e.headers[s]=r}),e},L_e=t=>{let e={status:t.status,headers:{}};return t.headers.forEach((r,s)=>{e.headers[s]=r}),e},XY=class{constructor({entry:e,request:r,response:s,options:i}){this.entry=e,this.request=bE(r),this.response=L_e(s),this.options=i,this.policy=new D_e(this.request,this.response,M_e),this.entry&&(this.policy._responseTime=this.entry.metadata.time)}static storable(e,r){return!r.cachePath||r.cache==="no-store"||!["GET","HEAD"].includes(e.method)?!1:new D_e(bE(e),ORt,M_e).storable()}satisfies(e){let r=bE(e);if(this.request.headers.host!==r.headers.host||this.request.compress!==r.compress)return!1;let s=new k_e(this.request),i=new k_e(r);return JSON.stringify(s.mediaTypes())!==JSON.stringify(i.mediaTypes())||JSON.stringify(s.languages())!==JSON.stringify(i.languages())||JSON.stringify(s.encodings())!==JSON.stringify(i.encodings())?!1:this.options.integrity?PRt.parse(this.options.integrity).match(this.entry.integrity):!0}storable(){return this.policy.storable()}get mustRevalidate(){return!!this.policy._rescc["must-revalidate"]}needsRevalidation(e){let r=bE(e);return r.method="GET",!this.policy.satisfiesWithoutRevalidation(r)}responseHeaders(){return this.policy.responseHeaders()}revalidationHeaders(e){let r=bE(e);return this.policy.revalidationHeaders(r)}revalidated(e,r){let s=bE(e),i=L_e(r);return!this.policy.revalidatedPolicy(s,i).modified}};U_e.exports=XY});var q_e=A((bsr,F_e)=>{var e9=class extends Error{constructor(e){super(`request to ${e} failed: cache mode is 'only-if-cached' but no cached response is available.`),this.code="ENOTCACHED"}};F_e.exports={NotCachedError:e9}});var r9=A((wsr,G_e)=>{"use strict";var DRt=Xp(),t9=class extends DRt{#e=[];#t=new Map;constructor(e,...r){super(),this.#e=e.events,r.length&&this.push(...r)}on(e,r){return this.#e.includes(e)&&this.#t.has(e)?r(...this.#t.get(e)):super.on(e,r)}emit(e,...r){return this.#e.includes(e)&&this.#t.set(e,r),super.emit(e,...r)}};G_e.exports=t9});var z_e=A((Bsr,H_e)=>{var{URL:kRt,format:MRt}=require("url"),LRt={auth:!1,fragment:!1,search:!0,unicode:!1},URt=t=>{let e=new kRt(t.url);return`make-fetch-happen:request-cache:${MRt(e,LRt)}`};H_e.exports=URt});var $_e=A((Ssr,V_e)=>{var FRt=z6(),qRt=t=>t?.code==="EPROMISERETRY"&&Object.hasOwn(t,"retried");async function GRt(t,e={}){let r=FRt.operation(e);return new Promise(function(s,i){r.attempt(async n=>{try{let o=await t(a=>{throw Object.assign(new Error("Retrying"),{code:"EPROMISERETRY",retried:a})},n,r);return s(o)}catch(o){return qRt(o)?r.retry(o.retried||new Error)?void 0:i(o.retried):i(o)}})})}V_e.exports={promiseRetry:GRt}});var j_e=A((xsr,HRt)=>{HRt.exports={name:"make-fetch-happen",version:"15.0.4",description:"Opinionated, caching, retrying fetch client",main:"lib/index.js",files:["bin/","lib/"],scripts:{test:"tap",posttest:"npm run lint",eslint:'eslint "**/*.{js,cjs,ts,mjs,jsx,tsx}"',lint:"npm run eslint",lintfix:"npm run eslint -- --fix",postlint:"template-oss-check",snap:"tap","template-oss-apply":"template-oss-apply --force"},repository:{type:"git",url:"git+https://github.com/npm/make-fetch-happen.git"},keywords:["http","request","fetch","mean girls","caching","cache","subresource integrity"],author:"GitHub Inc.",license:"ISC",dependencies:{"@gar/promise-retry":"^1.0.0","@npmcli/agent":"^4.0.0",cacache:"^20.0.1","http-cache-semantics":"^4.1.1",minipass:"^7.0.2","minipass-fetch":"^5.0.0","minipass-flush":"^1.0.5","minipass-pipeline":"^1.2.4",negotiator:"^1.0.0","proc-log":"^6.0.0",ssri:"^13.0.0"},devDependencies:{"@npmcli/eslint-config":"^5.0.0","@npmcli/template-oss":"4.25.0",nock:"^13.2.4","safe-buffer":"^5.2.1","standard-version":"^9.3. Line truncated
`).forEach(r=>{r.match(_Tt)||r.match(QTt)||(e+=r)}),Buffer.from(e,"base64")}function OTt(t,e="CERTIFICATE"){let s=t.toString("base64").match(/.{1,64}/g)||"";return[`-----BEGIN ${e}-----`,...s,`-----END ${e}-----`].join(`
`+i),t.push(n+"m+"+bS.exports.humanize(this.diff)+"\x1B[0m")}else t[0]=U$e()+e+" "+t[0]}o(F$e,"formatArgs");function U$e(){return Ar.inspectOpts.hideDate?"":new Date().toISOString()+" "}o(U$e,"getDate");function q$e(...t){return process.stderr.write(BS.formatWithOptions(Ar.inspectOpts,...t)+`
`)}o(q$e,"log");function G$e(t){t?process.env.DEBUG=t:delete process.env.DEBUG}o(G$e,"save");function H$e(){return process.env.DEBUG}o(H$e,"load");function V$e(t){t.inspectOpts={};let e=Object.keys(Ar.inspectOpts);for(let r=0;r<e.length;r++)t.inspectOpts[e[r]]=Ar.inspectOpts[e[r]]}o(V$e,"init");bS.exports=BU()(Ar);var{formatters:Iae}=bS.exports;Iae.o=function(t){return this.inspectOpts.colors=this.useColors,BS.inspect(t,this.inspectOpts).split(`
`).map(e=>e.trim()).join(" ")};Iae.O=function(t){return this.inspectOpts.colors=this.useColors,BS.inspect(t,this.inspectOpts)}});var wU=h((Pvt,bU)=>{typeof process>"u"||process.type==="renderer"||process.browser===!0||process.__nwjs?bU.exports=Cae():bU.exports=Bae()});var SS=h(xt=>{"use strict";Object.defineProperty(xt,"__esModule",{value:!0});xt.DownloadHTTPError=xt.DownloadLengthMismatchError=xt.DownloadError=xt.ExpiredMetadataError=xt.EqualVersionError=xt.BadVersionError=xt.RepositoryError=xt.PersistError=xt.RuntimeError=xt.ValueError=void 0;var SU=class extends Error{static{o(this,"ValueError")}};xt.ValueError=SU;var NU=class extends Error{static{o(this,"RuntimeError")}};xt.RuntimeError=NU;var xU=class extends Error{static{o(this,"PersistError")}};xt.PersistError=xU;var Hg=class extends Error{static{o(this,"RepositoryError")}};xt.RepositoryError=Hg;var wS=class extends Hg{static{o(this,"BadVersionError")}};xt.BadVersionError=wS;var QU=class extends wS{static{o(this,"EqualVersionError")}};xt.EqualVersionError=QU;var RU=class extends Hg{static{o(this,"ExpiredMetadataError")}};xt.ExpiredMetadataError=RU;var Vg=class extends Error{static{o(this,"DownloadError")}};xt.DownloadError=Vg;var TU=class extends Vg{static{o(this,"DownloadLengthMismatchError")}};xt.DownloadLengthMismatchError=TU;var vU=class extends Vg{static{o(this,"DownloadHTTPError")}statusCode;constructor(e,r){super(e),this.statusCode=r}};xt.DownloadHTTPError=vU});var wae=h(Pp=>{"use strict";var _U=Pp&&Pp.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(Pp,"__esModule",{value:!0});Pp.withTempFile=void 0;var PU=_U(require("fs/promises")),z$e=_U(require("os")),bae=_U(require("path")),J$e=o(async t=>Y$e(async e=>t(bae.default.join(e,"tempfile"))),"withTempFile");Pp.withTempFile=J$e;var Y$e=o(async t=>{let e=await PU.default.realpath(z$e.default.tmpdir()),r=await PU.default.mkdtemp(e+bae.default.sep);try{return await t(r)}finally{await PU.default.rm(r,{force:!0,recursive:!0,maxRetries:3})}},"withTempDir")});var Nae=h((Mvt,Sae)=>{var kU=class{static{o(this,"RetryOperation")}#e=1;#t=null;#s=[];#r=null;#n;#i=null;#a;#o;#l=null;#c;constructor(e,r={}){this.#a=[...e],this.#o=[...e],this.#c=r.unref,this.#n=r.maxRetryTime||1/0,r.forever&&(this.#t=[...this.#o])}get timeouts(){return[...this.#o]}get errors(){return[...this.#s]}get attempts(){return this.#e}get mainError(){let e=null;if(this.#s.length){let r=0,s={};for(let n=0;n<this.#s.length;n++){let i=this.#s[n],{message:a}=i;s[a]||(s[a]=0),s[a]++,s[a]>=r&&(e=i,r=s[a])}}return e}reset(){this.#e=1,this.#o=[...this.#a]}stop(){this.#l&&clearTimeout(this.#l),this.#o=[],this.#t=null}retry(e){if(this.#s.push(e),new Date().getTime()-this.#i>=this.#n)return this.#s.unshift(new Error("RetryOperation timeout occurred")),!1;let r=this.#o.shift();if(r===void 0)if(this.#t)this.#s.pop(),r=this.#t.at(-1);else return!1;return this.#l=setTimeout(()=>{this.#e++,this.#r(this.#e)},r),this.#c&&this.#l.unref(),!0}attempt(e){this.#r=e,this.#i=new Date().getTime(),this.#r(this.#e)}};Sae.exports={RetryOperation:kU}});var Rae=h((Fvt,Qae)=>{var{RetryOperation:$$e}=Nae(),xae=o((t,e)=>Math.min(Math.round((1+(e.randomize?Math.random():0))*Math.max(e.minTimeout,1)*Math.pow(e.factor,t)),e.maxTimeout),"createTimeout"),W$e=o(t=>t?.code==="EPROMISERETRY"&&Object.hasOwn(t,"retried"),"isRetryError"),j$e=o(async(t,e={})=>{let r=[];if(e instanceof Array)r=[...e];else{e.retries===1/0&&(e.forever=!0,delete e.retries);let n={retries:10,factor:2,minTimeout:1*1e3,maxTimeout:1/0,randomize:!1,...e};if(n.minTimeout>n.maxTimeout)throw new Error("minTimeout is greater than maxTimeout");if(n.retries){for(let i=0;i<n.retries;i++)r.push(xae(i,n));r.sort((i,a)=>i-a)}else e.forever&&r.push(xae(0,n))}let s=new $$e(r,{forever:e.forever,unref:e.unref,maxRetryTime:e.maxRetryTime});return new Promise(function(n,i){s.attempt(async a=>{try{let c=await t(l=>{throw Object.assign(new Error("Retrying"),{code:"EPROMISERETRY",retried:l})},a,s);return n(c)}catch(c){if(!W$e(c))return i(c);if(!s.retry(c.retried||new Error))return i(c.retried)}})})},"promiseRetry");Qae.exports={promiseRetry:j$e}});var MU=h(Vc=>{"use strict";var OU=Vc&&Vc.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(Vc,"__esModule",{value:!0});Vc.DefaultFetcher=Vc.BaseFetcher=void 0;var K$e=OU(wU()),Tae=OU(require("fs")),X$e=OU(require("util")),vae=SS(),Z$e=wae(),e3e=Rae(),t3e=(0,K$e.default)("tuf:fetch"),r3e="User-Agent",NS=class{static{o(this,"BaseFetcher")}async downloadFile(e,r,s){return(0,Z$e.withTempFile)(async n=>{let i=await this.fetch(e),a=0,c=Tae.default.createWriteStream(n),l=i.getReader();try{for(;;){let{done:u,value:d}=await l.read();if(u)break;if(a+=d.length,a>r)throw new vae.DownloadLengthMismatchError("Max length reached");await s3e(c,Buffer.from(d))}}finally{l.releaseLock(),await X$e.default.promisify(c.close).bind(c)()}return s(n)})}async downloadBytes(e,r){return this.downloadFile(e,r,async s=>{let n=Tae.defau Line truncated
`).forEach(r=>{r.match(cWe)||r.match(lWe)||(e+=r)}),Buffer.from(e,"base64")}o(uWe,"toDER");function dWe(t,e="CERTIFICATE"){let s=t.toString("base64").match(/.{1,64}/g)||"";return[`-----BEGIN ${e}-----`,...s,`-----END ${e}-----`].join(`
`).concat(`
`)}});var JO=A(Zd=>{"use strict";Object.defineProperty(Zd,"__esModule",{value:!0});Zd.SHA2_HASH_ALGOS=Zd.RSA_SIGNATURE_ALGOS=Zd.ECDSA_SIGNATURE_ALGOS=void 0;Zd.ECDSA_SIGNATURE_ALGOS={"1.2.840.10045.4.3.1":"sha224","1.2.840.10045.4.3.2":"sha256","1.2.840.10045.4.3.3":"sha384","1.2.840.10045.4.3.4":"sha512"};Zd.RSA_SIGNATURE_ALGOS={"1.2.840.113549.1.1.14":"sha224","1.2.840.113549.1.1.11":"sha256","1.2.840.113549.1.1.12":"sha384","1.2.840.113549.1.1.13":"sha512"};Zd.SHA2_HASH_ALGOS={"2.16.840.1.101.3.4.2.1":"sha256","2.16.840.1.101.3.4.2.2":"sha384","2.16.840.1.101.3.4.2.3":"sha512"}});var H9=A(YO=>{"use strict";Object.defineProperty(YO,"__esModule",{value:!0});YO.RFC3161TimestampVerificationError=void 0;var G9=class extends Error{};YO.RFC3161TimestampVerificationError=G9});var VQe=A(Ol=>{"use strict";var DTt=Ol&&Ol.__createBinding||(Object.create?(function(t,e,r,s){s===void 0&&(s=r);var i=Object.getOwnPropertyDescriptor(e,r);(!i||("get"in i?!e.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return e[r]}}),Object.defineProperty(t,s,i)}):(function(t,e,r,s){s===void 0&&(s=r),t[s]=e[r]})),kTt=Ol&&Ol.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),MTt=Ol&&Ol.__importStar||(function(){var t=function(e){return t=Object.getOwnPropertyNames||function(r){var s=[];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(s[s.length]=i);return s},t(e)};return function(e){if(e&&e.__esModule)return e;var r={};if(e!=null)for(var s=t(e),i=0;i<s.length;i++)s[i]!=="default"&&DTt(r,e,s[i]);return kTt(r,e),r}})();Object.defineProperty(Ol,"__esModule",{value:!0});Ol.TSTInfo=void 0;var zQe=MTt(TE()),LTt=JO(),UTt=H9(),z9=class{root;constructor(e){this.root=e}get version(){return this.root.subs[0].toInteger()}get genTime(){return this.root.subs[4].toDate()}get messageImprintHashAlgorithm(){let e=this.messageImprintObj.subs[0].subs[0].toOID();return LTt.SHA2_HASH_ALGOS[e]}get messageImprintHashedMessage(){return this.messageImprintObj.subs[1].value}get raw(){return this.root.toDER()}verify(e){let r=zQe.digest(this.messageImprintHashAlgorithm,e);if(!zQe.bufferEqual(r,this.messageImprintHashedMessage))throw new UTt.RFC3161TimestampVerificationError("message imprint does not match artifact")}get messageImprintObj(){return this.root.subs[2]}};Ol.TSTInfo=z9});var jQe=A(Dl=>{"use strict";var FTt=Dl&&Dl.__createBinding||(Object.create?(function(t,e,r,s){s===void 0&&(s=r);var i=Object.getOwnPropertyDescriptor(e,r);(!i||("get"in i?!e.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return e[r]}}),Object.defineProperty(t,s,i)}):(function(t,e,r,s){s===void 0&&(s=r),t[s]=e[r]})),qTt=Dl&&Dl.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),GTt=Dl&&Dl.__importStar||(function(){var t=function(e){return t=Object.getOwnPropertyNames||function(r){var s=[];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(s[s.length]=i);return s},t(e)};return function(e){if(e&&e.__esModule)return e;var r={};if(e!=null)for(var s=t(e),i=0;i<s.length;i++)s[i]!=="default"&&FTt(r,e,s[i]);return qTt(r,e),r}})();Object.defineProperty(Dl,"__esModule",{value:!0});Dl.RFC3161Timestamp=void 0;var HTt=VO(),V9=GTt(TE()),$Qe=JO(),sB=H9(),zTt=VQe(),VTt="1.2.840.113549.1.7.2",$Tt="1.2.840.113549.1.9.16.1.4",jTt="1.2.840.113549.1.9.4",$9=class t{root;constructor(e){this.root=e}static parse(e){let r=HTt.ASN1Obj.parseBuffer(e);return new t(r)}get status(){return this.pkiStatusInfoObj.subs[0].toInteger()}get contentType(){return this.contentTypeObj.toOID()}get eContentType(){return this.eContentTypeObj.toOID()}get signingTime(){return this.tstInfo.genTime}get signerIssuer(){return this.signerSidObj.subs[0].value}get signerSerialNumber(){return this.signerSidObj.subs[1].value}get signerDigestAlgorithm(){let e=this.signerDigestAlgorithmObj.subs[0].toOID();return $Qe.SHA2_HASH_ALGOS[e]}get signatureAlgorithm(){let e=this.signatureAlgorithmObj.subs[0].toOID();return $Qe.ECDSA_SIGNATURE_ALGOS[e]}get signatureValue(){return this.signatureValueObj.value}get tstInfo(){return new zTt.TSTInfo(this.eContentObj.subs[0].subs[0])}verify(e,r){if(!this.timeStampTokenObj)throw new sB.RFC3161TimestampVerificationError("timeStampToken is missing");if(this.contentType!==VTt)throw new sB.RFC3161TimestampVerificationError(`incorrect content type: ${this.contentType}`);if(this.eContentType!==$Tt)throw new sB.RFC3161TimestampVerificationError(`incorrect encapsulated content type: ${this.eContentType}`);this.tstInfo.verify(e),this.verifyMessageDigest(),this.verifySignature(r)}verifyMessageDigest(){let e=V9.digest(this.signerDigestAlgorithm,this.tstInfo.raw),r=this.messageDigestAttributeObj.subs[1].subs[0].value;if(!V9.bufferEqual(e,r))throw new sB.RFC3161TimestampVerificationError("signed data does not match tstInfo")}verifySignature(e){let r=this.signedAttrsObj.toDER();if(r[0 Line truncated
`)}o(dWe,"fromDER")});var GS=h(Wc=>{"use strict";Object.defineProperty(Wc,"__esModule",{value:!0});Wc.SHA2_HASH_ALGOS=Wc.RSA_SIGNATURE_ALGOS=Wc.ECDSA_SIGNATURE_ALGOS=void 0;Wc.ECDSA_SIGNATURE_ALGOS={"1.2.840.10045.4.3.1":"sha224","1.2.840.10045.4.3.2":"sha256","1.2.840.10045.4.3.3":"sha384","1.2.840.10045.4.3.4":"sha512"};Wc.RSA_SIGNATURE_ALGOS={"1.2.840.113549.1.1.14":"sha224","1.2.840.113549.1.1.11":"sha256","1.2.840.113549.1.1.12":"sha384","1.2.840.113549.1.1.13":"sha512"};Wc.SHA2_HASH_ALGOS={"2.16.840.1.101.3.4.2.1":"sha256","2.16.840.1.101.3.4.2.2":"sha384","2.16.840.1.101.3.4.2.3":"sha512"}});var a2=h(HS=>{"use strict";Object.defineProperty(HS,"__esModule",{value:!0});HS.RFC3161TimestampVerificationError=void 0;var o2=class extends Error{static{o(this,"RFC3161TimestampVerificationError")}};HS.RFC3161TimestampVerificationError=o2});var ace=h(Po=>{"use strict";var AWe=Po&&Po.__createBinding||(Object.create?(function(t,e,r,s){s===void 0&&(s=r);var n=Object.getOwnPropertyDescriptor(e,r);(!n||("get"in n?!e.__esModule:n.writable||n.configurable))&&(n={enumerable:!0,get:o(function(){return e[r]},"get")}),Object.defineProperty(t,s,n)}):(function(t,e,r,s){s===void 0&&(s=r),t[s]=e[r]})),pWe=Po&&Po.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),fWe=Po&&Po.__importStar||(function(){var t=o(function(e){return t=Object.getOwnPropertyNames||function(r){var s=[];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(s[s.length]=n);return s},t(e)},"ownKeys");return function(e){if(e&&e.__esModule)return e;var r={};if(e!=null)for(var s=t(e),n=0;n<s.length;n++)s[n]!=="default"&&AWe(r,e,s[n]);return pWe(r,e),r}})();Object.defineProperty(Po,"__esModule",{value:!0});Po.TSTInfo=void 0;var oce=fWe(Lp()),hWe=GS(),mWe=a2(),c2=class{static{o(this,"TSTInfo")}root;constructor(e){this.root=e}get version(){return this.root.subs[0].toInteger()}get genTime(){return this.root.subs[4].toDate()}get messageImprintHashAlgorithm(){let e=this.messageImprintObj.subs[0].subs[0].toOID();return hWe.SHA2_HASH_ALGOS[e]}get messageImprintHashedMessage(){return this.messageImprintObj.subs[1].value}get raw(){return this.root.toDER()}verify(e){let r=oce.digest(this.messageImprintHashAlgorithm,e);if(!oce.bufferEqual(r,this.messageImprintHashedMessage))throw new mWe.RFC3161TimestampVerificationError("message imprint does not match artifact")}get messageImprintObj(){return this.root.subs[2]}};Po.TSTInfo=c2});var lce=h(_o=>{"use strict";var gWe=_o&&_o.__createBinding||(Object.create?(function(t,e,r,s){s===void 0&&(s=r);var n=Object.getOwnPropertyDescriptor(e,r);(!n||("get"in n?!e.__esModule:n.writable||n.configurable))&&(n={enumerable:!0,get:o(function(){return e[r]},"get")}),Object.defineProperty(t,s,n)}):(function(t,e,r,s){s===void 0&&(s=r),t[s]=e[r]})),EWe=_o&&_o.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),yWe=_o&&_o.__importStar||(function(){var t=o(function(e){return t=Object.getOwnPropertyNames||function(r){var s=[];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(s[s.length]=n);return s},t(e)},"ownKeys");return function(e){if(e&&e.__esModule)return e;var r={};if(e!=null)for(var s=t(e),n=0;n<s.length;n++)s[n]!=="default"&&gWe(r,e,s[n]);return EWe(r,e),r}})();Object.defineProperty(_o,"__esModule",{value:!0});_o.RFC3161Timestamp=void 0;var CWe=FS(),l2=yWe(Lp()),cce=GS(),jg=a2(),IWe=ace(),BWe="1.2.840.113549.1.7.2",bWe="1.2.840.113549.1.9.16.1.4",wWe="1.2.840.113549.1.9.4",u2=class t{static{o(this,"RFC3161Timestamp")}root;constructor(e){this.root=e}static parse(e){let r=CWe.ASN1Obj.parseBuffer(e);return new t(r)}get status(){return this.pkiStatusInfoObj.subs[0].toInteger()}get contentType(){return this.contentTypeObj.toOID()}get eContentType(){return this.eContentTypeObj.toOID()}get signingTime(){return this.tstInfo.genTime}get signerIssuer(){return this.signerSidObj.subs[0].value}get signerSerialNumber(){return this.signerSidObj.subs[1].value}get signerDigestAlgorithm(){let e=this.signerDigestAlgorithmObj.subs[0].toOID();return cce.SHA2_HASH_ALGOS[e]}get signatureAlgorithm(){let e=this.signatureAlgorithmObj.subs[0].toOID();return cce.ECDSA_SIGNATURE_ALGOS[e]}get signatureValue(){return this.signatureValueObj.value}get tstInfo(){return new IWe.TSTInfo(this.eContentObj.subs[0].subs[0])}verify(e,r){if(!this.timeStampTokenObj)throw new jg.RFC3161TimestampVerificationError("timeStampToken is missing");if(this.contentType!==BWe)throw new jg.RFC3161TimestampVerificationError(`incorrect content type: ${this.contentType}`);if(this.eContentType!==bWe)throw new jg.RFC3161TimestampVerificationError(`incorrect encapsulated content type: ${this.eContentType}`);this.tstInfo.verify(e),this.verifyMessageDigest(),this.verifySignature(r)}verifyMessageDigest(){let e=l2.digest(this.signerDigestAlgorithm,this.tstInfo.raw),r=this.messageDigestAttributeObj.subs[1].subs[0].valu Line truncated
`,uQt=/\u2014 (\S+) (\S+)\n/g;function hQt(t,e){let r=t.inclusionProof,s=CW.fromString(r.checkpoint.envelope),i=aD.fromString(s.note);if(!dQt(s,e))throw new lB.VerificationError({code:"TLOG_INCLUSION_PROOF_ERROR",message:"invalid checkpoint signature"});return i}function dQt(t,e){let r=Buffer.from(t.note,"utf-8");return t.signatures.some(s=>{let i=e.find(n=>E1e.crypto.bufferEqual(n.logID.subarray(0,4),s.keyHint)&&n.baseURL.match(s.name));return i?E1e.crypto.verify(r,i.publicKey,s.signature):!1})}var CW=class t{note;signatures;constructor(e,r){this.note=e,this.signatures=r}static fromString(e){if(!e.includes(EW))throw new lB.VerificationError({code:"TLOG_INCLUSION_PROOF_ERROR",message:"missing checkpoint separator"});let r=e.indexOf(EW),s=e.slice(0,r+1),n=e.slice(r+EW.length).matchAll(uQt),o=Array.from(n,a=>{let[,c,l]=a,u=Buffer.from(l,"base64");if(u.length<5)throw new lB.VerificationError({code:"TLOG_INCLUSION_PROOF_ERROR",message:"malformed checkpoint signature"});return{name:c,keyHint:u.subarray(0,4),signature:u.subarray(4)}});if(o.length===0)throw new lB.VerificationError({code:"TLOG_INCLUSION_PROOF_ERROR",message:"no signatures found in checkpoint"});return new t(s,o)}},aD=class t{origin;logSize;logHash;rest;constructor(e,r,s,i){this.origin=e,this.logSize=r,this.logHash=s,this.rest=i}static fromString(e){let r=e.trimEnd().split(`
`);if(r.length<3)throw new lB.VerificationError({code:"TLOG_INCLUSION_PROOF_ERROR",message:"too few lines in checkpoint header"});let s=r[0],i=BigInt(r[1]),n=Buffer.from(r[2],"base64"),o=r.slice(3);return new t(s,i,n,o)}};uB.LogCheckpoint=aD});var I1e=A(BW=>{"use strict";Object.defineProperty(BW,"__esModule",{value:!0});BW.verifyMerkleInclusion=AQt;var wW=ec(),IW=pi(),fQt=Buffer.from([0]),pQt=Buffer.from([1]);function AQt(t,e){let r=t.inclusionProof,s=BigInt(r.logIndex),i=BigInt(e.logSize);if(s<0n||s>=i)throw new IW.VerificationError({code:"TLOG_INCLUSION_PROOF_ERROR",message:`invalid index: ${s}`});let{inner:n,border:o}=mQt(s,i);if(r.hashes.length!==n+o)throw new IW.VerificationError({code:"TLOG_INCLUSION_PROOF_ERROR",message:"invalid hash count"});let a=r.hashes.slice(0,n),c=r.hashes.slice(n),l=bQt(t.canonicalizedBody),u=yQt(gQt(l,a,s),c);if(!wW.crypto.bufferEqual(u,e.logHash))throw new IW.VerificationError({code:"TLOG_INCLUSION_PROOF_ERROR",message:"calculated root hash does not match inclusion proof"})}function mQt(t,e){let r=EQt(t,e),s=CQt(t>>BigInt(r));return{inner:r,border:s}}function gQt(t,e,r){return e.reduce((s,i,n)=>r>>BigInt(n)&BigInt(1)?bW(i,s):bW(s,i),t)}function yQt(t,e){return e.reduce((r,s)=>bW(s,r),t)}function EQt(t,e){return IQt(t^e-BigInt(1))}function CQt(t){return t.toString(2).split("1").length-1}function IQt(t){return t===0n?0:t.toString(2).length}function bW(t,e){return wW.crypto.digest("sha256",pQt,t,e)}function bQt(t){return wW.crypto.digest("sha256",fQt,t)}});var w1e=A(SW=>{"use strict";Object.defineProperty(SW,"__esModule",{value:!0});SW.verifyTLogSET=SQt;var b1e=ec(),wQt=pi(),BQt=PE();function SQt(t,e){if(!(0,BQt.filterTLogAuthorities)(e,{logID:t.logId.keyId,targetDate:new Date(Number(t.integratedTime)*1e3)}).some(i=>{let n=xQt(t),o=Buffer.from(b1e.json.canonicalize(n),"utf8"),a=t.inclusionPromise.signedEntryTimestamp;return b1e.crypto.verify(o,i.publicKey,a)}))throw new wQt.VerificationError({code:"TLOG_INCLUSION_PROMISE_ERROR",message:"inclusion promise could not be verified"})}function xQt(t){let{integratedTime:e,logIndex:r,logId:s,canonicalizedBody:i}=t;return{body:i.toString("base64"),integratedTime:Number(e),logIndex:Number(r),logID:s.keyId.toString("hex")}}});var S1e=A(cD=>{"use strict";Object.defineProperty(cD,"__esModule",{value:!0});cD.verifyTLogBody=_Qt;cD.verifyTLogInclusion=QQt;var B1e=$J(),RW=pi(),xW=m1e(),NW=g1e(),NQt=y1e(),RQt=C1e(),vQt=I1e(),TQt=w1e();function _Qt(t,e){let{kind:r,version:s}=t.kindVersion,i=JSON.parse(t.canonicalizedBody.toString("utf8"));if(r!==i.kind||s!==i.apiVersion)throw new RW.VerificationError({code:"TLOG_BODY_ERROR",message:`kind/version mismatch - expected: ${r}/${s}, received: ${i.kind}/${i.apiVersion}`});switch(r){case"dsse":if(s==xW.DSSE_API_VERSION_V1)return(0,xW.verifyDSSETLogBody)(i,e);{let n=B1e.Entry.fromJSON(i);return(0,xW.verifyDSSETLogBodyV2)(n,e)}case"intoto":return(0,NQt.verifyIntotoTLogBody)(i,e);case"hashedrekord":if(s==NW.HASHEDREKORD_API_VERSION_V1)return(0,NW.verifyHashedRekordTLogBody)(i,e);{let n=B1e.Entry.fromJSON(i);return(0,NW.verifyHashedRekordTLogBodyV2)(n,e)}default:throw new RW.VerificationError({code:"TLOG_BODY_ERROR",message:`unsupported kind: ${r}`})}}function QQt(t,e){let r=!1;if(PQt(t)&&((0,TQt.verifyTLogSET)(t,e),r=!0),OQt(t)){let s=(0,RQt.verifyCheckpoint)(t,e);(0,vQt.verifyMerkleInclusion)(t,s),r=!0}if(!r)throw new RW.VerificationError({code:"TLOG_MISSING_INCLUSION_ERROR",message:"inclusion could not be verified"})}function PQt(t){return t.inclusionPromise!==void 0}function OQt(t){return t.inclusionProof!==void 0}});var T1e=A(lD=>{"use strict";Object.defineProperty(lD,"__esModule",{value:!0});lD.Verifier=void 0;var DQt=require("util"),OE=pi(),x1e=h1e(),vW=d1e(),N1e=A1e(),R1e=S1e(),TW=class{trustMaterial;options;constructor(e,r={}){this.trustMaterial=e,this.options={ctlogThreshold:r.ctlogThreshold??1,tlogThreshold:r.tlogThreshold??1,timestampThreshold:r.timestampThreshold??r.tsaThreshold??1,tsaThreshold:0}}verify(e,r){let s=this.verifyTimestamps(e),i=this.verifySigningKey(e,s);return this.verifyTLogs(e),this.verifySignature(e,i),r&&this.verifyPolicy(r,i.identity||{}),i}verifyTimestamps(e){let r=[];for(let s of e.timestamps)switch(s.$case){case"timestamp-authority":r.push((0,N1e.getTSATimestamp)(s.timestamp,e.signature.signature,this.trustMaterial.timestampAuthorities));break;case"transparency-log":{let i=(0,N1e.getTLogTimestamp)(s.tlogEntry);i&&r.push(i);break}}if(v1e(r))throw new OE.VerificationError({code:"TIMESTAMP_ERROR",message:"duplicate timestamp"});if(r.length<this.options.timestampThreshold)throw new OE.VerificationError({code:"TIMESTAMP_ERROR",message:`expected ${this.options.timestampThreshold} timestamps, got ${r.length}`});return r.map(s=>s.timestamp)}verifySigningKey({key:e},r){switch(e.$case){case"public-key":return(0,x1e.verifyPublicKey)(e.hint,r,this.trustMaterial);case"certificate":{let s=(0,x1e.verifyCertificate)(e.certificate,r,this.trustMaterial);if(v1e(s.scts))throw new OE.Verifica Line truncated
Support boolean input list: \`true | True | TRUE | false | False | FALSE\``)}function E2(){return process.env.RUNNER_DEBUG==="1"}function ot(t){PD("debug",{},t)}function _m(t){process.stdout.write(t+Hie.EOL)}function xze(t){OD("group",t)}function Nze(){OD("endgroup")}function WC(t,e){return Sze(this,void 0,void 0,function*(){xze(t);let r;try{r=yield e()}finally{Nze()}return r})}var $ie=O(require("os"),1);function Hh(t){return t==null?"":typeof t=="string"||t instanceof String?t:JSON.stringify(t)}function C2(t){return Object.keys(t).length?{title:t.title,file:t.file,line:t.startLine,endLine:t.endLine,col:t.startColumn,endColumn:t.endColumn}:{}}function zh(t,e,r){let s=new I2(t,e,r);process.stdout.write(s.toString()+$ie.EOL)}function b2(t,e=""){zh(t,{},e)}var Vie="::",I2=class{constructor(e,r,s){e||(e="missing.command"),this.command=e,this.properties=r,this.message=s}toString(){let e=Vie+this.command;if(this.properties&&Object.keys(this.properties).length>0){e+=" ";let r=!0;for(let s in this.properties)if(this.properties.hasOwnProperty(s)){let i=this.properties[s];i&&(r?r=!1:e+=",",e+=`${s}=${vze(i)}`)}}return e+=`${Vie}${Rze(this.message)}`,e}};function Rze(t){return Hh(t).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A")}function vze(t){return Hh(t).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A").replace(/:/g,"%3A").replace(/,/g,"%2C")}var jie=O(require("crypto"),1),Ix=O(require("fs"),1),Cx=O(require("os"),1);function w2(t,e){let r=process.env[`GITHUB_${t}`];if(!r)throw new Error(`Unable to find environment variable for file command ${t}`);if(!Ix.existsSync(r))throw new Error(`Missing file at path: ${r}`);Ix.appendFileSync(r,`${Hh(e)}${Cx.EOL}`,{encoding:"utf8"})}function Jie(t,e){let r=`ghadelimiter_${jie.randomUUID()}`,s=Hh(e);if(t.includes(r))throw new Error(`Unexpected input: name should not contain the delimiter "${r}"`);if(s.includes(r))throw new Error(`Unexpected input: value should not contain the delimiter "${r}"`);return`${t}<<${r}${Cx.EOL}${s}${Cx.EOL}${r}`}var Zie=O(require("os"),1),ene=O(require("path"),1);var bx=O(af(),1),_ze=O(Fh(),1);var pc;(function(t){t[t.OK=200]="OK",t[t.MultipleChoices=300]="MultipleChoices",t[t.MovedPermanently=301]="MovedPermanently",t[t.ResourceMoved=302]="ResourceMoved",t[t.SeeOther=303]="SeeOther",t[t.NotModified=304]="NotModified",t[t.UseProxy=305]="UseProxy",t[t.SwitchProxy=306]="SwitchProxy",t[t.TemporaryRedirect=307]="TemporaryRedirect",t[t.PermanentRedirect=308]="PermanentRedirect",t[t.BadRequest=400]="BadRequest",t[t.Unauthorized=401]="Unauthorized",t[t.PaymentRequired=402]="PaymentRequired",t[t.Forbidden=403]="Forbidden",t[t.NotFound=404]="NotFound",t[t.MethodNotAllowed=405]="MethodNotAllowed",t[t.NotAcceptable=406]="NotAcceptable",t[t.ProxyAuthenticationRequired=407]="ProxyAuthenticationRequired",t[t.RequestTimeout=408]="RequestTimeout",t[t.Conflict=409]="Conflict",t[t.Gone=410]="Gone",t[t.TooManyRequests=429]="TooManyRequests",t[t.InternalServerError=500]="InternalServerError",t[t.NotImplemented=501]="NotImplemented",t[t.BadGateway=502]="BadGateway",t[t.ServiceUnavailable=503]="ServiceUnavailable",t[t.GatewayTimeout=504]="GatewayTimeout"})(pc||(pc={}));var Yie;(function(t){t.Accept="accept",t.ContentType="content-type"})(Yie||(Yie={}));var Wie;(function(t){t.ApplicationJson="application/json"})(Wie||(Wie={}));var vOt=[pc.MovedPermanently,pc.ResourceMoved,pc.SeeOther,pc.TemporaryRedirect,pc.PermanentRedirect],TOt=[pc.BadGateway,pc.ServiceUnavailable,pc.GatewayTimeout];var Xie=require("os"),XC=require("fs"),B2=function(t,e,r,s){function i(n){return n instanceof r?n:new r(function(o){o(n)})}return new(r||(r=Promise))(function(n,o){function a(u){try{l(s.next(u))}catch(h){o(h)}}function c(u){try{l(s.throw(u))}catch(h){o(h)}}function l(u){u.done?n(u.value):i(u.value).then(a,c)}l((s=s.apply(t,e||[])).next())})},{access:Qze,appendFile:Pze,writeFile:Oze}=XC.promises,Kie="GITHUB_STEP_SUMMARY";var S2=class{constructor(){this._buffer=""}filePath(){return B2(this,void 0,void 0,function*(){if(this._filePath)return this._filePath;let e=process.env[Kie];if(!e)throw new Error(`Unable to find environment variable for $${Kie}. Check if your runtime environment supports job summaries.`);try{yield Qze(e,XC.constants.R_OK|XC.constants.W_OK)}catch{throw new Error(`Unable to access summary file: '${e}'. Check if the file has correct read/write permissions.`)}return this._filePath=e,this._filePath})}wrap(e,r,s={}){let i=Object.entries(s).map(([n,o])=>` ${n}="${o}"`).join("");return r?`<${e}${i}>${r}</${e}>`:`<${e}${i}>`}write(e){return B2(this,void 0,void 0,function*(){let r=!!e?.overwrite,s=yield this.filePath();return yield(r?Oze:Pze)(s,this._buffer,{encoding:"utf8"}),this.emptyBuffer()})}clear(){return B2(this,void 0,void 0,function*(){return this.emptyBuffer().write({overwrite:!0})})}stringify(){return this._buffer}isEmptyBuffer(){return this._buffer.length===0}emptyBuffer(){return this._buffer="",this}addRaw(e,r=!1){return this._buffer+=e,r?this.addELine truncated
Support boolean input list: \`true | True | TRUE | false | False | FALSE\``)}function rne(t){process.exitCode=N2.Failure,Mze(t)}function z(t){zh("debug",{},t)}function Mze(t,e={}){zh("error",C2(e),t instanceof Error?t.toString():t)}function Ro(t,e={}){zh("warning",C2(e),t instanceof Error?t.toString():t)}function j(t){process.stdout.write(t+Zie.EOL)}function Lze(t){b2("group",t)}function Uze(){b2("endgroup")}function Vh(t,e){return kze(this,void 0,void 0,function*(){Lze(t);let r;try{r=yield e()}finally{Uze()}return r})}function wx(t,e){if(process.env.GITHUB_STATE||"")return w2("STATE",Jie(t,e));zh("save-state",{name:t},Hh(e))}function sne(t){return process.env[`STATE_${t}`]||""}var NT=O(require("fs"),1),Rz=O(require("os"),1),vz=O(require("path"),1);var Y2=O(require("crypto"),1),Ks=O(require("fs"),1);var D5e=O(j2(),1);var Lx=O(require("os"),1),Ta=O(require("path"),1);var _o=O(j2(),1),joe=O(require("stream"),1),Joe=O(require("util"),1),W2=require("assert");var $oe=function(t,e,r,s){function i(n){return n instanceof r?n:new r(function(o){o(n)})}return new(r||(r=Promise))(function(n,o){function a(u){try{l(s.next(u))}catch(h){o(h)}}function c(u){try{l(s.throw(u))}catch(h){o(h)}}function l(u){u.done?n(u.value):i(u.value).then(a,c)}l((s=s.apply(t,e||[])).next())})},kx=class{constructor(e,r,s){if(e<1)throw new Error("max attempts should be greater than or equal to 1");if(this.maxAttempts=e,this.minSeconds=Math.floor(r),this.maxSeconds=Math.floor(s),this.minSeconds>this.maxSeconds)throw new Error("min seconds should be less than or equal to max seconds")}execute(e,r){return $oe(this,void 0,void 0,function*(){let s=1;for(;s<this.maxAttempts;){try{return yield e()}catch(n){if(r&&!r(n))throw n;_m(n.message)}let i=this.getSleepAmount();_m(`Waiting ${i} seconds before trying again`),yield this.sleep(i),s++}return yield e()})}getSleepAmount(){return Math.floor(Math.random()*(this.maxSeconds-this.minSeconds+1))+this.minSeconds}sleep(e){return $oe(this,void 0,void 0,function*(){return new Promise(r=>setTimeout(r,e*1e3))})}};var gc=function(t,e,r,s){function i(n){return n instanceof r?n:new r(function(o){o(n)})}return new(r||(r=Promise))(function(n,o){function a(u){try{l(s.next(u))}catch(h){o(h)}}function c(u){try{l(s.throw(u))}catch(h){o(h)}}function l(u){u.done?n(u.value):i(u.value).then(a,c)}l((s=s.apply(t,e||[])).next())})},Mx=class extends Error{constructor(e){super(`Unexpected HTTP response: ${e}`),this.httpStatusCode=e,Object.setPrototypeOf(this,new.target.prototype)}},Yoe=process.platform==="win32",XDt=process.platform==="darwin",M5e="actions/tool-cache";function Qo(t,e,r,s){return gc(this,void 0,void 0,function*(){e=e||Ta.join(tae(),Y2.randomUUID()),yield su(Ta.dirname(e)),ot(`Downloading ${t}`),ot(`Destination ${e}`);let i=3,n=J2("TEST_DOWNLOAD_TOOL_RETRY_MIN_SECONDS",10),o=J2("TEST_DOWNLOAD_TOOL_RETRY_MAX_SECONDS",20);return yield new kx(i,n,o).execute(()=>gc(this,void 0,void 0,function*(){return yield L5e(t,e||"",r,s)}),c=>!(c instanceof Mx&&c.httpStatusCode&&c.httpStatusCode<500&&c.httpStatusCode!==408&&c.httpStatusCode!==429))})}function L5e(t,e,r,s){return gc(this,void 0,void 0,function*(){if(Ks.existsSync(e))throw new Error(`Destination file path ${e} already exists`);let i=new HC(M5e,[],{allowRetries:!1});r&&(ot("set auth"),s===void 0&&(s={}),s.authorization=r);let n=yield i.get(t,s);if(n.message.statusCode!==200){let u=new Mx(n.message.statusCode);throw ot(`Failed to download from "${t}". Code(${n.message.statusCode}) Message(${n.message.statusMessage})`),u}let o=Joe.promisify(joe.pipeline),c=J2("TEST_DOWNLOAD_TOOL_RESPONSE_MESSAGE_FACTORY",()=>n.message)(),l=!1;try{return yield o(c,Ks.createWriteStream(e)),ot("download complete"),l=!0,e}finally{if(!l){ot("download failed");try{yield gx(e)}catch(u){ot(`Failed to delete '${e}'. ${u.message}`)}}}})}function Woe(t,e){return gc(this,arguments,void 0,function*(r,s,i="xz"){if(!r)throw new Error("parameter 'file' is required");s=yield Zoe(s),ot("Checking tar --version");let n="";yield qn("tar --version",[],{ignoreReturnCode:!0,silent:!0,listeners:{stdout:u=>n+=u.toString(),stderr:u=>n+=u.toString()}}),ot(n.trim());let o=n.toUpperCase().includes("GNU TAR"),a;i instanceof Array?a=i:a=[i],E2()&&!i.includes("v")&&a.push("-v");let c=s,l=r;return Yoe&&o&&(a.push("--force-local"),c=s.replace(/\\/g,"/"),l=r.replace(/\\/g,"/")),o&&(a.push("--warning=no-unknown-keyword"),a.push("--overwrite")),a.push("-C",c,"-f",l),yield qn("tar",a),s})}function Koe(t,e){return gc(this,void 0,void 0,function*(){if(!t)throw new Error("parameter 'file' is required");return e=yield Zoe(e),Yoe?yield U5e(t,e):yield F5e(t,e),e})}function U5e(t,e){return gc(this,void 0,void 0,function*(){let r=t.replace(/'/g,"''").replace(/"|\n|\r/g,""),s=e.replace(/'/g,"''").replace(/"|\n|\r/g,""),i=yield Ls("pwsh",!1);if(i){let o=["-NoLogo","-NoProfile","-NonInteractive","-ExecutionPolicy","Unrestricted","-Command",["$ErrorActionPreference = 'Stop' ;","try { Add-Type -AssemblyName System.IO.Compression.ZipFile Line truncated
`,Vje=/\u2014 (\S+) (\S+)\n/g;function zje(t,e){let r=t.inclusionProof,s=U2.fromString(r.checkpoint.envelope),n=lN.fromString(s.note);if(!Jje(s,e))throw new zp.VerificationError({code:"TLOG_INCLUSION_PROOF_ERROR",message:"invalid checkpoint signature"});return n}o(zje,"verifyCheckpoint");function Jje(t,e){let r=Buffer.from(t.note,"utf-8");return t.signatures.some(s=>{let n=e.find(i=>Hce.crypto.bufferEqual(i.logID.subarray(0,4),s.keyHint)&&i.baseURL.includes(s.name));return n?Hce.crypto.verify(r,n.publicKey,s.signature):!1})}o(Jje,"verifySignedNote");var U2=class t{static{o(this,"SignedNote")}note;signatures;constructor(e,r){this.note=e,this.signatures=r}static fromString(e){if(!e.includes(F2))throw new zp.VerificationError({code:"TLOG_INCLUSION_PROOF_ERROR",message:"missing checkpoint separator"});let r=e.indexOf(F2),s=e.slice(0,r+1),i=e.slice(r+F2.length).matchAll(Vje),a=Array.from(i,c=>{let[,l,u]=c,d=Buffer.from(u,"base64");if(d.length<5)throw new zp.VerificationError({code:"TLOG_INCLUSION_PROOF_ERROR",message:"malformed checkpoint signature"});return{name:l,keyHint:d.subarray(0,4),signature:d.subarray(4)}});if(a.length===0)throw new zp.VerificationError({code:"TLOG_INCLUSION_PROOF_ERROR",message:"no signatures found in checkpoint"});return new t(s,a)}},lN=class t{static{o(this,"LogCheckpoint")}origin;logSize;logHash;rest;constructor(e,r,s,n){this.origin=e,this.logSize=r,this.logHash=s,this.rest=n}static fromString(e){let r=e.trimEnd().split(`
`);if(r.length<3)throw new zp.VerificationError({code:"TLOG_INCLUSION_PROOF_ERROR",message:"too few lines in checkpoint header"});let s=r[0],n;try{n=BigInt(r[1])}catch{throw new zp.VerificationError({code:"TLOG_INCLUSION_PROOF_ERROR",message:"invalid checkpoint log size"})}let i=Buffer.from(r[2],"base64"),a=r.slice(3);return new t(s,n,i,a)}};tE.LogCheckpoint=lN});var zce=h(H2=>{"use strict";Object.defineProperty(H2,"__esModule",{value:!0});H2.verifyMerkleInclusion=Wje;var G2=yi(),uN=Tr(),Yje=Buffer.from([0]),$je=Buffer.from([1]);function Wje(t,e){let r=t.inclusionProof,s;try{s=BigInt(r.logIndex)}catch{throw new uN.VerificationError({code:"TLOG_INCLUSION_PROOF_ERROR",message:"invalid inclusion proof log index"})}let n=BigInt(e.logSize);if(s<0n||s>=n)throw new uN.VerificationError({code:"TLOG_INCLUSION_PROOF_ERROR",message:`invalid index: ${s}`});let{inner:i,border:a}=jje(s,n);if(r.hashes.length!==i+a)throw new uN.VerificationError({code:"TLOG_INCLUSION_PROOF_ERROR",message:"invalid hash count"});let c=r.hashes.slice(0,i),l=r.hashes.slice(i),u=r4e(t.canonicalizedBody),d=Xje(Kje(u,c,s),l);if(!G2.crypto.bufferEqual(d,e.logHash))throw new uN.VerificationError({code:"TLOG_INCLUSION_PROOF_ERROR",message:"calculated root hash does not match inclusion proof"})}o(Wje,"verifyMerkleInclusion");function jje(t,e){let r=Zje(t,e),s=e4e(t>>BigInt(r));return{inner:r,border:s}}o(jje,"decompInclProof");function Kje(t,e,r){return e.reduce((s,n,i)=>r>>BigInt(i)&BigInt(1)?q2(n,s):q2(s,n),t)}o(Kje,"chainInner");function Xje(t,e){return e.reduce((r,s)=>q2(s,r),t)}o(Xje,"chainBorderRight");function Zje(t,e){return t4e(t^e-BigInt(1))}o(Zje,"innerProofSize");function e4e(t){return t.toString(2).split("1").length-1}o(e4e,"onesCount");function t4e(t){return t===0n?0:t.toString(2).length}o(t4e,"bitLength");function q2(t,e){return G2.crypto.digest("sha256",$je,t,e)}o(q2,"hashChildren");function r4e(t){return G2.crypto.digest("sha256",Yje,t)}o(r4e,"hashLeaf")});var Yce=h(V2=>{"use strict";Object.defineProperty(V2,"__esModule",{value:!0});V2.verifyTLogSET=i4e;var Jce=yi(),s4e=Tr(),n4e=qp();function i4e(t,e){if(!(0,n4e.filterTLogAuthorities)(e,{logID:t.logId.keyId,targetDate:new Date(Number(t.integratedTime)*1e3)}).some(n=>{let i=o4e(t),a=Buffer.from(Jce.json.canonicalize(i),"utf8"),c=t.inclusionPromise.signedEntryTimestamp;return Jce.crypto.verify(a,n.publicKey,c)}))throw new s4e.VerificationError({code:"TLOG_INCLUSION_PROMISE_ERROR",message:"inclusion promise could not be verified"})}o(i4e,"verifyTLogSET");function o4e(t){let{integratedTime:e,logIndex:r,logId:s,canonicalizedBody:n}=t;return{body:n.toString("base64"),integratedTime:Number(e),logIndex:Number(r),logID:s.keyId.toString("hex")}}o(o4e,"toVerificationPayload")});var Wce=h(AN=>{"use strict";Object.defineProperty(AN,"__esModule",{value:!0});AN.verifyTLogBody=d4e;AN.verifyTLogInclusion=A4e;var $ce=Fce(),dN=Tr(),z2=Uce(),J2=qce(),a4e=Gce(),c4e=Vce(),l4e=zce(),u4e=Yce();function d4e(t,e){let{kind:r,version:s}=t.kindVersion,n;try{n=JSON.parse(t.canonicalizedBody.toString("utf8"))}catch{throw new dN.VerificationError({code:"TLOG_BODY_ERROR",message:"invalid canonicalized body"})}if(r!==n.kind||s!==n.apiVersion)throw new dN.VerificationError({code:"TLOG_BODY_ERROR",message:`kind/version mismatch - expected: ${r}/${s}, received: ${n.kind}/${n.apiVersion}`});switch(r){case"dsse":if(s==z2.DSSE_API_VERSION_V1)return(0,z2.verifyDSSETLogBody)(n,e);{let i=$ce.Entry.fromJSON(n);return(0,z2.verifyDSSETLogBodyV2)(i,e)}case"intoto":return(0,a4e.verifyIntotoTLogBody)(n,e);case"hashedrekord":if(s==J2.HASHEDREKORD_API_VERSION_V1)return(0,J2.verifyHashedRekordTLogBody)(n,e);{let i=$ce.Entry.fromJSON(n);return(0,J2.verifyHashedRekordTLogBodyV2)(i,e)}default:throw new dN.VerificationError({code:"TLOG_BODY_ERROR",message:`unsupported kind: ${r}`})}}o(d4e,"verifyTLogBody");function A4e(t,e){let r=!1;if(p4e(t)&&((0,u4e.verifyTLogSET)(t,e),r=!0),f4e(t)){let s=(0,c4e.verifyCheckpoint)(t,e);(0,l4e.verifyMerkleInclusion)(t,s),r=!0}if(!r)throw new dN.VerificationError({code:"TLOG_MISSING_INCLUSION_ERROR",message:"inclusion could not be verified"})}o(A4e,"verifyTLogInclusion");function p4e(t){return t.inclusionPromise!==void 0}o(p4e,"isTLogEntryWithInclusionPromise");function f4e(t){return t.inclusionProof!==void 0}o(f4e,"isTLogEntryWithInclusionProof")});var Zce=h(pN=>{"use strict";Object.defineProperty(pN,"__esModule",{value:!0});pN.Verifier=void 0;var h4e=require("util"),Ju=Tr(),jce=xce(),Y2=Qce(),Kce=vce(),Xce=Wce(),W2=class{static{o(this,"Verifier")}trustMaterial;options;constructor(e,r={}){this.trustMaterial=e,this.options={ctlogThreshold:r.ctlogThreshold??1,tlogThreshold:r.tlogThreshold??1,timestampThreshold:r.timestampThreshold??r.tsaThreshold??1,tsaThreshold:0}}verify(e,r){let s=this.verifyTimestamps(e),n=this.verifySigningKey(e,s);return this.verifyTLogs(e),this.verifySignature(e,n),r&&this.verifyPolicy(r,n.identity||{}),n}verifyTimestamps(e){let r=[];for(let s of e.timestamps)switch(s.$case){case"time Line truncated
Support boolean input list: \`true | True | TRUE | false | False | FALSE\``)}o(uC,"getBooleanInput");function cW(t){process.exitCode=IT.Failure,Jd(t)}o(cW,"setFailed");function Tl(){return process.env.RUNNER_DEBUG==="1"}o(Tl,"isDebug");function B(t){qa("debug",{},t)}o(B,"debug");function Jd(t,e={}){qa("error",vN(e),t instanceof Error?t.toString():t)}o(Jd,"error");function ct(t,e={}){qa("warning",vN(e),t instanceof Error?t.toString():t)}o(ct,"warning");function S(t){process.stdout.write(t+oW.EOL)}o(S,"info");function ZBe(t){_N("group",t)}o(ZBe,"startGroup");function ebe(){_N("endgroup")}o(ebe,"endGroup");function Ls(t,e){return XBe(this,void 0,void 0,function*(){ZBe(t);let r;try{r=yield e()}finally{ebe()}return r})}o(Ls,"group");function dC(t,e){if(process.env.GITHUB_STATE||"")return kN("STATE",aq(t,e));qa("save-state",{name:t},Ua(e))}o(dC,"saveState");function lW(t){return process.env[`STATE_${t}`]||""}o(lW,"getState");var rg=w(require("fs"),1),RL=w(require("os"),1),TL=w(require("path"),1);var dW=w(require("os"),1);function lh(t){return t==null?"":typeof t=="string"||t instanceof String?t:JSON.stringify(t)}o(lh,"toCommandValue");function AW(t,e,r){let s=new BT(t,e,r);process.stdout.write(s.toString()+dW.EOL)}o(AW,"issueCommand");var uW="::",BT=class{static{o(this,"Command")}constructor(e,r,s){e||(e="missing.command"),this.command=e,this.properties=r,this.message=s}toString(){let e=uW+this.command;if(this.properties&&Object.keys(this.properties).length>0){e+=" ";let r=!0;for(let s in this.properties)if(this.properties.hasOwnProperty(s)){let n=this.properties[s];n&&(r?r=!1:e+=",",e+=`${s}=${rbe(n)}`)}}return e+=`${uW}${tbe(this.message)}`,e}};function tbe(t){return lh(t).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A")}o(tbe,"escapeData");function rbe(t){return lh(t).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A").replace(/:/g,"%3A").replace(/,/g,"%2C")}o(rbe,"escapeProperty");var mW=w(require("os"),1);var fW=require("os"),uh=require("fs");var bT=function(t,e,r,s){function n(i){return i instanceof r?i:new r(function(a){a(i)})}return o(n,"adopt"),new(r||(r=Promise))(function(i,a){function c(d){try{u(s.next(d))}catch(A){a(A)}}o(c,"fulfilled");function l(d){try{u(s.throw(d))}catch(A){a(A)}}o(l,"rejected");function u(d){d.done?i(d.value):n(d.value).then(c,l)}o(u,"step"),u((s=s.apply(t,e||[])).next())})},{access:sbe,appendFile:nbe,writeFile:ibe}=uh.promises,pW="GITHUB_STEP_SUMMARY";var wT=class{static{o(this,"Summary")}constructor(){this._buffer=""}filePath(){return bT(this,void 0,void 0,function*(){if(this._filePath)return this._filePath;let e=process.env[pW];if(!e)throw new Error(`Unable to find environment variable for $${pW}. Check if your runtime environment supports job summaries.`);try{yield sbe(e,uh.constants.R_OK|uh.constants.W_OK)}catch{throw new Error(`Unable to access summary file: '${e}'. Check if the file has correct read/write permissions.`)}return this._filePath=e,this._filePath})}wrap(e,r,s={}){let n=Object.entries(s).map(([i,a])=>` ${i}="${a}"`).join("");return r?`<${e}${n}>${r}</${e}>`:`<${e}${n}>`}write(e){return bT(this,void 0,void 0,function*(){let r=!!e?.overwrite,s=yield this.filePath();return yield(r?ibe:nbe)(s,this._buffer,{encoding:"utf8"}),this.emptyBuffer()})}clear(){return bT(this,void 0,void 0,function*(){return this.emptyBuffer().write({overwrite:!0})})}stringify(){return this._buffer}isEmptyBuffer(){return this._buffer.length===0}emptyBuffer(){return this._buffer="",this}addRaw(e,r=!1){return this._buffer+=e,r?this.addEOL():this}addEOL(){return this.addRaw(fW.EOL)}addCodeBlock(e,r){let s=Object.assign({},r&&{lang:r}),n=this.wrap("pre",this.wrap("code",e),s);return this.addRaw(n).addEOL()}addList(e,r=!1){let s=r?"ol":"ul",n=e.map(a=>this.wrap("li",a)).join(""),i=this.wrap(s,n);return this.addRaw(i).addEOL()}addTable(e){let r=e.map(n=>{let i=n.map(a=>{if(typeof a=="string")return this.wrap("td",a);let{header:c,data:l,colspan:u,rowspan:d}=a,A=c?"th":"td",p=Object.assign(Object.assign({},u&&{colspan:u}),d&&{rowspan:d});return this.wrap(A,l,p)}).join("");return this.wrap("tr",i)}).join(""),s=this.wrap("table",r);return this.addRaw(s).addEOL()}addDetails(e,r){let s=this.wrap("details",this.wrap("summary",e)+r);return this.addRaw(s).addEOL()}addImage(e,r,s){let{width:n,height:i}=s||{},a=Object.assign(Object.assign({},n&&{width:n}),i&&{height:i}),c=this.wrap("img",null,Object.assign({src:e,alt:r},a));return this.addRaw(c).addEOL()}addHeading(e,r){let s=`h${r}`,n=["h1","h2","h3","h4","h5","h6"].includes(s)?s:"h1",i=this.wrap(n,e);return this.addRaw(i).addEOL()}addSeparator(){let e=this.wrap("hr",null);return this.addRaw(e).addEOL()}addBreak(){let e=this.wrap("br",null);return this.addRaw(e).addEOL()}addQuote(e,r){let s=Object.assign({},r&&{cite:r}),n=this.wrap("blockquote",e,s);return this.addRaw(n).addEOL()}addLink(e,r){let s=this.wrap("a",e,{href:r});return this.addRaw(s).addEOL()}},Z9e=new wT;var ST=w(require("os"),1);var nKe=ST.default.platform(),iKe=ST.defauLine truncated
`),e=e.replace(/\r/g,`
`));let i=e.split(`
`).map(n=>n.trim());for(let n of i)!n||n.startsWith("#")||s.patterns.push(new fI(n));return s.searchPaths.push(...nU(s.patterns)),s})}static stat(e,r,s){return uU(this,void 0,void 0,function*(){let i;if(r.followSymbolicLinks)try{i=yield Fm.promises.stat(e.path)}catch(n){if(n.code==="ENOENT"){if(r.omitBrokenSymbolicLinks){ot(`Broken symlink '${e.path}'`);return}throw new Error(`No information found for the path '${e.path}'. This may indicate a broken symbolic link.`)}throw n}else i=yield Fm.promises.lstat(e.path);if(i.isDirectory()&&r.followSymbolicLinks){let n=yield Fm.promises.realpath(e.path);for(;s.length>=e.level;)s.pop();if(s.some(o=>o===n)){ot(`Symlink cycle detected for path '${e.path}' and realpath '${n}'`);return}s.push(n)}return i})}};var N$e=function(t,e,r,s){function i(n){return n instanceof r?n:new r(function(o){o(n)})}return new(r||(r=Promise))(function(n,o){function a(u){try{l(s.next(u))}catch(h){o(h)}}function c(u){try{l(s.throw(u))}catch(h){o(h)}}function l(u){u.done?n(u.value):i(u.value).then(a,c)}l((s=s.apply(t,e||[])).next())})};function kae(t,e){return N$e(this,void 0,void 0,function*(){return yield zx.create(t,e)})}var oN=O(require("crypto"),1),Hm=O(require("fs"),1),qf=O(require("path"),1),Nle=O(Sle(),1),Rle=O(require("util"),1);var bI;(function(t){t.Gzip="cache.tgz",t.Zstd="cache.tzst"})(bI||(bI={}));var Bi;(function(t){t.Gzip="gzip",t.ZstdWithoutLong="zstd-without-long",t.Zstd="zstd"})(Bi||(Bi={}));var Hn;(function(t){t.GNU="gnu",t.BSD="bsd"})(Hn||(Hn={}));var iN=2,nN=5e3,TU=5e3,_U=`${process.env.PROGRAMFILES}\\Git\\usr\\bin\\tar.exe`,xle=`${process.env.SYSTEMDRIVE}\\Windows\\System32\\tar.exe`,wI="cache.tar",QU="manifest.txt",VMt=10*Math.pow(1024,3);var Gm=function(t,e,r,s){function i(n){return n instanceof r?n:new r(function(o){o(n)})}return new(r||(r=Promise))(function(n,o){function a(u){try{l(s.next(u))}catch(h){o(h)}}function c(u){try{l(s.throw(u))}catch(h){o(h)}}function l(u){u.done?n(u.value):i(u.value).then(a,c)}l((s=s.apply(t,e||[])).next())})},BJe=function(t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var e=t[Symbol.asyncIterator],r;return e?e.call(t):(t=typeof __values=="function"?__values(t):t[Symbol.iterator](),r={},s("next"),s("throw"),s("return"),r[Symbol.asyncIterator]=function(){return this},r);function s(n){r[n]=t[n]&&function(o){return new Promise(function(a,c){o=t[n](o),i(a,c,o.done,o.value)})}}function i(n,o,a,c){Promise.resolve(c).then(function(l){n({value:l,done:a})},o)}},SJe="1.0";function BI(){return Gm(this,void 0,void 0,function*(){let t=process.platform==="win32",e=process.env.RUNNER_TEMP||"";if(!e){let s;t?s=process.env.USERPROFILE||"C:\\":process.platform==="darwin"?s="/Users":s="/home",e=qf.join(s,"actions","temp")}let r=qf.join(e,oN.randomUUID());return yield su(r),r})}function Cc(t){return Hm.statSync(t).size}function PU(t){return Gm(this,void 0,void 0,function*(){var e,r,s,i,n;let o=[],a=(n=process.env.GITHUB_WORKSPACE)!==null&&n!==void 0?n:process.cwd(),c=yield kae(t.join(`
`),{implicitDescendants:!1});try{for(var l=!0,u=BJe(c.globGenerator()),h;h=yield u.next(),e=h.done,!e;l=!0){i=h.value,l=!1;let f=qf.relative(a,i).replace(new RegExp(`\\${qf.sep}`,"g"),"/");se(`Matched: ${f}`),f===""?o.push("."):o.push(`${f}`)}}catch(d){r={error:d}}finally{try{!l&&!e&&(s=u.return)&&(yield s.call(u))}finally{if(r)throw r.error}}return o})}function SI(t){return Gm(this,void 0,void 0,function*(){return Rle.promisify(Hm.unlink)(t)})}function vle(t){return Gm(this,arguments,void 0,function*(e,r=[]){let s="";r.push("--version"),se(`Checking ${e} ${r.join(" ")}`);try{yield qn(`${e}`,r,{ignoreReturnCode:!0,silent:!0,listeners:{stdout:i=>s+=i.toString(),stderr:i=>s+=i.toString()}})}catch(i){se(i.message)}return s=s.trim(),se(s),s})}function xI(){return Gm(this,void 0,void 0,function*(){let t=yield vle("zstd",["--quiet"]),e=Nle.clean(t);return se(`zstd version: ${e}`),t===""?Bi.Gzip:Bi.ZstdWithoutLong})}function Kh(t){return t===Bi.Gzip?bI.Gzip:bI.Zstd}function Tle(){return Gm(this,void 0,void 0,function*(){return Hm.existsSync(_U)?_U:(yield vle("tar")).toLowerCase().includes("gnu tar")?Ls("tar"):""})}function OU(t,e){if(e===void 0)throw Error(`Expected ${t} but value was undefiend`);return e}function zm(t,e,r=!1){let s=t.slice();return e&&s.push(e),process.platform==="win32"&&!r&&s.push("windows-only"),s.push(SJe),oN.createHash("sha256").update(s.join("|")).digest("hex")}function _le(){let t=process.env.ACTIONS_RUNTIME_TOKEN;if(!t)throw new Error("Unable to get the ACTIONS_RUNTIME_TOKEN env variable");return t}var RI=O(require("http"),1),MU=O(require("https"),1);function DU(t){let e=t.protocol==="https:";if(xJe(t))return;let r=e?process.env.https_proxy||process.env.HTTPS_PROXY:process.env.http_proxy||process.env.HTTP_PROXY;if(r)try{return new cN(r)}catch{if(!r.startsWith("http://")&&!r.startsWith("https://"))return new cN(`http://${r}`)}else return}function xJe(t){if(!t.hostname)return!1;let e=t.hostname;if(NJe(e))return!0;let r=process.env.no_proxy||process.env.NO_PROXY||"";if(!r)return!1;let s;t.port?s=Number(t.port):t.protocol==="http:"?s=80:t.protocol==="https:"&&(s=443);let i=[t.hostname.toUpperCase()];typeof s=="number"&&i.push(`${i[0]}:${s}`);for(let n of r.split(",").map(o=>o.trim().toUpperCase()).filter(o=>o))if(n==="*"||i.some(o=>o===n||o.endsWith(`.${n}`)||n.startsWith(".")&&o.endsWith(`${n}`)))return!0;return!1}function NJe(t){let e=t.toLowerCase();return e==="localhost"||e.startsWith("127.")||e.startsWith("[::1]")||e.startsWith("[0:0:0:0:0:0:0:1]")}var cN=class extends URL{constructor(e,r){super(e,r),this._decodedUsername=decodeURIComponent(super.username),this._decodedPassword=decodeURIComponent(super.password)}get username(){return this._decodedUsername}get password(){return this._decodedPassword}};var Xh=O(af(),1),Qle=O(Fh(),1),Qr=function(t,e,r,s){function i(n){return n instanceof r?n:new r(function(o){o(n)})}return new(r||(r=Promise))(function(n,o){function a(u){try{l(s.next(u))}catch(h){o(h)}}function c(u){try{l(s.throw(u))}catch(h){o(h)}}function l(u){u.done?n(u.value):i(u.value).then(a,c)}l((s=s.apply(t,e||[])).next())})},mr;(function(t){t[t.OK=200]="OK",t[t.MultipleChoices=300]="MultipleChoices",t[t.MovedPermanently=301]="MovedPermanently",t[t.ResourceMoved=302]="ResourceMoved",t[t.SeeOther=303]="SeeOther",t[t.NotModified=304]="NotModified",t[t.UseProxy=305]="UseProxy",t[t.SwitchProxy=306]="SwitchProxy",t[t.TemporaryRedirect=307]="TemporaryRedirect",t[t.PermanentRedirect=308]="PermanentRedirect",t[t.BadRequest=400]="BadRequest",t[t.Unauthorized=401]="Unauthorized",t[t.PaymentRequired=402]="PaymentRequired",t[t.Forbidden=403]="Forbidden",t[t.NotFound=404]="NotFound",t[t.MethodNotAllowed=405]="MethodNotAllowed",t[t.NotAcceptable=406]="NotAcceptable",t[t.ProxyAuthenticationRequired=407]="ProxyAuthenticationRequired",t[t.RequestTimeout=408]="RequestTimeout",t[t.Conflict=409]="Conflict",t[t.Gone=410]="Gone",t[t.TooManyRequests=429]="TooManyRequests",t[t.InternalServerError=500]="InternalServerError",t[t.NotImplemented=501]="NotImplemented",t[t.BadGateway=502]="BadGateway",t[t.ServiceUnavailable=503]="ServiceUnavailable",t[t.GatewayTimeout=504]="GatewayTimeout"})(mr||(mr={}));var Si;(function(t){t.Accept="accept",t.ContentType="content-type"})(Si||(Si={}));var au;(function(t){t.ApplicationJson="application/json"})(au||(au={}));var vJe=[mr.MovedPermanently,mr.ResourceMoved,mr.SeeOther,mr.TemporaryRedirect,mr.PermanentRedirect],TJe=[mr.BadGateway,mr.ServiceUnavailable,mr.GatewayTimeout],_Je=["OPTIONS","GET","DELETE","HEAD"],QJe=10,PJe=5,Ic=class t extends Error{constructor(e,r){super(e),this.name="HttpClientError",this.statusCode=r,Object.setPrototypeOf(this,t.prototype)}},kU=class{constructor(e){this.message=e}readBody(){return Qr(this,void 0,void 0,function*(){return new Promise(e=>Qr(this,void 0,void 0,function*(){let r=Buffer.alloc(0);this.message.on("data",s=>{r=Buffer.concat([r,s])}),this.message.on("end",()=>{e(r.toString())})}))})}readBodyBuffer(){return Qr(this,void 0,void 0,f Line truncated
${GJe.sanitize({...this,request:{...this.request,agent:s},response:this.response})}`,enumerable:!1}),Object.setPrototypeOf(this,t.prototype)}};function pN(t){return t instanceof xi?!0:Hf(t)&&t.name==="RestError"}function sn(t,e){return Buffer.from(t,e)}var AN=O(require("node:http"),1),mN=O(require("node:https"),1),jU=O(require("node:zlib"),1),Wle=require("node:stream");var Do=vI("ts-http-runtime");var HJe={};function TI(t){return t&&typeof t.pipe=="function"}function Yle(t){return t.readable===!1?Promise.resolve():new Promise(e=>{let r=()=>{e(),t.removeListener("close",r),t.removeListener("end",r),t.removeListener("error",r)};t.on("close",r),t.on("end",r),t.on("error",r)})}function Kle(t){return t&&typeof t.byteLength=="number"}var gN=class extends Wle.Transform{loadedBytes=0;progressCallback;_transform(e,r,s){this.push(e),this.loadedBytes+=e.length;try{this.progressCallback({loadedBytes:this.loadedBytes}),s()}catch(i){s(i)}}constructor(e){super(),this.progressCallback=e}},JU=class{cachedHttpAgent;cachedHttpsAgents=new WeakMap;async sendRequest(e){let r=new AbortController,s;if(e.abortSignal){if(e.abortSignal.aborted)throw new bc("The operation was aborted. Request has already been canceled.");s=l=>{l.type==="abort"&&r.abort()},e.abortSignal.addEventListener("abort",s)}let i;e.timeout>0&&(i=setTimeout(()=>{let l=new Oa;Do.info(`request to '${l.sanitizeUrl(e.url)}' timed out. canceling...`),r.abort()},e.timeout));let n=e.headers.get("Accept-Encoding"),o=n?.includes("gzip")||n?.includes("deflate"),a=typeof e.body=="function"?e.body():e.body;if(a&&!e.headers.has("Content-Length")){let l=jJe(a);l!==null&&e.headers.set("Content-Length",l)}let c;try{if(a&&e.onUploadProgress){let p=e.onUploadProgress,m=new gN(p);m.on("error",E=>{Do.error("Error in upload progress",E)}),TI(a)?a.pipe(m):m.end(a),a=m}let l=await this.makeRequest(e,r,a);i!==void 0&&clearTimeout(i);let u=zJe(l),d={status:l.statusCode??0,headers:u,request:e};if(e.method==="HEAD")return l.resume(),d;c=o?VJe(l,u):l;let f=e.onDownloadProgress;if(f){let p=new gN(f);p.on("error",m=>{Do.error("Error in download progress",m)}),c.pipe(p),c=p}return e.streamResponseStatusCodes?.has(Number.POSITIVE_INFINITY)||e.streamResponseStatusCodes?.has(d.status)?d.readableStreamBody=c:d.bodyAsText=await $Je(c),d}finally{if(e.abortSignal&&s){let l=Promise.resolve();TI(a)&&(l=Yle(a));let u=Promise.resolve();TI(c)&&(u=Yle(c)),Promise.all([l,u]).then(()=>{s&&e.abortSignal?.removeEventListener("abort",s)}).catch(h=>{Do.warning("Error when cleaning up abortListener on httpRequest",h)})}}}makeRequest(e,r,s){let i=new URL(e.url),n=i.protocol!=="https:";if(n&&!e.allowInsecureConnection)throw new Error(`Cannot connect to ${e.url} while allowInsecureConnection is false.`);let a={agent:e.agent??this.getOrCreateAgent(e,n),hostname:i.hostname,path:`${i.pathname}${i.search}`,port:i.port,method:e.method,headers:e.headers.toJSON({preserveCase:!0}),...e.requestOverrides};return new Promise((c,l)=>{let u=n?AN.default.request(a,c):mN.default.request(a,c);u.once("error",h=>{l(new xi(h.message,{code:h.code??xi.REQUEST_SEND_ERROR,request:e}))}),r.signal.addEventListener("abort",()=>{let h=new bc("The operation was aborted. Rejecting from abort signal callback while making request.");u.destroy(h),l(h)}),s&&TI(s)?s.pipe(u):s?typeof s=="string"||Buffer.isBuffer(s)?u.end(s):Kle(s)?u.end(ArrayBuffer.isView(s)?Buffer.from(s.buffer):Buffer.from(s)):(Do.error("Unrecognized body type",s),l(new xi("Unrecognized body type"))):u.end()})}getOrCreateAgent(e,r){let s=e.disableKeepAlive;if(r)return s?AN.default.globalAgent:(this.cachedHttpAgent||(this.cachedHttpAgent=new AN.default.Agent({keepAlive:!0})),this.cachedHttpAgent);{if(s&&!e.tlsSettings)return mN.default.globalAgent;let i=e.tlsSettings??HJe,n=this.cachedHttpsAgents.get(i);return n&&n.options.keepAlive===!s||(Do.info("No cached TLS Agent exist, creating a new Agent"),n=new mN.default.Agent({keepAlive:!s,...i}),this.cachedHttpsAgents.set(i,n)),n}}};function zJe(t){let e=zn();for(let r of Object.keys(t.headers)){let s=t.headers[r];Array.isArray(s)?s.length>0&&e.set(r,s[0]):s&&e.set(r,s)}return e}function VJe(t,e){let r=e.get("Content-Encoding");if(r==="gzip"){let s=jU.default.createGunzip();return t.pipe(s),s}else if(r==="deflate"){let s=jU.default.createInflate();return t.pipe(s),s}return t}function $Je(t){return new Promise((e,r)=>{let s=[];t.on("data",i=>{Buffer.isBuffer(i)?s.push(i):s.push(Buffer.from(i))}),t.on("end",()=>{e(Buffer.concat(s).toString("utf8"))}),t.on("error",i=>{i&&i?.name==="AbortError"?r(i):r(new xi(`Error reading response as text: ${i.message}`,{code:xi.PARSE_ERROR}))})})}function jJe(t){return t?Buffer.isBuffer(t)?t.length:TI(t)?null:Kle(t)?t.byteLength:typeof t=="string"?Buffer.from(t).length:null:0}function Xle(){return new JU}function yN(){return Xle()}var YU="logPolicy";function EN(t={}){let e=t.logger??Do.info,r=new Oa({additionalAllowedHeaderNames:t.additionalAllowedHeaderNames,additionalAllowedQueryParameters:t.additional Line truncated
`;return e}function S9e(t){return t instanceof Uint8Array?t.byteLength:FN(t)?t.size===-1?void 0:t.size:void 0}function x9e(t){let e=0;for(let r of t){let s=S9e(r);if(s===void 0)return;e+=s}return e}async function N9e(t,e,r){let s=[sn(`--${r}`,"utf-8"),...e.flatMap(n=>[sn(`\r
`,"utf-8"),sn(B9e(n.headers),"utf-8"),sn(`\r
`,"utf-8"),n.body,sn(`\r
--${r}`,"utf-8")]),sn(`--\r
`));let n=e.split(`
`).map(i=>i.trim());for(let i of n)!i||i.startsWith("#")||s.patterns.push(new wh(i));return s.searchPaths.push(...nv(s.patterns)),s})}static stat(e,r,s){return uv(this,void 0,void 0,function*(){let n;if(r.followSymbolicLinks)try{n=yield Xd.promises.stat(e.path)}catch(i){if(i.code==="ENOENT"){if(r.omitBrokenSymbolicLinks){mn(`Broken symlink '${e.path}'`);return}throw new Error(`No information found for the path '${e.path}'. This may indicate a broken symbolic link.`)}throw i}else n=yield Xd.promises.lstat(e.path);if(n.isDirectory()&&r.followSymbolicLinks){let i=yield Xd.promises.realpath(e.path);for(;s.length>=e.level;)s.pop();if(s.some(a=>a===i)){mn(`Symlink cycle detected for path '${e.path}' and realpath '${i}'`);return}s.push(i)}return n})}};var $Se=function(t,e,r,s){function n(i){return i instanceof r?i:new r(function(a){a(i)})}return o(n,"adopt"),new(r||(r=Promise))(function(i,a){function c(d){try{u(s.next(d))}catch(A){a(A)}}o(c,"fulfilled");function l(d){try{u(s.throw(d))}catch(A){a(A)}}o(l,"rejected");function u(d){d.done?i(d.value):n(d.value).then(c,l)}o(u,"step"),u((s=s.apply(t,e||[])).next())})};function W4(t,e){return $Se(this,void 0,void 0,function*(){return yield vC.create(t,e)})}o(W4,"create");var $C=w(require("crypto"),1),tA=w(require("fs"),1),Ol=w(require("path"),1),U8=w(L8(),1),q8=w(require("util"),1);var _h;(function(t){t.Gzip="cache.tgz",t.Zstd="cache.tzst"})(_h||(_h={}));var Ur;(function(t){t.Gzip="gzip",t.ZstdWithoutLong="zstd-without-long",t.Zstd="zstd"})(Ur||(Ur={}));var Us;(function(t){t.GNU="gnu",t.BSD="bsd"})(Us||(Us={}));var zC=2,JC=5e3,Tv=5e3,vv=`${process.env.PROGRAMFILES}\\Git\\usr\\bin\\tar.exe`,F8=`${process.env.SYSTEMDRIVE}\\Windows\\System32\\tar.exe`,kh="cache.tar",Pv="manifest.txt",ltt=10*Math.pow(1024,3),YC="cache read denied:";var eA=function(t,e,r,s){function n(i){return i instanceof r?i:new r(function(a){a(i)})}return o(n,"adopt"),new(r||(r=Promise))(function(i,a){function c(d){try{u(s.next(d))}catch(A){a(A)}}o(c,"fulfilled");function l(d){try{u(s.throw(d))}catch(A){a(A)}}o(l,"rejected");function u(d){d.done?i(d.value):n(d.value).then(c,l)}o(u,"step"),u((s=s.apply(t,e||[])).next())})},zQe=function(t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var e=t[Symbol.asyncIterator],r;return e?e.call(t):(t=typeof __values=="function"?__values(t):t[Symbol.iterator](),r={},s("next"),s("throw"),s("return"),r[Symbol.asyncIterator]=function(){return this},r);function s(i){r[i]=t[i]&&function(a){return new Promise(function(c,l){a=t[i](a),n(c,l,a.done,a.value)})}}function n(i,a,c,l){Promise.resolve(l).then(function(u){i({value:u,done:c})},a)}},JQe="1.0";function Dh(){return eA(this,void 0,void 0,function*(){let t=process.platform==="win32",e=process.env.RUNNER_TEMP||"";if(!e){let s;t?s=process.env.USERPROFILE||"C:\\":process.platform==="darwin"?s="/Users":s="/home",e=Ol.join(s,"actions","temp")}let r=Ol.join(e,$C.randomUUID());return yield sa(r),r})}o(Dh,"createTempDirectory");function Ui(t){return tA.statSync(t).size}o(Ui,"getArchiveFileSizeInBytes");function _v(t){return eA(this,void 0,void 0,function*(){var e,r,s,n,i;let a=[],c=(i=process.env.GITHUB_WORKSPACE)!==null&&i!==void 0?i:process.cwd(),l=yield W4(t.join(`
`),{implicitDescendants:!1});try{for(var u=!0,d=zQe(l.globGenerator()),A;A=yield d.next(),e=A.done,!e;u=!0){n=A.value,u=!1;let f=Ol.relative(c,n).replace(new RegExp(`\\${Ol.sep}`,"g"),"/");B(`Matched: ${f}`),f===""?a.push("."):a.push(`${f}`)}}catch(p){r={error:p}}finally{try{!u&&!e&&(s=d.return)&&(yield s.call(d))}finally{if(r)throw r.error}}return a})}o(_v,"resolvePaths");function Oh(t){return eA(this,void 0,void 0,function*(){return q8.promisify(tA.unlink)(t)})}o(Oh,"unlinkFile");function G8(t){return eA(this,arguments,void 0,function*(e,r=[]){let s="";r.push("--version"),B(`Checking ${e} ${r.join(" ")}`);try{yield Ms(`${e}`,r,{ignoreReturnCode:!0,silent:!0,listeners:{stdout:o(n=>s+=n.toString(),"stdout"),stderr:o(n=>s+=n.toString(),"stderr")}})}catch(n){B(n.message)}return s=s.trim(),B(s),s})}o(G8,"getVersion");function Mh(){return eA(this,void 0,void 0,function*(){let t=yield G8("zstd",["--quiet"]),e=U8.clean(t);return B(`zstd version: ${e}`),t===""?Ur.Gzip:Ur.ZstdWithoutLong})}o(Mh,"getCompressionMethod");function fc(t){return t===Ur.Gzip?_h.Gzip:_h.Zstd}o(fc,"getCacheFileName");function H8(){return eA(this,void 0,void 0,function*(){return tA.existsSync(vv)?vv:(yield G8("tar")).toLowerCase().includes("gnu tar")?fr("tar"):""})}o(H8,"getGnuTarPathOnWindows");function kv(t,e){if(e===void 0)throw Error(`Expected ${t} but value was undefiend`);return e}o(kv,"assertDefined");function rA(t,e,r=!1){let s=t.slice();return e&&s.push(e),process.platform==="win32"&&!r&&s.push("windows-only"),s.push(JQe),$C.createHash("sha256").update(s.join("|")).digest("hex")}o(rA,"getCacheVersion");function V8(){let t=process.env.ACTIONS_RUNTIME_TOKEN;if(!t)throw new Error("Unable to get the ACTIONS_RUNTIME_TOKEN env variable");return t}o(V8,"getRuntimeToken");var Fh=w(require("http"),1),Mv=w(require("https"),1);function Dv(t){let e=t.protocol==="https:";if(YQe(t))return;let r=e?process.env.https_proxy||process.env.HTTPS_PROXY:process.env.http_proxy||process.env.HTTP_PROXY;if(r)try{return new jC(r)}catch{if(!r.startsWith("http://")&&!r.startsWith("https://"))return new jC(`http://${r}`)}else return}o(Dv,"getProxyUrl");function YQe(t){if(!t.hostname)return!1;let e=t.hostname;if($Qe(e))return!0;let r=process.env.no_proxy||process.env.NO_PROXY||"";if(!r)return!1;let s;t.port?s=Number(t.port):t.protocol==="http:"?s=80:t.protocol==="https:"&&(s=443);let n=[t.hostname.toUpperCase()];typeof s=="number"&&n.push(`${n[0]}:${s}`);for(let i of r.split(",").map(a=>a.trim().toUpperCase()).filter(a=>a))if(i==="*"||n.some(a=>a===i||a.endsWith(`.${i}`)||i.startsWith(".")&&a.endsWith(`${i}`)))return!0;return!1}o(YQe,"checkBypass");function $Qe(t){let e=t.toLowerCase();return e==="localhost"||e.startsWith("127.")||e.startsWith("[::1]")||e.startsWith("[0:0:0:0:0:0:0:1]")}o($Qe,"isLoopbackAddress");var jC=class extends URL{static{o(this,"DecodedURL")}constructor(e,r){super(e,r),this._decodedUsername=decodeURIComponent(super.username),this._decodedPassword=decodeURIComponent(super.password)}get username(){return this._decodedUsername}get password(){return this._decodedPassword}};var hc=w(ef(),1),z8=w(Hd(),1);var vt=function(t,e,r,s){function n(i){return i instanceof r?i:new r(function(a){a(i)})}return o(n,"adopt"),new(r||(r=Promise))(function(i,a){function c(d){try{u(s.next(d))}catch(A){a(A)}}o(c,"fulfilled");function l(d){try{u(s.throw(d))}catch(A){a(A)}}o(l,"rejected");function u(d){d.done?i(d.value):n(d.value).then(c,l)}o(u,"step"),u((s=s.apply(t,e||[])).next())})},yt;(function(t){t[t.OK=200]="OK",t[t.MultipleChoices=300]="MultipleChoices",t[t.MovedPermanently=301]="MovedPermanently",t[t.ResourceMoved=302]="ResourceMoved",t[t.SeeOther=303]="SeeOther",t[t.NotModified=304]="NotModified",t[t.UseProxy=305]="UseProxy",t[t.SwitchProxy=306]="SwitchProxy",t[t.TemporaryRedirect=307]="TemporaryRedirect",t[t.PermanentRedirect=308]="PermanentRedirect",t[t.BadRequest=400]="BadRequest",t[t.Unauthorized=401]="Unauthorized",t[t.PaymentRequired=402]="PaymentRequired",t[t.Forbidden=403]="Forbidden",t[t.NotFound=404]="NotFound",t[t.MethodNotAllowed=405]="MethodNotAllowed",t[t.NotAcceptable=406]="NotAcceptable",t[t.ProxyAuthenticationRequired=407]="ProxyAuthenticationRequired",t[t.RequestTimeout=408]="RequestTimeout",t[t.Conflict=409]="Conflict",t[t.Gone=410]="Gone",t[t.TooManyRequests=429]="TooManyRequests",t[t.InternalServerError=500]="InternalServerError",t[t.NotImplemented=501]="NotImplemented",t[t.BadGateway=502]="BadGateway",t[t.ServiceUnavailable=503]="ServiceUnavailable",t[t.GatewayTimeout=504]="GatewayTimeout"})(yt||(yt={}));var qr;(function(t){t.Accept="accept",t.ContentType="content-type"})(qr||(qr={}));var aa;(function(t){t.ApplicationJson="application/json"})(aa||(aa={}));var jQe=[yt.MovedPermanently,yt.ResourceMoved,yt.SeeOther,yt.TemporaryRedirect,yt.PermanentRedirect],KQe=[yt.BadGateway,yt.ServiceUnavailable,yt.GatewayTimeout],XQe=["OPTIONS","GET","DELETE","HEAD"],ZQe=10,eRe=5,qi=class t extends Error{static{o(this,"HttpClientError")}constructor(e,r) Line truncated
${lRe.sanitize({...this,request:{...this.request,agent:s},response:this.response})}`,"value"),enumerable:!1}),Object.setPrototypeOf(this,t.prototype)}};function rI(t){return t instanceof Gr?!0:Ll(t)&&t.name==="RestError"}o(rI,"isRestError");function is(t,e){return Buffer.from(t,e)}o(is,"stringToUint8Array");var sI=w(require("node:http"),1),nI=w(require("node:https"),1),Yv=w(require("node:zlib"),1),l6=require("node:stream");var yn=Uh("ts-http-runtime");var uRe={};function qh(t){return t&&typeof t.pipe=="function"}o(qh,"isReadableStream");function c6(t){return t.readable===!1?Promise.resolve():new Promise(e=>{let r=o(()=>{e(),t.removeListener("close",r),t.removeListener("end",r),t.removeListener("error",r)},"handler");t.on("close",r),t.on("end",r),t.on("error",r)})}o(c6,"isStreamComplete");function u6(t){return t&&typeof t.byteLength=="number"}o(u6,"isArrayBuffer");var iI=class extends l6.Transform{static{o(this,"ReportTransform")}loadedBytes=0;progressCallback;_transform(e,r,s){this.push(e),this.loadedBytes+=e.length;try{this.progressCallback({loadedBytes:this.loadedBytes}),s()}catch(n){s(n)}}constructor(e){super(),this.progressCallback=e}},$v=class{static{o(this,"NodeHttpClient")}cachedHttpAgent;cachedHttpsAgents=new WeakMap;async sendRequest(e){let r=new AbortController,s;if(e.abortSignal){if(e.abortSignal.aborted)throw new Gi("The operation was aborted. Request has already been canceled.");s=o(u=>{u.type==="abort"&&r.abort()},"abortListener"),e.abortSignal.addEventListener("abort",s)}let n;e.timeout>0&&(n=setTimeout(()=>{let u=new oi;yn.info(`request to '${u.sanitizeUrl(e.url)}' timed out. canceling...`),r.abort()},e.timeout));let i=e.headers.get("Accept-Encoding"),a=i?.includes("gzip")||i?.includes("deflate"),c=typeof e.body=="function"?e.body():e.body;if(c&&!e.headers.has("Content-Length")){let u=fRe(c);u!==null&&e.headers.set("Content-Length",u)}let l;try{if(c&&e.onUploadProgress){let m=e.onUploadProgress,g=new iI(m);g.on("error",y=>{yn.error("Error in upload progress",y)}),qh(c)?c.pipe(g):g.end(c),c=g}let u=await this.makeRequest(e,r,c);n!==void 0&&clearTimeout(n);let d=dRe(u),p={status:u.statusCode??0,headers:d,request:e};if(e.method==="HEAD")return u.resume(),p;l=a?ARe(u,d):u;let f=e.onDownloadProgress;if(f){let m=new iI(f);m.on("error",g=>{yn.error("Error in download progress",g)}),l.pipe(m),l=m}return e.streamResponseStatusCodes?.has(Number.POSITIVE_INFINITY)||e.streamResponseStatusCodes?.has(p.status)?p.readableStreamBody=l:p.bodyAsText=await pRe(l),p}finally{if(e.abortSignal&&s){let u=Promise.resolve();qh(c)&&(u=c6(c));let d=Promise.resolve();qh(l)&&(d=c6(l)),Promise.all([u,d]).then(()=>{s&&e.abortSignal?.removeEventListener("abort",s)}).catch(A=>{yn.warning("Error when cleaning up abortListener on httpRequest",A)})}}}makeRequest(e,r,s){let n=new URL(e.url),i=n.protocol!=="https:";if(i&&!e.allowInsecureConnection)throw new Error(`Cannot connect to ${e.url} while allowInsecureConnection is false.`);let c={agent:e.agent??this.getOrCreateAgent(e,i),hostname:n.hostname,path:`${n.pathname}${n.search}`,port:n.port,method:e.method,headers:e.headers.toJSON({preserveCase:!0}),...e.requestOverrides};return new Promise((l,u)=>{let d=i?sI.default.request(c,l):nI.default.request(c,l);d.once("error",A=>{u(new Gr(A.message,{code:A.code??Gr.REQUEST_SEND_ERROR,request:e}))}),r.signal.addEventListener("abort",()=>{let A=new Gi("The operation was aborted. Rejecting from abort signal callback while making request.");d.destroy(A),u(A)}),s&&qh(s)?s.pipe(d):s?typeof s=="string"||Buffer.isBuffer(s)?d.end(s):u6(s)?d.end(ArrayBuffer.isView(s)?Buffer.from(s.buffer):Buffer.from(s)):(yn.error("Unrecognized body type",s),u(new Gr("Unrecognized body type"))):d.end()})}getOrCreateAgent(e,r){let s=e.disableKeepAlive;if(r)return s?sI.default.globalAgent:(this.cachedHttpAgent||(this.cachedHttpAgent=new sI.default.Agent({keepAlive:!0})),this.cachedHttpAgent);{if(s&&!e.tlsSettings)return nI.default.globalAgent;let n=e.tlsSettings??uRe,i=this.cachedHttpsAgents.get(n);return i&&i.options.keepAlive===!s||(yn.info("No cached TLS Agent exist, creating a new Agent"),i=new nI.default.Agent({keepAlive:!s,...n}),this.cachedHttpsAgents.set(n,i)),i}}};function dRe(t){let e=qs();for(let r of Object.keys(t.headers)){let s=t.headers[r];Array.isArray(s)?s.length>0&&e.set(r,s[0]):s&&e.set(r,s)}return e}o(dRe,"getResponseHeaders");function ARe(t,e){let r=e.get("Content-Encoding");if(r==="gzip"){let s=Yv.default.createGunzip();return t.pipe(s),s}else if(r==="deflate"){let s=Yv.default.createInflate();return t.pipe(s),s}return t}o(ARe,"getDecodedResponseStream");function pRe(t){return new Promise((e,r)=>{let s=[];t.on("data",n=>{Buffer.isBuffer(n)?s.push(n):s.push(Buffer.from(n))}),t.on("end",()=>{e(Buffer.concat(s).toString("utf8"))}),t.on("error",n=>{n&&n?.name==="AbortError"?r(n):r(new Gr(`Error reading response as text: ${n.message}`,{code:Gr.PARSE_ERROR}))})})}o(pRe,"streamToText");function fRe(t){return t?Buffer.isBuffer(t)?t.length:qh(t)?nul Line truncated
`;return e}o(zTe,"encodeHeaders");function JTe(t){return t instanceof Uint8Array?t.byteLength:RI(t)?t.size===-1?void 0:t.size:void 0}o(JTe,"getLength");function YTe(t){let e=0;for(let r of t){let s=JTe(r);if(s===void 0)return;e+=s}return e}o(YTe,"getTotalLength");async function $Te(t,e,r){let s=[is(`--${r}`,"utf-8"),...e.flatMap(i=>[is(`\r
`,"utf-8"),is(zTe(i.headers),"utf-8"),is(`\r
`,"utf-8"),i.body,is(`\r
--${r}`,"utf-8")]),is(`--\r
\r
`,"utf-8")],i=x9e(s);i&&t.headers.set("Content-Length",i),t.body=await Zue(s)}var OI="multipartPolicy",R9e=70,v9e=new Set("abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789'()+,-./:=?");function T9e(t){if(t.length>R9e)throw new Error(`Multipart boundary "${t}" exceeds maximum length of 70 characters`);if(Array.from(t).some(e=>!v9e.has(e)))throw new Error(`Multipart boundary "${t}" contains invalid characters`)}function GN(){return{name:OI,async sendRequest(t,e){if(!t.multipartBody)return e(t);if(t.body)throw new Error("multipartBody and regular body cannot be set at the same time");let r=t.multipartBody.boundary,s=t.headers.get("Content-Type")??"multipart/mixed",i=s.match(/^(multipart\/[^ ;]+)(?:; *boundary=(.+))?$/);if(!i)throw new Error(`Got multipart request body, but content-type header was not multipart: ${s}`);let[,n,o]=i;if(o&&r&&o!==r)throw new Error(`Multipart boundary was specified as ${o} in the header, but got ${r} in the request body`);return r??=o,r?T9e(r):r=w9e(),t.headers.set("Content-Type",`${n}; boundary=${r}`),await N9e(t,t.multipartBody.parts,r),t.multipartBody=void 0,e(t)}}}function HN(){return fN()}var ehe=uN({logLevelEnvVarName:"AZURE_LOG_LEVEL",namespace:"azure"}),TFt=ehe.logger;function Sc(t){return ehe.createClientLogger(t)}var xc=Sc("core-rest-pipeline");function pF(t={}){return EN({logger:xc.info,...t})}var AF=CN;function mF(t={}){return IN(t)}var zN=O(require("node:os"),1),VN=O(require("node:process"),1);function the(){return"User-Agent"}async function rhe(t){if(VN.default&&VN.default.versions){let e=`${zN.default.type()} ${zN.default.release()}; ${zN.default.arch()}`,r=VN.default.versions;r.bun?t.set("Bun",`${r.bun} (${e})`):r.deno?t.set("Deno",`${r.deno} (${e})`):r.node&&t.set("Node",`${r.node} (${e})`)}}var $N="1.22.2";function L9e(t){let e=[];for(let[r,s]of t){let i=s?`${r}/${s}`:r;e.push(i)}return e.join(" ")}function she(){return the()}async function jN(t){let e=new Map;e.set("core-rest-pipeline",$N),await rhe(e);let r=L9e(e);return t?`${t} ${r}`:r}var ihe=she(),nhe="userAgentPolicy";function gF(t={}){let e=jN(t.userAgentPrefix);return{name:nhe,async sendRequest(r,s){return r.headers.has(ihe)||r.headers.set(ihe,await e),s(r)}}}var Jn=class extends Error{constructor(e){super(e),this.name="AbortError"}};function yF(t,e){let{cleanupBeforeAbort:r,abortSignal:s,abortErrorMsg:i}=e??{};return new Promise((n,o)=>{function a(){o(new Jn(i??"The operation was aborted."))}function c(){s?.removeEventListener("abort",l)}function l(){r?.(),c(),a()}if(s?.aborted)return a();try{t(u=>{c(),n(u)},u=>{c(),o(u)})}catch(u){o(u)}s?.addEventListener("abort",l)})}var H9e="The delay was aborted.";function DI(t,e){let r,{abortSignal:s,abortErrorMsg:i}=e??{};return yF(n=>{r=setTimeout(n,t)},{cleanupBeforeAbort:()=>clearTimeout(r),abortSignal:s,abortErrorMsg:i??H9e})}function ed(t){if(Hf(t))return t.message;{let e;try{typeof t=="object"&&t?e=JSON.stringify(t):e=String(t)}catch{e="[unable to stringify input]"}return`Unknown error ${e}`}}function ohe(t){return Hf(t)}function Zm(){return Gf()}var wt=$f;var ahe=Symbol("rawContent");function CF(t){return typeof t[ahe]=="function"}function che(t){return CF(t)?t[ahe]():t}var JN=OI;function IF(){let t=GN();return{name:JN,sendRequest:async(e,r)=>{if(e.multipartBody)for(let s of e.multipartBody.parts)CF(s.body)&&(s.body=che(s.body));return t.sendRequest(e,r)}}}var bF=bN;function wF(){return wN()}function BF(t={}){return xN(t)}function SF(){return NN()}function td(t){return lF(t)}function xF(t,e){return MN(t,e)}var lhe="setClientRequestIdPolicy";function NF(t="x-ms-client-request-id"){return{name:lhe,async sendRequest(e,r){return e.headers.has(t)||e.headers.set(t,e.requestId),r(e)}}}function RF(t){return LN(t)}function vF(t){return UN(t)}var eg={span:Symbol.for("@azure/core-tracing span"),namespace:Symbol.for("@azure/core-tracing namespace")};function uhe(t={}){let e=new TF(t.parentContext);return t.span&&(e=e.setValue(eg.span,t.span)),t.namespace&&(e=e.setValue(eg.namespace,t.namespace)),e}var TF=class t{_contextMap;constructor(e){this._contextMap=e instanceof t?new Map(e._contextMap):new Map}setValue(e,r){let s=new t(this);return s._contextMap.set(e,r),s}getValue(e){return this._contextMap.get(e)}deleteValue(e){let r=new t(this);return r._contextMap.delete(e),r}};var dhe=O(hhe(),1),WN=dhe.state;function z9e(){return{end:()=>{},isRecording:()=>!1,recordException:()=>{},setAttribute:()=>{},setStatus:()=>{},addEvent:()=>{}}}function V9e(){return{createRequestHeaders:()=>({}),parseTraceparentHeader:()=>{},startSpan:(t,e)=>({span:z9e(),tracingContext:uhe({parentContext:e.tracingContext})}),withContext(t,e,...r){return e(...r)}}}function kI(){return WN.instrumenterImplementation||(WN.instrumenterImplementation=V9e()),WN.instrumenterImplementation}function MI(t){let{namespace:e,packageName:r,packageVersion:s}=t;function i(l,u,h){let d=kI().startSpan(l,{...h,packageName:r,packageVersion:s,tracingContext:u?.tracingOptions?.tracingContext}),f=d.tracingConte Line truncated
`&&t[n]!=="\r";n++)c+=t[n];if(c=c.trim(),c[c.length-1]==="/"&&(c=c.substring(0,c.length-1),n--),!fKe(c)){let h;return c.trim().length===0?h="Invalid space after '<'.":h="Tag '"+c+"' is an invalid name.",Pr("InvalidTag",h,Ni(t,n))}let l=cKe(t,n);if(l===!1)return Pr("InvalidAttr","Attributes for '"+c+"' have open quote.",Ni(t,n));let u=l.value;if(n=l.index,u[u.length-1]==="/"){let h=n-u.length;u=u.substring(0,u.length-1);let d=jhe(u,e);if(d===!0)s=!0;else return Pr(d.err.code,d.err.msg,Ni(t,h+d.err.line))}else if(a)if(l.tagClosed){if(u.trim().length>0)return Pr("InvalidTag","Closing tag '"+c+"' can't have attributes or invalid starting.",Ni(t,o));if(r.length===0)return Pr("InvalidTag","Closing tag '"+c+"' has not been opened.",Ni(t,o));{let h=r.pop();if(c!==h.tagName){let d=Ni(t,h.tagStartPos);return Pr("InvalidTag","Expected closing tag '"+h.tagName+"' (opened in line "+d.line+", col "+d.col+") instead of closing tag '"+c+"'.",Ni(t,o))}r.length==0&&(i=!0)}}else return Pr("InvalidTag","Closing tag '"+c+"' doesn't have proper closing.",Ni(t,n));else{let h=jhe(u,e);if(h!==!0)return Pr(h.err.code,h.err.msg,Ni(t,n-u.length+h.err.line));if(i===!0)return Pr("InvalidXml","Multiple possible root nodes found.",Ni(t,n));e.unpairedTags.indexOf(c)!==-1||r.push({tagName:c,tagStartPos:o}),s=!0}for(n++;n<t.length;n++)if(t[n]==="<")if(t[n+1]==="!"){n++,n=$he(t,n);continue}else if(t[n+1]==="?"){if(n=Vhe(t,++n),n.err)return n}else break;else if(t[n]==="&"){let h=hKe(t,n);if(h==-1)return Pr("InvalidChar","char '&' is not expected.",Ni(t,n));n=h}else if(i===!0&&!zhe(t[n]))return Pr("InvalidXml","Extra text at the end",Ni(t,n));t[n]==="<"&&n--}}else{if(zhe(t[n]))continue;return Pr("InvalidChar","char '"+t[n]+"' is not expected.",Ni(t,n))}if(s){if(r.length==1)return Pr("InvalidTag","Unclosed tag '"+r[0].tagName+"'.",Ni(t,r[0].tagStartPos));if(r.length>0)return Pr("InvalidXml","Invalid '"+JSON.stringify(r.map(n=>n.tagName),null,4).replace(/\r?\n/g,"")+"' found.",{line:1,col:1})}else return Pr("InvalidXml","Start tag expected.",1);return!0}function zhe(t){return t===" "||t===" "||t===`
`||t==="\r"}function Vhe(t,e){let r=e;for(;e<t.length;e++)if(t[e]=="?"||t[e]==" "){let s=t.substr(r,e-r);if(e>5&&s==="xml")return Pr("InvalidXml","XML declaration allowed only at the start of the document.",Ni(t,e));if(t[e]=="?"&&t[e+1]==">"){e++;break}else continue}return e}function $he(t,e){if(t.length>e+5&&t[e+1]==="-"&&t[e+2]==="-"){for(e+=3;e<t.length;e++)if(t[e]==="-"&&t[e+1]==="-"&&t[e+2]===">"){e+=2;break}}else if(t.length>e+8&&t[e+1]==="D"&&t[e+2]==="O"&&t[e+3]==="C"&&t[e+4]==="T"&&t[e+5]==="Y"&&t[e+6]==="P"&&t[e+7]==="E"){let r=1;for(e+=8;e<t.length;e++)if(t[e]==="<")r++;else if(t[e]===">"&&(r--,r===0))break}else if(t.length>e+9&&t[e+1]==="["&&t[e+2]==="C"&&t[e+3]==="D"&&t[e+4]==="A"&&t[e+5]==="T"&&t[e+6]==="A"&&t[e+7]==="["){for(e+=8;e<t.length;e++)if(t[e]==="]"&&t[e+1]==="]"&&t[e+2]===">"){e+=2;break}}return e}var oKe='"',aKe="'";function cKe(t,e){let r="",s="",i=!1;for(;e<t.length;e++){if(t[e]===oKe||t[e]===aKe)s===""?s=t[e]:s!==t[e]||(s="");else if(t[e]===">"&&s===""){i=!0;break}r+=t[e]}return s!==""?!1:{value:r,index:e,tagClosed:i}}var lKe=new RegExp(`(\\s*)([^\\s=]+)(\\s*=)?(\\s*(['"])(([\\s\\S])*?)\\5)?`,"g");function jhe(t,e){let r=nR(t,lKe),s={};for(let i=0;i<r.length;i++){if(r[i][1].length===0)return Pr("InvalidAttr","Attribute '"+r[i][2]+"' has no space in starting.",jI(r[i]));if(r[i][3]!==void 0&&r[i][4]===void 0)return Pr("InvalidAttr","Attribute '"+r[i][2]+"' is without value.",jI(r[i]));if(r[i][3]===void 0&&!e.allowBooleanAttributes)return Pr("InvalidAttr","boolean attribute '"+r[i][2]+"' is not allowed.",jI(r[i]));let n=r[i][2];if(!dKe(n))return Pr("InvalidAttr","Attribute '"+n+"' is an invalid name.",jI(r[i]));if(!Object.prototype.hasOwnProperty.call(s,n))s[n]=1;else return Pr("InvalidAttr","Attribute '"+n+"' is repeated.",jI(r[i]))}return!0}function uKe(t,e){let r=/\d/;for(t[e]==="x"&&(e++,r=/[\da-fA-F]/);e<t.length;e++){if(t[e]===";")return e;if(!t[e].match(r))break}return-1}function hKe(t,e){if(e++,t[e]===";")return-1;if(t[e]==="#")return e++,uKe(t,e);let r=0;for(;e<t.length;e++,r++)if(!(t[e].match(/\w/)&&r<20)){if(t[e]===";")break;return-1}return e}function Pr(t,e,r){return{err:{code:t,msg:e,line:r.line||r,col:r.col}}}function dKe(t){return JF(t)}function fKe(t){return JF(t)}function Ni(t,e){let r=t.substring(0,e).split(/\r?\n/);return{line:r.length,col:r[r.length-1].length+1}}function jI(t){return t.startIndex+t[1].length}var Jhe={amp:"&",AMP:"&",lt:"<",LT:"<",gt:">",GT:">",quot:'"',QUOT:'"',apos:"'",lsquo:"\u2018",rsquo:"\u2019",ldquo:"\u201C",rdquo:"\u201D",lsquor:"\u201A",rsquor:"\u2019",ldquor:"\u201E",bdquo:"\u201E",comma:",",period:".",colon:":",semi:";",excl:"!",quest:"?",num:"#",dollar:"$",percent:"%",amp:"&",ast:"*",commat:"@",lowbar:"_",verbar:"|",vert:"|",sol:"/",bsol:"\\",lbrace:"{",rbrace:"}",lbrack:"[",rbrack:"]",lpar:"(",rpar:")",nbsp:"\xA0",iexcl:"\xA1",cent:"\xA2",pound:"\xA3",curren:"\xA4",yen:"\xA5",brvbar:"\xA6",sect:"\xA7",uml:"\xA8",copy:"\xA9",COPY:"\xA9",ordf:"\xAA",laquo:"\xAB",not:"\xAC",shy:"\xAD",reg:"\xAE",REG:"\xAE",macr:"\xAF",deg:"\xB0",plusmn:"\xB1",sup2:"\xB2",sup3:"\xB3",acute:"\xB4",micro:"\xB5",para:"\xB6",middot:"\xB7",cedil:"\xB8",sup1:"\xB9",ordm:"\xBA",raquo:"\xBB",frac14:"\xBC",frac12:"\xBD",half:"\xBD",frac34:"\xBE",iquest:"\xBF",times:"\xD7",div:"\xF7",divide:"\xF7"},Yhe={Agrave:"\xC0",agrave:"\xE0",Aacute:"\xC1",aacute:"\xE1",Acirc:"\xC2",acirc:"\xE2",Atilde:"\xC3",atilde:"\xE3",Auml:"\xC4",auml:"\xE4",Aring:"\xC5",aring:"\xE5",AElig:"\xC6",aelig:"\xE6",Ccedil:"\xC7",ccedil:"\xE7",Egrave:"\xC8",egrave:"\xE8",Eacute:"\xC9",eacute:"\xE9",Ecirc:"\xCA",ecirc:"\xEA",Euml:"\xCB",euml:"\xEB",Igrave:"\xCC",igrave:"\xEC",Iacute:"\xCD",iacute:"\xED",Icirc:"\xCE",icirc:"\xEE",Iuml:"\xCF",iuml:"\xEF",ETH:"\xD0",eth:"\xF0",Ntilde:"\xD1",ntilde:"\xF1",Ograve:"\xD2",ograve:"\xF2",Oacute:"\xD3",oacute:"\xF3",Ocirc:"\xD4",ocirc:"\xF4",Otilde:"\xD5",otilde:"\xF5",Ouml:"\xD6",ouml:"\xF6",Oslash:"\xD8",oslash:"\xF8",Ugrave:"\xD9",ugrave:"\xF9",Uacute:"\xDA",uacute:"\xFA",Ucirc:"\xDB",ucirc:"\xFB",Uuml:"\xDC",uuml:"\xFC",Yacute:"\xDD",yacute:"\xFD",THORN:"\xDE",thorn:"\xFE",szlig:"\xDF",yuml:"\xFF",Yuml:"\u0178"},Whe={Amacr:"\u0100",amacr:"\u0101",Abreve:"\u0102",abreve:"\u0103",Aogon:"\u0104",aogon:"\u0105",Cacute:"\u0106",cacute:"\u0107",Ccirc:"\u0108",ccirc:"\u0109",Cdot:"\u010A",cdot:"\u010B",Ccaron:"\u010C",ccaron:"\u010D",Dcaron:"\u010E",dcaron:"\u010F",Dstrok:"\u0110",dstrok:"\u0111",Emacr:"\u0112",emacr:"\u0113",Ecaron:"\u011A",ecaron:"\u011B",Edot:"\u0116",edot:"\u0117",Eogon:"\u0118",eogon:"\u0119",Gcirc:"\u011C",gcirc:"\u011D",Gbreve:"\u011E",gbreve:"\u011F",Gdot:"\u0120",gdot:"\u0121",Gcedil:"\u0122",Hcirc:"\u0124",hcirc:"\u0125",Hstrok:"\u0126",hstrok:"\u0127",Itilde:"\u0128",itilde:"\u0129",Imacr:"\u012A",imacr:"\u012B",Iogon:"\u012E",iogon:"\u012F",Idot:"\u0130",IJlig:"\u0132",ijlig:"\u0133",Jcirc:"\u0134",jcirc:"\u0135",Kcedil:"\u0136",kcedil:"\u0137",kgreen:"\u0138",Lacute:"\u0139",lacute:"\u013A",Lcedil:"\u013B",lcedil:"\u013C",LcaroLine truncated
`);let e=new cn("!xml"),r=e,s="";this.matcher.reset(),this.entityDecoder.reset(),this.entityExpansionCount=0,this.currentExpandedLength=0;let i=this.options,n=new WI(i.processEntities),o=t.length;for(let a=0;a<o;a++)if(t[a]==="<"){let l=t.charCodeAt(a+1);if(l===47){let u=ng(t,">",a,"Closing Tag is not closed."),h=t.substring(a+2,u).trim();if(i.removeNSPrefix){let f=h.indexOf(":");f!==-1&&(h=h.substr(f+1))}h=rq(i.transformTagName,h,"",i).tagName,r&&(s=this.saveTextToParentTag(s,r,this.readonlyMatcher));let d=this.matcher.getCurrentTag();if(h&&i.unpairedTagsSet.has(h))throw new Error(`Unpaired tag can not be used as closing tag: </${h}>`);d&&i.unpairedTagsSet.has(d)&&(this.matcher.pop(),this.tagsNodeStack.pop()),this.matcher.pop(),this.isCurrentNodeStopNode=!1,r=this.tagsNodeStack.pop(),s="",a=u}else if(l===63){let u=sq(t,a,!1,"?>");if(!u)throw new Error("Pi Tag is not closed.");s=this.saveTextToParentTag(s,r,this.readonlyMatcher);let h=this.buildAttributesMap(u.tagExp,this.matcher,u.tagName,!0);if(h){let d=h[this.options.attributeNamePrefix+"version"];this.entityDecoder.setXmlVersion(Number(d)||1),n.setXmlVersion(Number(d)||1)}if(!(i.ignoreDeclaration&&u.tagName==="?xml"||i.ignorePiTags)){let d=new cn(u.tagName);d.add(i.textNodeName,""),u.tagName!==u.tagExp&&u.attrExpPresent&&i.ignoreAttributes!==!0&&(d[":@"]=h),this.addChild(r,d,this.readonlyMatcher,a)}a=u.closeIndex+1}else if(l===33&&t.charCodeAt(a+2)===45&&t.charCodeAt(a+3)===45){let u=ng(t,"-->",a+4,"Comment is not closed.");if(i.commentPropName){let h=t.substring(a+4,u-2);s=this.saveTextToParentTag(s,r,this.readonlyMatcher),r.add(i.commentPropName,[{[i.textNodeName]:h}])}a=u}else if(l===33&&t.charCodeAt(a+2)===68){let u=n.readDocType(t,a);this.entityDecoder.addInputEntities(u.entities),a=u.i}else if(l===33&&t.charCodeAt(a+2)===91){let u=ng(t,"]]>",a,"CDATA is not closed.")-2,h=t.substring(a+9,u);s=this.saveTextToParentTag(s,r,this.readonlyMatcher);let d=this.parseTextData(h,r.tagname,this.readonlyMatcher,!0,!1,!0,!0);d==null&&(d=""),i.cdataPropName?r.add(i.cdataPropName,[{[i.textNodeName]:h}]):r.add(i.textNodeName,d),a=u+2}else{let u=sq(t,a,i.removeNSPrefix);if(!u){let P=t.substring(Math.max(0,a-50),Math.min(o,a+50));throw new Error(`readTagExp returned undefined at position ${a}. Context: "${P}"`)}let h=u.tagName,d=u.rawTagName,f=u.tagExp,p=u.attrExpPresent,m=u.closeIndex;if({tagName:h,tagExp:f}=rq(i.transformTagName,h,f,i),i.strictReservedNames&&(h===i.commentPropName||h===i.cdataPropName||h===i.textNodeName||h===i.attributesGroupName))throw new Error(`Invalid tag name: ${h}`);r&&s&&r.tagname!=="!xml"&&(s=this.saveTextToParentTag(s,r,this.readonlyMatcher,!1));let E=r;E&&i.unpairedTagsSet.has(E.tagname)&&(r=this.tagsNodeStack.pop(),this.matcher.pop());let y=!1;f.length>0&&f.lastIndexOf("/")===f.length-1&&(y=!0,h[h.length-1]==="/"?(h=h.substr(0,h.length-1),f=h):f=f.substr(0,f.length-1),p=h!==f);let C=null,w={},S;S=kKe(d),h!==e.tagname&&this.matcher.push(h,{},S),h!==f&&p&&(C=this.buildAttributesMap(f,this.matcher,h),C&&(w=DKe(C,i))),h!==e.tagname&&(this.isCurrentNodeStopNode=this.isItStopNode());let N=a;if(this.isCurrentNodeStopNode){let P="";if(y)a=u.closeIndex;else if(i.unpairedTagsSet.has(h))a=u.closeIndex;else{let k=this.readStopNodeData(t,d,m+1);if(!k)throw new Error(`Unexpected end of ${d}`);a=k.i,P=k.tagContent}let Q=new cn(h);C&&(Q[":@"]=C),Q.add(i.textNodeName,P),this.matcher.pop(),this.isCurrentNodeStopNode=!1,this.addChild(r,Q,this.readonlyMatcher,N)}else{if(y){({tagName:h,tagExp:f}=rq(i.transformTagName,h,f,i));let P=new cn(h);C&&(P[":@"]=C),this.addChild(r,P,this.readonlyMatcher,N),this.matcher.pop(),this.isCurrentNodeStopNode=!1}else if(i.unpairedTagsSet.has(h)){let P=new cn(h);C&&(P[":@"]=C),this.addChild(r,P,this.readonlyMatcher,N),this.matcher.pop(),this.isCurrentNodeStopNode=!1,a=u.closeIndex;continue}else{let P=new cn(h);if(this.tagsNodeStack.length>i.maxNestedTags)throw new Error("Maximum nested tags exceeded");this.tagsNodeStack.push(r),C&&(P[":@"]=C),this.addChild(r,P,this.readonlyMatcher,N),r=P}s="",a=m}}}else s+=t[a];return e.child};function GKe(t,e,r,s){this.options.captureMetaData||(s=void 0);let i=this.options.jPath?r.toString():r,n=this.options.updateTag(e.tagname,i,e[":@"]);n===!1||(typeof n=="string"&&(e.tagname=n),t.addChild(e,s))}function HKe(t,e,r){let s=this.options.processEntities;if(!s||!s.enabled)return t;if(s.allowedTags){let i=this.options.jPath?r.toString():r;if(!(Array.isArray(s.allowedTags)?s.allowedTags.includes(e):s.allowedTags(e,i)))return t}if(s.tagFilter){let i=this.options.jPath?r.toString():r;if(!s.tagFilter(e,i))return t}return this.entityDecoder.decode(t)}function zKe(t,e,r,s){return t&&(s===void 0&&(s=e.child.length===0),t=this.parseTextData(t,e.tagname,r,!1,e[":@"]?Object.keys(e[":@"]).length!==0:!1,s),t!==void 0&&t!==""&&e.add(this.options.textNodeName,t),t=""),t}function VKe(){return this.stopNodeExpressionsSet.size===0?!1:this.matcher.matchesAny(this.stopNodeExpressionsSet)}function $Ke(t,e,r=">"){Line truncated
`;function eXe(t,e){if(!Array.isArray(t)||t.length===0)return"1.0";let r=t[0];if(lq(r)==="?xml"){let i=r[":@"];if(i){let n=e.attributeNamePrefix+"version";if(i[n])return i[n]}}return"1.0"}function mde(t,e,r,s,i){return!r.sanitizeName||Xf(t,{xmlVersion:i})?t:r.sanitizeName(t,{isAttribute:e,matcher:s.readOnly()})}function cq(t,e){let r="";e.format&&(r=ZKe);let s=[];if(e.stopNodes&&Array.isArray(e.stopNodes))for(let o=0;o<e.stopNodes.length;o++){let a=e.stopNodes[o];typeof a=="string"?s.push(new Kn(a)):a instanceof Kn&&s.push(a)}let i=eXe(t,e),n=new vc;return gde(t,e,r,n,s,i)}function gde(t,e,r,s,i,n){let o="",a=!1;if(e.maxNestedTags&&s.getDepth()>e.maxNestedTags)throw new Error("Maximum nested tags exceeded");if(!Array.isArray(t)){if(t!=null){let c=t.toString();return c=aq(c,e),c}return""}for(let c=0;c<t.length;c++){let l=t[c],u=lq(l);if(u===void 0)continue;let d=u===e.textNodeName||u===e.cdataPropName||u===e.commentPropName||u[0]==="?"?u:mde(u,!1,e,s,n),f=tXe(l[":@"],e);s.push(d,f);let p=sXe(s,i);if(d===e.textNodeName){let w=l[u];p||(w=e.tagValueProcessor(d,w),w=aq(w,e)),a&&(o+=r),o+=w,a=!1,s.pop();continue}else if(d===e.cdataPropName){a&&(o+=r);let w=l[u][0][e.textNodeName],S=dR(w);o+=`<![CDATA[${S}]]>`,a=!1,s.pop();continue}else if(d===e.commentPropName){let w=l[u][0][e.textNodeName],S=hR(w);o+=r+`<!--${S}-->`,a=!0,s.pop();continue}else if(d[0]==="?"){let w=Ade(l[":@"],e,p,s,n);o+=(d==="?xml"?"":r)+`<${d}${w}?>`,a=!0,s.pop();continue}let m=r;m!==""&&(m+=e.indentBy);let E=Ade(l[":@"],e,p,s,n),y=r+`<${d}${E}`,C;p?C=yde(l[u],e):C=gde(l[u],e,m,s,i,n),e.unpairedTags.indexOf(d)!==-1?e.suppressUnpairedNode?o+=y+">":o+=y+"/>":(!C||C.length===0)&&e.suppressEmptyNode?o+=y+"/>":C&&C.endsWith(">")?o+=y+`>${C}${r}</${d}>`:(o+=y+">",C&&r!==""&&(C.includes("/>")||C.includes("</"))?o+=r+e.indentBy+C+r:o+=C,o+=`</${d}>`),a=!0,s.pop()}return o}function tXe(t,e){if(!t||e.ignoreAttributes)return null;let r={},s=!1;for(let i in t){if(!Object.prototype.hasOwnProperty.call(t,i))continue;let n=i.startsWith(e.attributeNamePrefix)?i.substr(e.attributeNamePrefix.length):i;r[n]=id(t[i]),s=!0}return s?r:null}function yde(t,e){if(!Array.isArray(t))return t!=null?t.toString():"";let r="";for(let s=0;s<t.length;s++){let i=t[s],n=lq(i);if(n===e.textNodeName)r+=i[n];else if(n===e.cdataPropName)r+=i[n][0][e.textNodeName];else if(n===e.commentPropName)r+=i[n][0][e.textNodeName];else{if(n&&n[0]==="?")continue;if(n){let o=rXe(i[":@"],e),a=yde(i[n],e);!a||a.length===0?r+=`<${n}${o}/>`:r+=`<${n}${o}>${a}</${n}>`}}}return r}function rXe(t,e){let r="";if(t&&!e.ignoreAttributes)for(let s in t){if(!Object.prototype.hasOwnProperty.call(t,s))continue;let i=t[s];i===!0&&e.suppressBooleanAttributes?r+=` ${s.substr(e.attributeNamePrefix.length)}`:r+=` ${s.substr(e.attributeNamePrefix.length)}="${id(i)}"`}return r}function lq(t){let e=Object.keys(t);for(let r=0;r<e.length;r++){let s=e[r];if(Object.prototype.hasOwnProperty.call(t,s)&&s!==":@")return s}}function Ade(t,e,r,s,i){let n="";if(t&&!e.ignoreAttributes)for(let o in t){if(!Object.prototype.hasOwnProperty.call(t,o))continue;let a=o.substr(e.attributeNamePrefix.length),c=r?a:mde(a,!0,e,s,i),l;r?l=t[o]:(l=e.attributeValueProcessor(o,t[o]),l=aq(l,e)),l===!0&&e.suppressBooleanAttributes?n+=` ${c}`:n+=` ${c}="${id(l)}"`}return n}function sXe(t,e){if(!e||e.length===0)return!1;for(let r=0;r<e.length;r++)if(t.matches(e[r]))return!0;return!1}function aq(t,e){if(t&&t.length>0&&e.processEntities)for(let r=0;r<e.entities.length;r++){let s=e.entities[r];t=t.replace(s.regex,s.val)}return t}function uq(t){return typeof t=="function"?t:Array.isArray(t)?e=>{for(let r of t)if(typeof r=="string"&&e===r||r instanceof RegExp&&r.test(e))return!0}:()=>!1}var iXe={attributeNamePrefix:"@_",attributesGroupName:!1,textNodeName:"#text",ignoreAttributes:!0,cdataPropName:!1,format:!1,indentBy:" ",suppressEmptyNode:!1,suppressUnpairedNode:!0,suppressBooleanAttributes:!0,tagValueProcessor:function(t,e){return e},attributeValueProcessor:function(t,e){return e},preserveOrder:!1,commentPropName:!1,unpairedTags:[],entities:[{regex:new RegExp("&","g"),val:"&amp;"},{regex:new RegExp(">","g"),val:"&gt;"},{regex:new RegExp("<","g"),val:"&lt;"},{regex:new RegExp("'","g"),val:"&apos;"},{regex:new RegExp('"',"g"),val:"&quot;"}],processEntities:!0,stopNodes:[],oneListGroup:!1,maxNestedTags:100,jPath:!0,sanitizeName:!1};function un(t){if(this.options=Object.assign({},iXe,t),this.options.stopNodes&&Array.isArray(this.options.stopNodes)&&(this.options.stopNodes=this.options.stopNodes.map(e=>typeof e=="string"&&e.startsWith("*.")?".."+e.substring(2):e)),this.stopNodeExpressions=[],this.options.stopNodes&&Array.isArray(this.options.stopNodes))for(let e=0;e<this.options.stopNodes.length;e++){let r=this.options.stopNodes[e];typeof r=="string"?this.stopNodeExpressions.push(new Kn(r)):r instanceof Kn&&this.stopNodeExpressions.push(r)}this.options.ignoreAttributes===!0||this.options.attributesGroupName?this.isAttribute=function(){return!1}:(this.ignorLine truncated
`,"utf-8")],n=YTe(s);n&&t.headers.set("Content-Length",n),t.body=await f9(s)}o($Te,"buildRequestBody");var Vh="multipartPolicy",WTe=70,jTe=new Set("abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789'()+,-./:=?");function KTe(t){if(t.length>WTe)throw new Error(`Multipart boundary "${t}" exceeds maximum length of 70 characters`);if(Array.from(t).some(e=>!jTe.has(e)))throw new Error(`Multipart boundary "${t}" contains invalid characters`)}o(KTe,"assertValidBoundary");function vI(){return{name:Vh,async sendRequest(t,e){if(!t.multipartBody)return e(t);if(t.body)throw new Error("multipartBody and regular body cannot be set at the same time");let r=t.multipartBody.boundary,s=t.headers.get("Content-Type")??"multipart/mixed",n=s.match(/^(multipart\/[^ ;]+)(?:; *boundary=(.+))?$/);if(!n)throw new Error(`Got multipart request body, but content-type header was not multipart: ${s}`);let[,i,a]=n;if(a&&r&&a!==r)throw new Error(`Multipart boundary was specified as ${a} in the header, but got ${r} in the request body`);return r??=a,r?KTe(r):r=VTe(),t.headers.set("Content-Type",`${i}; boundary=${r}`),await $Te(t,t.multipartBody.parts,r),t.multipartBody=void 0,e(t)}}}o(vI,"multipartPolicy");function PI(){return tI()}o(PI,"createEmptyPipeline");var h9=XC({logLevelEnvVarName:"AZURE_LOG_LEVEL",namespace:"azure"}),aot=h9.logger;function zi(t){return h9.createClientLogger(t)}o(zi,"createClientLogger");var Ji=zi("core-rest-pipeline");function pP(t={}){return aI({logger:Ji.info,...t})}o(pP,"logPolicy");var fP=cI;function hP(t={}){return lI(t)}o(hP,"redirectPolicy");var _I=w(require("node:os"),1),kI=w(require("node:process"),1);function m9(){return"User-Agent"}o(m9,"getHeaderName");async function g9(t){if(kI.default&&kI.default.versions){let e=`${_I.default.type()} ${_I.default.release()}; ${_I.default.arch()}`,r=kI.default.versions;r.bun?t.set("Bun",`${r.bun} (${e})`):r.deno?t.set("Deno",`${r.deno} (${e})`):r.node&&t.set("Node",`${r.node} (${e})`)}}o(g9,"setPlatformSpecificData");var DI="1.22.2";function ive(t){let e=[];for(let[r,s]of t){let n=s?`${r}/${s}`:r;e.push(n)}return e.join(" ")}o(ive,"getUserAgentString");function E9(){return m9()}o(E9,"getUserAgentHeaderName");async function OI(t){let e=new Map;e.set("core-rest-pipeline",DI),await g9(e);let r=ive(e);return t?`${t} ${r}`:r}o(OI,"getUserAgentValue");var y9=E9(),C9="userAgentPolicy";function mP(t={}){let e=OI(t.userAgentPrefix);return{name:C9,async sendRequest(r,s){return r.headers.has(y9)||r.headers.set(y9,await e),s(r)}}}o(mP,"userAgentPolicy");var zs=class extends Error{static{o(this,"AbortError")}constructor(e){super(e),this.name="AbortError"}};function gP(t,e){let{cleanupBeforeAbort:r,abortSignal:s,abortErrorMsg:n}=e??{};return new Promise((i,a)=>{function c(){a(new zs(n??"The operation was aborted."))}o(c,"rejectOnAbort");function l(){s?.removeEventListener("abort",u)}o(l,"removeListeners");function u(){r?.(),l(),c()}if(o(u,"onAbort"),s?.aborted)return c();try{t(d=>{l(),i(d)},d=>{l(),a(d)})}catch(d){a(d)}s?.addEventListener("abort",u)})}o(gP,"createAbortablePromise");var uve="The delay was aborted.";function zh(t,e){let r,{abortSignal:s,abortErrorMsg:n}=e??{};return gP(i=>{r=setTimeout(i,t)},{cleanupBeforeAbort:o(()=>clearTimeout(r),"cleanupBeforeAbort"),abortSignal:s,abortErrorMsg:n??uve})}o(zh,"delay");function gc(t){if(Ll(t))return t.message;{let e;try{typeof t=="object"&&t?e=JSON.stringify(t):e=String(t)}catch{e="[unable to stringify input]"}return`Unknown error ${e}`}}o(gc,"getErrorMessage");function I9(t){return Ll(t)}o(I9,"isError");function dA(){return Ml()}o(dA,"randomUUID");var _e=ql;var B9=Symbol("rawContent");function yP(t){return typeof t[B9]=="function"}o(yP,"hasRawContent");function b9(t){return yP(t)?t[B9]():t}o(b9,"getRawContent");var MI=Vh;function CP(){let t=vI();return{name:MI,sendRequest:o(async(e,r)=>{if(e.multipartBody)for(let s of e.multipartBody.parts)yP(s.body)&&(s.body=b9(s.body));return t.sendRequest(e,r)},"sendRequest")}}o(CP,"multipartPolicy");var IP=uI;function BP(){return dI()}o(BP,"decompressResponsePolicy");function bP(t={}){return fI(t)}o(bP,"defaultRetryPolicy");function wP(){return hI()}o(wP,"formDataPolicy");function Ec(t){return cP(t)}o(Ec,"getDefaultProxySettings");function SP(t,e){return NI(t,e)}o(SP,"proxyPolicy");var w9="setClientRequestIdPolicy";function NP(t="x-ms-client-request-id"){return{name:w9,async sendRequest(e,r){return e.headers.has(t)||e.headers.set(t,e.requestId),r(e)}}}o(NP,"setClientRequestIdPolicy");function xP(t){return xI(t)}o(xP,"agentPolicy");function QP(t){return QI(t)}o(QP,"tlsPolicy");var AA={span:Symbol.for("@azure/core-tracing span"),namespace:Symbol.for("@azure/core-tracing namespace")};function S9(t={}){let e=new RP(t.parentContext);return t.span&&(e=e.setValue(AA.span,t.span)),t.namespace&&(e=e.setValue(AA.namespace,t.namespace)),e}o(S9,"createTracingContext");var RP=class t{static{o(this,"TracingContextImpl")}_contextMap;constructor(e){this._contextMap=e instanceof t?new Map(e._context Line truncated
`&&t[i]!=="\r";i++)l+=t[i];if(l=l.trim(),l[l.length-1]==="/"&&(l=l.substring(0,l.length-1),i--),!kPe(l)){let A;return l.trim().length===0?A="Invalid space after '<'.":A="Tag '"+l+"' is an invalid name.",Pt("InvalidTag",A,Hr(t,i))}let u=RPe(t,i);if(u===!1)return Pt("InvalidAttr","Attributes for '"+l+"' have open quote.",Hr(t,i));let d=u.value;if(i=u.index,d[d.length-1]==="/"){let A=i-d.length;d=d.substring(0,d.length-1);let p=cK(d,e);if(p===!0)s=!0;else return Pt(p.err.code,p.err.msg,Hr(t,A+p.err.line))}else if(c)if(u.tagClosed){if(d.trim().length>0)return Pt("InvalidTag","Closing tag '"+l+"' can't have attributes or invalid starting.",Hr(t,a));if(r.length===0)return Pt("InvalidTag","Closing tag '"+l+"' has not been opened.",Hr(t,a));{let A=r.pop();if(l!==A.tagName){let p=Hr(t,A.tagStartPos);return Pt("InvalidTag","Expected closing tag '"+A.tagName+"' (opened in line "+p.line+", col "+p.col+") instead of closing tag '"+l+"'.",Hr(t,a))}r.length==0&&(n=!0)}}else return Pt("InvalidTag","Closing tag '"+l+"' doesn't have proper closing.",Hr(t,i));else{let A=cK(d,e);if(A!==!0)return Pt(A.err.code,A.err.msg,Hr(t,i-d.length+A.err.line));if(n===!0)return Pt("InvalidXml","Multiple possible root nodes found.",Hr(t,i));e.unpairedTags.indexOf(l)!==-1||r.push({tagName:l,tagStartPos:a}),s=!0}for(i++;i<t.length;i++)if(t[i]==="<")if(t[i+1]==="!"){i++,i=aK(t,i);continue}else if(t[i+1]==="?"){if(i=oK(t,++i),i.err)return i}else break;else if(t[i]==="&"){let A=PPe(t,i);if(A==-1)return Pt("InvalidChar","char '&' is not expected.",Hr(t,i));i=A}else if(n===!0&&!iK(t[i]))return Pt("InvalidXml","Extra text at the end",Hr(t,i));t[i]==="<"&&i--}}else{if(iK(t[i]))continue;return Pt("InvalidChar","char '"+t[i]+"' is not expected.",Hr(t,i))}if(s){if(r.length==1)return Pt("InvalidTag","Unclosed tag '"+r[0].tagName+"'.",Hr(t,r[0].tagStartPos));if(r.length>0)return Pt("InvalidXml","Invalid '"+JSON.stringify(r.map(i=>i.tagName),null,4).replace(/\r?\n/g,"")+"' found.",{line:1,col:1})}else return Pt("InvalidXml","Start tag expected.",1);return!0}o(jI,"validate");function iK(t){return t===" "||t===" "||t===`
`||t==="\r"}o(iK,"isWhiteSpace");function oK(t,e){let r=e;for(;e<t.length;e++)if(t[e]=="?"||t[e]==" "){let s=t.substr(r,e-r);if(e>5&&s==="xml")return Pt("InvalidXml","XML declaration allowed only at the start of the document.",Hr(t,e));if(t[e]=="?"&&t[e+1]==">"){e++;break}else continue}return e}o(oK,"readPI");function aK(t,e){if(t.length>e+5&&t[e+1]==="-"&&t[e+2]==="-"){for(e+=3;e<t.length;e++)if(t[e]==="-"&&t[e+1]==="-"&&t[e+2]===">"){e+=2;break}}else if(t.length>e+8&&t[e+1]==="D"&&t[e+2]==="O"&&t[e+3]==="C"&&t[e+4]==="T"&&t[e+5]==="Y"&&t[e+6]==="P"&&t[e+7]==="E"){let r=1;for(e+=8;e<t.length;e++)if(t[e]==="<")r++;else if(t[e]===">"&&(r--,r===0))break}else if(t.length>e+9&&t[e+1]==="["&&t[e+2]==="C"&&t[e+3]==="D"&&t[e+4]==="A"&&t[e+5]==="T"&&t[e+6]==="A"&&t[e+7]==="["){for(e+=8;e<t.length;e++)if(t[e]==="]"&&t[e+1]==="]"&&t[e+2]===">"){e+=2;break}}return e}o(aK,"readCommentAndCDATA");var xPe='"',QPe="'";function RPe(t,e){let r="",s="",n=!1;for(;e<t.length;e++){if(t[e]===xPe||t[e]===QPe)s===""?s=t[e]:s!==t[e]||(s="");else if(t[e]===">"&&s===""){n=!0;break}r+=t[e]}return s!==""?!1:{value:r,index:e,tagClosed:n}}o(RPe,"readAttributeStr");var TPe=new RegExp(`(\\s*)([^\\s=]+)(\\s*=)?(\\s*(['"])(([\\s\\S])*?)\\5)?`,"g");function cK(t,e){let r=$I(t,TPe),s={};for(let n=0;n<r.length;n++){if(r[n][1].length===0)return Pt("InvalidAttr","Attribute '"+r[n][2]+"' has no space in starting.",sm(r[n]));if(r[n][3]!==void 0&&r[n][4]===void 0)return Pt("InvalidAttr","Attribute '"+r[n][2]+"' is without value.",sm(r[n]));if(r[n][3]===void 0&&!e.allowBooleanAttributes)return Pt("InvalidAttr","boolean attribute '"+r[n][2]+"' is not allowed.",sm(r[n]));let i=r[n][2];if(!_Pe(i))return Pt("InvalidAttr","Attribute '"+i+"' is an invalid name.",sm(r[n]));if(!Object.prototype.hasOwnProperty.call(s,i))s[i]=1;else return Pt("InvalidAttr","Attribute '"+i+"' is repeated.",sm(r[n]))}return!0}o(cK,"validateAttributeString");function vPe(t,e){let r=/\d/;for(t[e]==="x"&&(e++,r=/[\da-fA-F]/);e<t.length;e++){if(t[e]===";")return e;if(!t[e].match(r))break}return-1}o(vPe,"validateNumberAmpersand");function PPe(t,e){if(e++,t[e]===";")return-1;if(t[e]==="#")return e++,vPe(t,e);let r=0;for(;e<t.length;e++,r++)if(!(t[e].match(/\w/)&&r<20)){if(t[e]===";")break;return-1}return e}o(PPe,"validateAmpersand");function Pt(t,e,r){return{err:{code:t,msg:e,line:r.line||r,col:r.col}}}o(Pt,"getErrorObject");function _Pe(t){return YP(t)}o(_Pe,"validateAttrName");function kPe(t){return YP(t)}o(kPe,"validateTagName");function Hr(t,e){let r=t.substring(0,e).split(/\r?\n/);return{line:r.length,col:r[r.length-1].length+1}}o(Hr,"getLineNumberForPosition");function sm(t){return t.startIndex+t[1].length}o(sm,"getPositionFromMatch");var lK={amp:"&",AMP:"&",lt:"<",LT:"<",gt:">",GT:">",quot:'"',QUOT:'"',apos:"'",lsquo:"\u2018",rsquo:"\u2019",ldquo:"\u201C",rdquo:"\u201D",lsquor:"\u201A",rsquor:"\u2019",ldquor:"\u201E",bdquo:"\u201E",comma:",",period:".",colon:":",semi:";",excl:"!",quest:"?",num:"#",dollar:"$",percent:"%",amp:"&",ast:"*",commat:"@",lowbar:"_",verbar:"|",vert:"|",sol:"/",bsol:"\\",lbrace:"{",rbrace:"}",lbrack:"[",rbrack:"]",lpar:"(",rpar:")",nbsp:"\xA0",iexcl:"\xA1",cent:"\xA2",pound:"\xA3",curren:"\xA4",yen:"\xA5",brvbar:"\xA6",sect:"\xA7",uml:"\xA8",copy:"\xA9",COPY:"\xA9",ordf:"\xAA",laquo:"\xAB",not:"\xAC",shy:"\xAD",reg:"\xAE",REG:"\xAE",macr:"\xAF",deg:"\xB0",plusmn:"\xB1",sup2:"\xB2",sup3:"\xB3",acute:"\xB4",micro:"\xB5",para:"\xB6",middot:"\xB7",cedil:"\xB8",sup1:"\xB9",ordm:"\xBA",raquo:"\xBB",frac14:"\xBC",frac12:"\xBD",half:"\xBD",frac34:"\xBE",iquest:"\xBF",times:"\xD7",div:"\xF7",divide:"\xF7"},uK={Agrave:"\xC0",agrave:"\xE0",Aacute:"\xC1",aacute:"\xE1",Acirc:"\xC2",acirc:"\xE2",Atilde:"\xC3",atilde:"\xE3",Auml:"\xC4",auml:"\xE4",Aring:"\xC5",aring:"\xE5",AElig:"\xC6",aelig:"\xE6",Ccedil:"\xC7",ccedil:"\xE7",Egrave:"\xC8",egrave:"\xE8",Eacute:"\xC9",eacute:"\xE9",Ecirc:"\xCA",ecirc:"\xEA",Euml:"\xCB",euml:"\xEB",Igrave:"\xCC",igrave:"\xEC",Iacute:"\xCD",iacute:"\xED",Icirc:"\xCE",icirc:"\xEE",Iuml:"\xCF",iuml:"\xEF",ETH:"\xD0",eth:"\xF0",Ntilde:"\xD1",ntilde:"\xF1",Ograve:"\xD2",ograve:"\xF2",Oacute:"\xD3",oacute:"\xF3",Ocirc:"\xD4",ocirc:"\xF4",Otilde:"\xD5",otilde:"\xF5",Ouml:"\xD6",ouml:"\xF6",Oslash:"\xD8",oslash:"\xF8",Ugrave:"\xD9",ugrave:"\xF9",Uacute:"\xDA",uacute:"\xFA",Ucirc:"\xDB",ucirc:"\xFB",Uuml:"\xDC",uuml:"\xFC",Yacute:"\xDD",yacute:"\xFD",THORN:"\xDE",thorn:"\xFE",szlig:"\xDF",yuml:"\xFF",Yuml:"\u0178"},dK={Amacr:"\u0100",amacr:"\u0101",Abreve:"\u0102",abreve:"\u0103",Aogon:"\u0104",aogon:"\u0105",Cacute:"\u0106",cacute:"\u0107",Ccirc:"\u0108",ccirc:"\u0109",Cdot:"\u010A",cdot:"\u010B",Ccaron:"\u010C",ccaron:"\u010D",Dcaron:"\u010E",dcaron:"\u010F",Dstrok:"\u0110",dstrok:"\u0111",Emacr:"\u0112",emacr:"\u0113",Ecaron:"\u011A",ecaron:"\u011B",Edot:"\u0116",edot:"\u0117",Eogon:"\u0118",eogon:"\u0119",Gcirc:"\u011C",gcirc:"\u011D",Gbreve:"\u011E",gbreve:"\u011F",Gdot:"\u0120",gdot:"\u0121",Gcedil:"\u0122",Hcirc:"\u0124",hcirc:"\u0125",HstLine truncated
`);let e=new ls("!xml"),r=e,s="";this.matcher.reset(),this.entityDecoder.reset(),this.entityExpansionCount=0,this.currentExpandedLength=0;let n=this.options,i=new om(n.processEntities),a=t.length;for(let c=0;c<a;c++)if(t[c]==="<"){let u=t.charCodeAt(c+1);if(u===47){let d=gA(t,">",c,"Closing Tag is not closed."),A=t.substring(c+2,d).trim();if(n.removeNSPrefix){let f=A.indexOf(":");f!==-1&&(A=A.substr(f+1))}A=t_(n.transformTagName,A,"",n).tagName,r&&(s=this.saveTextToParentTag(s,r,this.readonlyMatcher));let p=this.matcher.getCurrentTag();if(A&&n.unpairedTagsSet.has(A))throw new Error(`Unpaired tag can not be used as closing tag: </${A}>`);p&&n.unpairedTagsSet.has(p)&&(this.matcher.pop(),this.tagsNodeStack.pop()),this.matcher.pop(),this.isCurrentNodeStopNode=!1,r=this.tagsNodeStack.pop(),s="",c=d}else if(u===63){let d=r_(t,c,!1,"?>");if(!d)throw new Error("Pi Tag is not closed.");s=this.saveTextToParentTag(s,r,this.readonlyMatcher);let A=this.buildAttributesMap(d.tagExp,this.matcher,d.tagName,!0);if(A){let p=A[this.options.attributeNamePrefix+"version"];this.entityDecoder.setXmlVersion(Number(p)||1),i.setXmlVersion(Number(p)||1)}if(!(n.ignoreDeclaration&&d.tagName==="?xml"||n.ignorePiTags)){let p=new ls(d.tagName);p.add(n.textNodeName,""),d.tagName!==d.tagExp&&d.attrExpPresent&&n.ignoreAttributes!==!0&&(p[":@"]=A),this.addChild(r,p,this.readonlyMatcher,c)}c=d.closeIndex+1}else if(u===33&&t.charCodeAt(c+2)===45&&t.charCodeAt(c+3)===45){let d=gA(t,"-->",c+4,"Comment is not closed.");if(n.commentPropName){let A=t.substring(c+4,d-2);s=this.saveTextToParentTag(s,r,this.readonlyMatcher),r.add(n.commentPropName,[{[n.textNodeName]:A}])}c=d}else if(u===33&&t.charCodeAt(c+2)===68){let d=i.readDocType(t,c);this.entityDecoder.addInputEntities(d.entities),c=d.i}else if(u===33&&t.charCodeAt(c+2)===91){let d=gA(t,"]]>",c,"CDATA is not closed.")-2,A=t.substring(c+9,d);s=this.saveTextToParentTag(s,r,this.readonlyMatcher);let p=this.parseTextData(A,r.tagname,this.readonlyMatcher,!0,!1,!0,!0);p==null&&(p=""),n.cdataPropName?r.add(n.cdataPropName,[{[n.textNodeName]:A}]):r.add(n.textNodeName,p),c=d+2}else{let d=r_(t,c,n.removeNSPrefix);if(!d){let Q=t.substring(Math.max(0,c-50),Math.min(a,c+50));throw new Error(`readTagExp returned undefined at position ${c}. Context: "${Q}"`)}let A=d.tagName,p=d.rawTagName,f=d.tagExp,m=d.attrExpPresent,g=d.closeIndex;if({tagName:A,tagExp:f}=t_(n.transformTagName,A,f,n),n.strictReservedNames&&(A===n.commentPropName||A===n.cdataPropName||A===n.textNodeName||A===n.attributesGroupName))throw new Error(`Invalid tag name: ${A}`);r&&s&&r.tagname!=="!xml"&&(s=this.saveTextToParentTag(s,r,this.readonlyMatcher,!1));let y=r;y&&n.unpairedTagsSet.has(y.tagname)&&(r=this.tagsNodeStack.pop(),this.matcher.pop());let E=!1;f.length>0&&f.lastIndexOf("/")===f.length-1&&(E=!0,A[A.length-1]==="/"?(A=A.substr(0,A.length-1),f=A):f=f.substr(0,f.length-1),m=A!==f);let C=null,I={},b;b=s_e(p),A!==e.tagname&&this.matcher.push(A,{},b),A!==f&&m&&(C=this.buildAttributesMap(f,this.matcher,A),C&&(I=r_e(C,n))),A!==e.tagname&&(this.isCurrentNodeStopNode=this.isItStopNode());let N=c;if(this.isCurrentNodeStopNode){let Q="";if(E)c=d.closeIndex;else if(n.unpairedTagsSet.has(A))c=d.closeIndex;else{let ae=this.readStopNodeData(t,p,g+1);if(!ae)throw new Error(`Unexpected end of ${p}`);c=ae.i,Q=ae.tagContent}let D=new ls(A);C&&(D[":@"]=C),D.add(n.textNodeName,Q),this.matcher.pop(),this.isCurrentNodeStopNode=!1,this.addChild(r,D,this.readonlyMatcher,N)}else{if(E){({tagName:A,tagExp:f}=t_(n.transformTagName,A,f,n));let Q=new ls(A);C&&(Q[":@"]=C),this.addChild(r,Q,this.readonlyMatcher,N),this.matcher.pop(),this.isCurrentNodeStopNode=!1}else if(n.unpairedTagsSet.has(A)){let Q=new ls(A);C&&(Q[":@"]=C),this.addChild(r,Q,this.readonlyMatcher,N),this.matcher.pop(),this.isCurrentNodeStopNode=!1,c=d.closeIndex;continue}else{let Q=new ls(A);if(this.tagsNodeStack.length>n.maxNestedTags)throw new Error("Maximum nested tags exceeded");this.tagsNodeStack.push(r),C&&(Q[":@"]=C),this.addChild(r,Q,this.readonlyMatcher,N),r=Q}s="",c=g}}}else s+=t[c];return e.child},"parseXml");function l_e(t,e,r,s){this.options.captureMetaData||(s=void 0);let n=this.options.jPath?r.toString():r,i=this.options.updateTag(e.tagname,n,e[":@"]);i===!1||(typeof i=="string"&&(e.tagname=i),t.addChild(e,s))}o(l_e,"addChild");function u_e(t,e,r){let s=this.options.processEntities;if(!s||!s.enabled)return t;if(s.allowedTags){let n=this.options.jPath?r.toString():r;if(!(Array.isArray(s.allowedTags)?s.allowedTags.includes(e):s.allowedTags(e,n)))return t}if(s.tagFilter){let n=this.options.jPath?r.toString():r;if(!s.tagFilter(e,n))return t}return this.entityDecoder.decode(t)}o(u_e,"replaceEntitiesValue");function d_e(t,e,r,s){return t&&(s===void 0&&(s=e.child.length===0),t=this.parseTextData(t,e.tagname,r,!1,e[":@"]?Object.keys(e[":@"]).length!==0:!1,s),t!==void 0&&t!==""&&e.add(this.options.textNodeName,t),t=""),t}o(d_e,"saveTextToParentTag");function A_e(){return this.stopNodeExpressionsLine truncated
`;function I_e(t,e){if(!Array.isArray(t)||t.length===0)return"1.0";let r=t[0];if(c_(r)==="?xml"){let n=r[":@"];if(n){let i=e.attributeNamePrefix+"version";if(n[i])return n[i]}}return"1.0"}o(I_e,"detectXmlVersionFromArray");function vK(t,e,r,s,n){return!r.sanitizeName||Jl(t,{xmlVersion:n})?t:r.sanitizeName(t,{isAttribute:e,matcher:s.readOnly()})}o(vK,"resolveTagName");function a_(t,e){let r="";e.format&&(r=C_e);let s=[];if(e.stopNodes&&Array.isArray(e.stopNodes))for(let a=0;a<e.stopNodes.length;a++){let c=e.stopNodes[a];typeof c=="string"?s.push(new $s(c)):c instanceof $s&&s.push(c)}let n=I_e(t,e),i=new Wi;return PK(t,e,r,i,s,n)}o(a_,"toXml");function PK(t,e,r,s,n,i){let a="",c=!1;if(e.maxNestedTags&&s.getDepth()>e.maxNestedTags)throw new Error("Maximum nested tags exceeded");if(!Array.isArray(t)){if(t!=null){let l=t.toString();return l=o_(l,e),l}return""}for(let l=0;l<t.length;l++){let u=t[l],d=c_(u);if(d===void 0)continue;let p=d===e.textNodeName||d===e.cdataPropName||d===e.commentPropName||d[0]==="?"?d:vK(d,!1,e,s,i),f=B_e(u[":@"],e);s.push(p,f);let m=w_e(s,n);if(p===e.textNodeName){let I=u[d];m||(I=e.tagValueProcessor(p,I),I=o_(I,e)),c&&(a+=r),a+=I,c=!1,s.pop();continue}else if(p===e.cdataPropName){c&&(a+=r);let I=u[d][0][e.textNodeName],b=tB(I);a+=`<![CDATA[${b}]]>`,c=!1,s.pop();continue}else if(p===e.commentPropName){let I=u[d][0][e.textNodeName],b=eB(I);a+=r+`<!--${b}-->`,c=!0,s.pop();continue}else if(p[0]==="?"){let I=TK(u[":@"],e,m,s,i);a+=(p==="?xml"?"":r)+`<${p}${I}?>`,c=!0,s.pop();continue}let g=r;g!==""&&(g+=e.indentBy);let y=TK(u[":@"],e,m,s,i),E=r+`<${p}${y}`,C;m?C=_K(u[d],e):C=PK(u[d],e,g,s,n,i),e.unpairedTags.indexOf(p)!==-1?e.suppressUnpairedNode?a+=E+">":a+=E+"/>":(!C||C.length===0)&&e.suppressEmptyNode?a+=E+"/>":C&&C.endsWith(">")?a+=E+`>${C}${r}</${p}>`:(a+=E+">",C&&r!==""&&(C.includes("/>")||C.includes("</"))?a+=r+e.indentBy+C+r:a+=C,a+=`</${p}>`),c=!0,s.pop()}return a}o(PK,"arrToStr");function B_e(t,e){if(!t||e.ignoreAttributes)return null;let r={},s=!1;for(let n in t){if(!Object.prototype.hasOwnProperty.call(t,n))continue;let i=n.startsWith(e.attributeNamePrefix)?n.substr(e.attributeNamePrefix.length):n;r[i]=Ic(t[n]),s=!0}return s?r:null}o(B_e,"extractAttributeValues");function _K(t,e){if(!Array.isArray(t))return t!=null?t.toString():"";let r="";for(let s=0;s<t.length;s++){let n=t[s],i=c_(n);if(i===e.textNodeName)r+=n[i];else if(i===e.cdataPropName)r+=n[i][0][e.textNodeName];else if(i===e.commentPropName)r+=n[i][0][e.textNodeName];else{if(i&&i[0]==="?")continue;if(i){let a=b_e(n[":@"],e),c=_K(n[i],e);!c||c.length===0?r+=`<${i}${a}/>`:r+=`<${i}${a}>${c}</${i}>`}}}return r}o(_K,"getRawContent");function b_e(t,e){let r="";if(t&&!e.ignoreAttributes)for(let s in t){if(!Object.prototype.hasOwnProperty.call(t,s))continue;let n=t[s];n===!0&&e.suppressBooleanAttributes?r+=` ${s.substr(e.attributeNamePrefix.length)}`:r+=` ${s.substr(e.attributeNamePrefix.length)}="${Ic(n)}"`}return r}o(b_e,"attr_to_str_raw");function c_(t){let e=Object.keys(t);for(let r=0;r<e.length;r++){let s=e[r];if(Object.prototype.hasOwnProperty.call(t,s)&&s!==":@")return s}}o(c_,"propName");function TK(t,e,r,s,n){let i="";if(t&&!e.ignoreAttributes)for(let a in t){if(!Object.prototype.hasOwnProperty.call(t,a))continue;let c=a.substr(e.attributeNamePrefix.length),l=r?c:vK(c,!0,e,s,n),u;r?u=t[a]:(u=e.attributeValueProcessor(a,t[a]),u=o_(u,e)),u===!0&&e.suppressBooleanAttributes?i+=` ${l}`:i+=` ${l}="${Ic(u)}"`}return i}o(TK,"attr_to_str");function w_e(t,e){if(!e||e.length===0)return!1;for(let r=0;r<e.length;r++)if(t.matches(e[r]))return!0;return!1}o(w_e,"checkStopNode");function o_(t,e){if(t&&t.length>0&&e.processEntities)for(let r=0;r<e.entities.length;r++){let s=e.entities[r];t=t.replace(s.regex,s.val)}return t}o(o_,"replaceEntitiesValue");function l_(t){return typeof t=="function"?t:Array.isArray(t)?e=>{for(let r of t)if(typeof r=="string"&&e===r||r instanceof RegExp&&r.test(e))return!0}:()=>!1}o(l_,"getIgnoreAttributesFn");var S_e={attributeNamePrefix:"@_",attributesGroupName:!1,textNodeName:"#text",ignoreAttributes:!0,cdataPropName:!1,format:!1,indentBy:" ",suppressEmptyNode:!1,suppressUnpairedNode:!0,suppressBooleanAttributes:!0,tagValueProcessor:o(function(t,e){return e},"tagValueProcessor"),attributeValueProcessor:o(function(t,e){return e},"attributeValueProcessor"),preserveOrder:!1,commentPropName:!1,unpairedTags:[],entities:[{regex:new RegExp("&","g"),val:"&amp;"},{regex:new RegExp(">","g"),val:"&gt;"},{regex:new RegExp("<","g"),val:"&lt;"},{regex:new RegExp("'","g"),val:"&apos;"},{regex:new RegExp('"',"g"),val:"&quot;"}],processEntities:!0,stopNodes:[],oneListGroup:!1,maxNestedTags:100,jPath:!0,sanitizeName:!1};function ds(t){if(this.options=Object.assign({},S_e,t),this.options.stopNodes&&Array.isArray(this.options.stopNodes)&&(this.options.stopNodes=this.options.stopNodes.map(e=>typeof e=="string"&&e.startsWith("*.")?".."+e.substring(2):e)),this.stopNodeExpressions=[],this.options.stopNodes&&Array.isArray(this.oLine truncated
`,this.newLine=`
`):(this.indentate=function(){return""},this.tagEndChar=">",this.newLine="")}function nXe(t,e){let r=t["?xml"];if(r&&typeof r=="object"){if(e.attributesGroupName&&r[e.attributesGroupName]){let i=r[e.attributesGroupName][e.attributeNamePrefix+"version"];if(i)return i}let s=r[e.attributeNamePrefix+"version"];if(s)return s}return"1.0"}function hq(t,e,r,s,i){return!r.sanitizeName||Xf(t,{xmlVersion:i})?t:r.sanitizeName(t,{isAttribute:e,matcher:s.readOnly()})}un.prototype.build=function(t){if(this.options.preserveOrder)return cq(t,this.options);{Array.isArray(t)&&this.options.arrayNodeName&&this.options.arrayNodeName.length>1&&(t={[this.options.arrayNodeName]:t});let e=new vc,r=nXe(t,this.options);return this.j2x(t,0,e,r).val}};un.prototype.j2x=function(t,e,r,s){let i="",n="";if(this.options.maxNestedTags&&r.getDepth()>=this.options.maxNestedTags)throw new Error("Maximum nested tags exceeded");let o=this.options.jPath?r.toString():r,a=this.checkStopNode(r);for(let c in t){if(!Object.prototype.hasOwnProperty.call(t,c))continue;let u=c===this.options.textNodeName||c===this.options.cdataPropName||c===this.options.commentPropName||this.options.attributesGroupName&&c===this.options.attributesGroupName||this.isAttribute(c)||c[0]==="?"?c:hq(c,!1,this.options,r,s);if(typeof t[c]>"u")this.isAttribute(c)&&(n+="");else if(t[c]===null)this.isAttribute(c)||u===this.options.cdataPropName||u===this.options.commentPropName?n+="":u[0]==="?"?n+=this.indentate(e)+"<"+u+"?"+this.tagEndChar:n+=this.indentate(e)+"<"+u+"/"+this.tagEndChar;else if(t[c]instanceof Date)n+=this.buildTextValNode(t[c],u,"",e,r);else if(typeof t[c]!="object"){let h=this.isAttribute(c);if(h&&!this.ignoreAttributesFn(h,o)){let d=hq(h,!0,this.options,r,s);i+=this.buildAttrPairStr(d,""+t[c],a)}else if(!h)if(c===this.options.textNodeName){let d=this.options.tagValueProcessor(c,""+t[c]);n+=this.replaceEntitiesValue(d)}else{r.push(u);let d=this.checkStopNode(r);if(r.pop(),d){let f=""+t[c];f===""?n+=this.indentate(e)+"<"+u+this.closeTag(u)+this.tagEndChar:n+=this.indentate(e)+"<"+u+">"+f+"</"+u+this.tagEndChar}else n+=this.buildTextValNode(t[c],u,"",e,r)}}else if(Array.isArray(t[c])){let h=t[c].length,d="",f="";for(let p=0;p<h;p++){let m=t[c][p];if(!(typeof m>"u"))if(m===null)u[0]==="?"?n+=this.indentate(e)+"<"+u+"?"+this.tagEndChar:n+=this.indentate(e)+"<"+u+"/"+this.tagEndChar;else if(typeof m=="object")if(this.options.oneListGroup){r.push(u);let E=this.j2x(m,e+1,r,s);r.pop(),d+=E.val,this.options.attributesGroupName&&m.hasOwnProperty(this.options.attributesGroupName)&&(f+=E.attrStr)}else d+=this.processTextOrObjNode(m,u,e,r,s);else if(this.options.oneListGroup){let E=this.options.tagValueProcessor(u,m);E=this.replaceEntitiesValue(E),d+=E}else{r.push(u);let E=this.checkStopNode(r);if(r.pop(),E){let y=""+m;y===""?d+=this.indentate(e)+"<"+u+this.closeTag(u)+this.tagEndChar:d+=this.indentate(e)+"<"+u+">"+y+"</"+u+this.tagEndChar}else d+=this.buildTextValNode(m,u,"",e,r)}}this.options.oneListGroup&&(d=this.buildObjectNode(d,u,f,e)),n+=d}else if(this.options.attributesGroupName&&c===this.options.attributesGroupName){let h=Object.keys(t[c]),d=h.length;for(let f=0;f<d;f++){let p=hq(h[f],!0,this.options,r,s);i+=this.buildAttrPairStr(p,""+t[c][h[f]],a)}}else n+=this.processTextOrObjNode(t[c],u,e,r,s)}return{attrStr:i,val:n}};un.prototype.buildAttrPairStr=function(t,e,r){return r||(e=this.options.attributeValueProcessor(t,""+e),e=this.replaceEntitiesValue(e)),this.options.suppressBooleanAttributes&&e==="true"?" "+t:" "+t+'="'+id(e)+'"'};function oXe(t,e,r,s,i){let n=this.extractAttributes(t);if(s.push(e,n),this.checkStopNode(s)){let c=this.buildRawContent(t),l=this.buildAttributesForStopNode(t);return s.pop(),this.buildObjectNode(c,e,l,r)}let a=this.j2x(t,r+1,s,i);return s.pop(),e[0]==="?"?this.buildTextValNode("",e,a.attrStr,r,s):t[this.options.textNodeName]!==void 0&&Object.keys(t).length===1?this.buildTextValNode(t[this.options.textNodeName],e,a.attrStr,r,s):this.buildObjectNode(a.val,e,a.attrStr,r)}un.prototype.extractAttributes=function(t){if(!t||typeof t!="object")return null;let e={},r=!1;if(this.options.attributesGroupName&&t[this.options.attributesGroupName]){let s=t[this.options.attributesGroupName];for(let i in s){if(!Object.prototype.hasOwnProperty.call(s,i))continue;let n=i.startsWith(this.options.attributeNamePrefix)?i.substring(this.options.attributeNamePrefix.length):i;e[n]=id(s[i]),r=!0}}else for(let s in t){if(!Object.prototype.hasOwnProperty.call(t,s))continue;let i=this.isAttribute(s);i&&(e[i]=id(t[s]),r=!0)}return r?e:null};un.prototype.buildRawContent=function(t){if(typeof t=="string")return t;if(typeof t!="object"||t===null)return String(t);if(t[this.options.textNodeName]!==void 0)return t[this.options.textNodeName];let e="";for(let r in t){if(!Object.prototype.hasOwnProperty.call(t,r)||this.isAttribute(r)||this.options.attributesGroupName&&r===this.options.attributesGroupName)continue;let s=t[r];if(r===this.options.textNodeName)e+=s;else if(Array.isA Line truncated
`):(this.indentate=function(){return""},this.tagEndChar=">",this.newLine="")}o(ds,"Builder");function N_e(t,e){let r=t["?xml"];if(r&&typeof r=="object"){if(e.attributesGroupName&&r[e.attributesGroupName]){let n=r[e.attributesGroupName][e.attributeNamePrefix+"version"];if(n)return n}let s=r[e.attributeNamePrefix+"version"];if(s)return s}return"1.0"}o(N_e,"detectXmlVersionFromObj");function u_(t,e,r,s,n){return!r.sanitizeName||Jl(t,{xmlVersion:n})?t:r.sanitizeName(t,{isAttribute:e,matcher:s.readOnly()})}o(u_,"resolveTagName");ds.prototype.build=function(t){if(this.options.preserveOrder)return a_(t,this.options);{Array.isArray(t)&&this.options.arrayNodeName&&this.options.arrayNodeName.length>1&&(t={[this.options.arrayNodeName]:t});let e=new Wi,r=N_e(t,this.options);return this.j2x(t,0,e,r).val}};ds.prototype.j2x=function(t,e,r,s){let n="",i="";if(this.options.maxNestedTags&&r.getDepth()>=this.options.maxNestedTags)throw new Error("Maximum nested tags exceeded");let a=this.options.jPath?r.toString():r,c=this.checkStopNode(r);for(let l in t){if(!Object.prototype.hasOwnProperty.call(t,l))continue;let d=l===this.options.textNodeName||l===this.options.cdataPropName||l===this.options.commentPropName||this.options.attributesGroupName&&l===this.options.attributesGroupName||this.isAttribute(l)||l[0]==="?"?l:u_(l,!1,this.options,r,s);if(typeof t[l]>"u")this.isAttribute(l)&&(i+="");else if(t[l]===null)this.isAttribute(l)||d===this.options.cdataPropName||d===this.options.commentPropName?i+="":d[0]==="?"?i+=this.indentate(e)+"<"+d+"?"+this.tagEndChar:i+=this.indentate(e)+"<"+d+"/"+this.tagEndChar;else if(t[l]instanceof Date)i+=this.buildTextValNode(t[l],d,"",e,r);else if(typeof t[l]!="object"){let A=this.isAttribute(l);if(A&&!this.ignoreAttributesFn(A,a)){let p=u_(A,!0,this.options,r,s);n+=this.buildAttrPairStr(p,""+t[l],c)}else if(!A)if(l===this.options.textNodeName){let p=this.options.tagValueProcessor(l,""+t[l]);i+=this.replaceEntitiesValue(p)}else{r.push(d);let p=this.checkStopNode(r);if(r.pop(),p){let f=""+t[l];f===""?i+=this.indentate(e)+"<"+d+this.closeTag(d)+this.tagEndChar:i+=this.indentate(e)+"<"+d+">"+f+"</"+d+this.tagEndChar}else i+=this.buildTextValNode(t[l],d,"",e,r)}}else if(Array.isArray(t[l])){let A=t[l].length,p="",f="";for(let m=0;m<A;m++){let g=t[l][m];if(!(typeof g>"u"))if(g===null)d[0]==="?"?i+=this.indentate(e)+"<"+d+"?"+this.tagEndChar:i+=this.indentate(e)+"<"+d+"/"+this.tagEndChar;else if(typeof g=="object")if(this.options.oneListGroup){r.push(d);let y=this.j2x(g,e+1,r,s);r.pop(),p+=y.val,this.options.attributesGroupName&&g.hasOwnProperty(this.options.attributesGroupName)&&(f+=y.attrStr)}else p+=this.processTextOrObjNode(g,d,e,r,s);else if(this.options.oneListGroup){let y=this.options.tagValueProcessor(d,g);y=this.replaceEntitiesValue(y),p+=y}else{r.push(d);let y=this.checkStopNode(r);if(r.pop(),y){let E=""+g;E===""?p+=this.indentate(e)+"<"+d+this.closeTag(d)+this.tagEndChar:p+=this.indentate(e)+"<"+d+">"+E+"</"+d+this.tagEndChar}else p+=this.buildTextValNode(g,d,"",e,r)}}this.options.oneListGroup&&(p=this.buildObjectNode(p,d,f,e)),i+=p}else if(this.options.attributesGroupName&&l===this.options.attributesGroupName){let A=Object.keys(t[l]),p=A.length;for(let f=0;f<p;f++){let m=u_(A[f],!0,this.options,r,s);n+=this.buildAttrPairStr(m,""+t[l][A[f]],c)}}else i+=this.processTextOrObjNode(t[l],d,e,r,s)}return{attrStr:n,val:i}};ds.prototype.buildAttrPairStr=function(t,e,r){return r||(e=this.options.attributeValueProcessor(t,""+e),e=this.replaceEntitiesValue(e)),this.options.suppressBooleanAttributes&&e==="true"?" "+t:" "+t+'="'+Ic(e)+'"'};function x_e(t,e,r,s,n){let i=this.extractAttributes(t);if(s.push(e,i),this.checkStopNode(s)){let l=this.buildRawContent(t),u=this.buildAttributesForStopNode(t);return s.pop(),this.buildObjectNode(l,e,u,r)}let c=this.j2x(t,r+1,s,n);return s.pop(),e[0]==="?"?this.buildTextValNode("",e,c.attrStr,r,s):t[this.options.textNodeName]!==void 0&&Object.keys(t).length===1?this.buildTextValNode(t[this.options.textNodeName],e,c.attrStr,r,s):this.buildObjectNode(c.val,e,c.attrStr,r)}o(x_e,"processTextOrObjNode");ds.prototype.extractAttributes=function(t){if(!t||typeof t!="object")return null;let e={},r=!1;if(this.options.attributesGroupName&&t[this.options.attributesGroupName]){let s=t[this.options.attributesGroupName];for(let n in s){if(!Object.prototype.hasOwnProperty.call(s,n))continue;let i=n.startsWith(this.options.attributeNamePrefix)?n.substring(this.options.attributeNamePrefix.length):n;e[i]=Ic(s[n]),r=!0}}else for(let s in t){if(!Object.prototype.hasOwnProperty.call(t,s))continue;let n=this.isAttribute(s);n&&(e[n]=Ic(t[s]),r=!0)}return r?e:null};ds.prototype.buildRawContent=function(t){if(typeof t=="string")return t;if(typeof t!="object"||t===null)return String(t);if(t[this.options.textNodeName]!==void 0)return t[this.options.textNodeName];let e="";for(let r in t){if(!Object.prototype.hasOwnProperty.call(t,r)||this.isAttribute(r)||this.options.attributesGroupName&&r===this.o Line truncated
`)+`
`+this.getCanonicalizedHeadersString(e)+this.getCanonicalizedResourceString(e),s=this.factory.computeHMACSHA256(r);return e.headers.set(Fe.AUTHORIZATION,`SharedKey ${this.factory.accountName}:${s}`),e}getHeaderValueToSign(e,r){let s=e.headers.get(r);return!s||r===Fe.CONTENT_LENGTH&&s==="0"?"":s}getCanonicalizedHeadersString(e){let r=e.headers.headersArray().filter(i=>i.name.toLowerCase().startsWith(Fe.PREFIX_FOR_STORAGE));r.sort((i,n)=>wR(i.name.toLowerCase(),n.name.toLowerCase())),r=r.filter((i,n,o)=>!(n>0&&i.name.toLowerCase()===o[n-1].name.toLowerCase()));let s="";return r.forEach(i=>{s+=`${i.name.toLowerCase().trimRight()}:${i.value.trimLeft()}
`}),s}getCanonicalizedResourceString(e){let r=CR(e.url)||"/",s="";s+=`/${this.factory.accountName}${r}`;let i=IR(e.url),n={};if(i){let o=[];for(let a in i)if(Object.prototype.hasOwnProperty.call(i,a)){let c=a.toLowerCase();n[c]=i[a],o.push(c)}o.sort();for(let a of o)s+=`
${a}:${decodeURIComponent(n[a])}`}return s}};var gr=class extends tp{accountName;accountKey;constructor(e,r){super(),this.accountName=e,this.accountKey=Buffer.from(r,"base64")}create(e,r){return new t0(e,r,this)}computeHMACSHA256(e){return(0,xde.createHmac)("sha256",this.accountKey).update(e,"utf8").digest("base64")}};var rs=Sc("storage-common");var Uo;(function(t){t[t.EXPONENTIAL=0]="EXPONENTIAL",t[t.FIXED=1]="FIXED"})(Uo||(Uo={}));var od={maxRetryDelayInMs:120*1e3,maxTries:4,retryDelayInMs:4*1e3,retryPolicyType:Uo.EXPONENTIAL,secondaryHost:"",tryTimeoutInMs:void 0},AXe=new Jn("The operation was aborted."),r0=class extends Tc{retryOptions;constructor(e,r,s=od){super(e,r),this.retryOptions={retryPolicyType:s.retryPolicyType?s.retryPolicyType:od.retryPolicyType,maxTries:s.maxTries&&s.maxTries>=1?Math.floor(s.maxTries):od.maxTries,tryTimeoutInMs:s.tryTimeoutInMs&&s.tryTimeoutInMs>=0?s.tryTimeoutInMs:od.tryTimeoutInMs,retryDelayInMs:s.retryDelayInMs&&s.retryDelayInMs>=0?Math.min(s.retryDelayInMs,s.maxRetryDelayInMs?s.maxRetryDelayInMs:od.maxRetryDelayInMs):od.retryDelayInMs,maxRetryDelayInMs:s.maxRetryDelayInMs&&s.maxRetryDelayInMs>=0?s.maxRetryDelayInMs:od.maxRetryDelayInMs,secondaryHost:s.secondaryHost?s.secondaryHost:od.secondaryHost}}async sendRequest(e){return this.attemptSendRequest(e,!1,1)}async attemptSendRequest(e,r,s){let i=e.clone(),n=r||!this.retryOptions.secondaryHost||!(e.method==="GET"||e.method==="HEAD"||e.method==="OPTIONS")||s%2===1;n||(i.url=ER(i.url,this.retryOptions.secondaryHost)),this.retryOptions.tryTimeoutInMs&&(i.url=nd(i.url,du.Parameters.TIMEOUT,Math.floor(this.retryOptions.tryTimeoutInMs/1e3).toString()));let o;try{if(rs.info(`RetryPolicy: =====> Try=${s} ${n?"Primary":"Secondary"}`),o=await this._nextPolicy.sendRequest(i),!this.shouldRetry(n,s,o))return o;r=r||!n&&o.status===404}catch(a){if(rs.error(`RetryPolicy: Caught error, message: ${a.message}, code: ${a.code}`),!this.shouldRetry(n,s,o,a))throw a}return await this.delay(n,s,e.abortSignal),this.attemptSendRequest(e,r,++s)}shouldRetry(e,r,s,i){if(r>=this.retryOptions.maxTries)return rs.info(`RetryPolicy: Attempt(s) ${r} >= maxTries ${this.retryOptions.maxTries}, no further try.`),!1;let n=["ETIMEDOUT","ESOCKETTIMEDOUT","ECONNREFUSED","ECONNRESET","ENOENT","ENOTFOUND","TIMEOUT","EPIPE","REQUEST_SEND_ERROR"];if(i){for(let o of n)if(i.name.toUpperCase().includes(o)||i.message.toUpperCase().includes(o)||i.code&&i.code.toString().toUpperCase()===o)return rs.info(`RetryPolicy: Network error ${o} found, will retry.`),!0}if(s||i){let o=s?s.status:i?i.statusCode:0;if(!e&&o===404)return rs.info("RetryPolicy: Secondary access with 404, will retry."),!0;if(o===503||o===500)return rs.info(`RetryPolicy: Will retry for status code ${o}.`),!0}if(s&&s?.status>=400){let o=s.headers.get(Fe.X_MS_CopySourceErrorCode);if(o!==void 0)switch(o){case"InternalError":case"OperationTimedOut":case"ServerBusy":return!0}}return i?.code==="PARSE_ERROR"&&i?.message.startsWith('Error "Error: Unclosed root tag')?(rs.info("RetryPolicy: Incomplete XML response likely due to service timeout, will retry."),!0):!1}async delay(e,r,s){let i=0;if(e)switch(this.retryOptions.retryPolicyType){case Uo.EXPONENTIAL:i=Math.min((Math.pow(2,r-1)-1)*this.retryOptions.retryDelayInMs,this.retryOptions.maxRetryDelayInMs);break;case Uo.FIXED:i=this.retryOptions.retryDelayInMs;break}else i=Math.random()*1e3;return rs.info(`RetryPolicy: Delay for ${i}ms`),bR(i,s,AXe)}};var s0=class{retryOptions;constructor(e){this.retryOptions=e}create(e,r){return new r0(e,r,this.retryOptions)}};var mXe="storageBrowserPolicy";function Nde(){return{name:mXe,async sendRequest(t,e){return wt||((t.method==="GET"||t.method==="HEAD")&&(t.url=nd(t.url,du.Parameters.FORCE_BROWSER_NO_CACHE,new Date().getTime().toString())),t.headers.delete(Fe.COOKIE),t.headers.delete(Fe.CONTENT_LENGTH)),e(t)}}}var gXe="StorageCorrectContentLengthPolicy";function Rde(){function t(e){e.body&&(typeof e.body=="string"||Buffer.isBuffer(e.body))&&e.body.length>0&&e.headers.set(Fe.CONTENT_LENGTH,Buffer.byteLength(e.body))}return{name:gXe,async sendRequest(e,r){return t(e),r(e)}}}var yXe="storageRetryPolicy",ag={maxRetryDelayInMs:120*1e3,maxTries:4,retryDelayInMs:4*1e3,retryPolicyType:Uo.EXPONENTIAL,secondaryHost:"",tryTimeoutInMs:void 0},EXe=["ETIMEDOUT","ESOCKETTIMEDOUT","ECONNREFUSED","ECONNRESET","ENOENT","ENOTFOUND","TIMEOUT","EPIPE","REQUEST_SEND_ERROR"],CXe=new Jn("The operation was aborted.");function vde(t={}){let e=t.retryPolicyType??ag.retryPolicyType,r=t.maxTries??ag.maxTries,s=t.retryDelayInMs??ag.retryDelayInMs,i=t.maxRetryDelayInMs??ag.maxRetryDelayInMs,n=t.secondaryHost??ag.secondaryHost,o=t.tryTimeoutInMs??ag.tryTimeoutInMs;function a({isPrimaryRetry:l,attempt:u,response:h,error:d}){if(u>=r)return rs.info(`RetryPolicy: Attempt(s) ${u} >= maxTries ${r}, no further try.`),!1;if(d){for(let f of EXe)if(d.name.toUpperCase().includes(f)||d.message.toUpperCase().includes(f)||d.code&&d.code.toString().toUpperCase()===f)return Line truncated
`+this.getCanonicalizedHeadersString(e)+this.getCanonicalizedResourceString(e),s=this.factory.computeHMACSHA256(r);return e.headers.set(oe.AUTHORIZATION,`SharedKey ${this.factory.accountName}:${s}`),e}getHeaderValueToSign(e,r){let s=e.headers.get(r);return!s||r===oe.CONTENT_LENGTH&&s==="0"?"":s}getCanonicalizedHeadersString(e){let r=e.headers.headersArray().filter(n=>n.name.toLowerCase().startsWith(oe.PREFIX_FOR_STORAGE));r.sort((n,i)=>AB(n.name.toLowerCase(),i.name.toLowerCase())),r=r.filter((n,i,a)=>!(i>0&&n.name.toLowerCase()===a[i-1].name.toLowerCase()));let s="";return r.forEach(n=>{s+=`${n.name.toLowerCase().trimRight()}:${n.value.trimLeft()}
`}),s}getCanonicalizedResourceString(e){let r=lB(e.url)||"/",s="";s+=`/${this.factory.accountName}${r}`;let n=uB(e.url),i={};if(n){let a=[];for(let c in n)if(Object.prototype.hasOwnProperty.call(n,c)){let l=c.toLowerCase();i[l]=n[c],a.push(l)}a.sort();for(let c of a)s+=`
${c}:${decodeURIComponent(i[c])}`}return s}};var Ct=class extends Wl{static{o(this,"StorageSharedKeyCredential")}accountName;accountKey;constructor(e,r){super(),this.accountName=e,this.accountKey=Buffer.from(r,"base64")}create(e,r){return new dm(e,r,this)}computeHMACSHA256(e){return(0,qK.createHmac)("sha256",this.accountKey).update(e,"utf8").digest("base64")}};var Wt=zi("storage-common");var bn;(function(t){t[t.EXPONENTIAL=0]="EXPONENTIAL",t[t.FIXED=1]="FIXED"})(bn||(bn={}));var bc={maxRetryDelayInMs:120*1e3,maxTries:4,retryDelayInMs:4*1e3,retryPolicyType:bn.EXPONENTIAL,secondaryHost:"",tryTimeoutInMs:void 0},O_e=new zs("The operation was aborted."),Am=class extends ji{static{o(this,"StorageRetryPolicy")}retryOptions;constructor(e,r,s=bc){super(e,r),this.retryOptions={retryPolicyType:s.retryPolicyType?s.retryPolicyType:bc.retryPolicyType,maxTries:s.maxTries&&s.maxTries>=1?Math.floor(s.maxTries):bc.maxTries,tryTimeoutInMs:s.tryTimeoutInMs&&s.tryTimeoutInMs>=0?s.tryTimeoutInMs:bc.tryTimeoutInMs,retryDelayInMs:s.retryDelayInMs&&s.retryDelayInMs>=0?Math.min(s.retryDelayInMs,s.maxRetryDelayInMs?s.maxRetryDelayInMs:bc.maxRetryDelayInMs):bc.retryDelayInMs,maxRetryDelayInMs:s.maxRetryDelayInMs&&s.maxRetryDelayInMs>=0?s.maxRetryDelayInMs:bc.maxRetryDelayInMs,secondaryHost:s.secondaryHost?s.secondaryHost:bc.secondaryHost}}async sendRequest(e){return this.attemptSendRequest(e,!1,1)}async attemptSendRequest(e,r,s){let n=e.clone(),i=r||!this.retryOptions.secondaryHost||!(e.method==="GET"||e.method==="HEAD"||e.method==="OPTIONS")||s%2===1;i||(n.url=cB(n.url,this.retryOptions.secondaryHost)),this.retryOptions.tryTimeoutInMs&&(n.url=Bc(n.url,Aa.Parameters.TIMEOUT,Math.floor(this.retryOptions.tryTimeoutInMs/1e3).toString()));let a;try{if(Wt.info(`RetryPolicy: =====> Try=${s} ${i?"Primary":"Secondary"}`),a=await this._nextPolicy.sendRequest(n),!this.shouldRetry(i,s,a))return a;r=r||!i&&a.status===404}catch(c){if(Wt.error(`RetryPolicy: Caught error, message: ${c.message}, code: ${c.code}`),!this.shouldRetry(i,s,a,c))throw c}return await this.delay(i,s,e.abortSignal),this.attemptSendRequest(e,r,++s)}shouldRetry(e,r,s,n){if(r>=this.retryOptions.maxTries)return Wt.info(`RetryPolicy: Attempt(s) ${r} >= maxTries ${this.retryOptions.maxTries}, no further try.`),!1;let i=["ETIMEDOUT","ESOCKETTIMEDOUT","ECONNREFUSED","ECONNRESET","ENOENT","ENOTFOUND","TIMEOUT","EPIPE","REQUEST_SEND_ERROR"];if(n){for(let a of i)if(n.name.toUpperCase().includes(a)||n.message.toUpperCase().includes(a)||n.code&&n.code.toString().toUpperCase()===a)return Wt.info(`RetryPolicy: Network error ${a} found, will retry.`),!0}if(s||n){let a=s?s.status:n?n.statusCode:0;if(!e&&a===404)return Wt.info("RetryPolicy: Secondary access with 404, will retry."),!0;if(a===503||a===500)return Wt.info(`RetryPolicy: Will retry for status code ${a}.`),!0}if(s&&s?.status>=400){let a=s.headers.get(oe.X_MS_CopySourceErrorCode);if(a!==void 0)switch(a){case"InternalError":case"OperationTimedOut":case"ServerBusy":return!0}}return n?.code==="PARSE_ERROR"&&n?.message.startsWith('Error "Error: Unclosed root tag')?(Wt.info("RetryPolicy: Incomplete XML response likely due to service timeout, will retry."),!0):!1}async delay(e,r,s){let n=0;if(e)switch(this.retryOptions.retryPolicyType){case bn.EXPONENTIAL:n=Math.min((Math.pow(2,r-1)-1)*this.retryOptions.retryDelayInMs,this.retryOptions.maxRetryDelayInMs);break;case bn.FIXED:n=this.retryOptions.retryDelayInMs;break}else n=Math.random()*1e3;return Wt.info(`RetryPolicy: Delay for ${n}ms`),dB(n,s,O_e)}};var pm=class{static{o(this,"StorageRetryPolicyFactory")}retryOptions;constructor(e){this.retryOptions=e}create(e,r){return new Am(e,r,this.retryOptions)}};var M_e="storageBrowserPolicy";function GK(){return{name:M_e,async sendRequest(t,e){return _e||((t.method==="GET"||t.method==="HEAD")&&(t.url=Bc(t.url,Aa.Parameters.FORCE_BROWSER_NO_CACHE,new Date().getTime().toString())),t.headers.delete(oe.COOKIE),t.headers.delete(oe.CONTENT_LENGTH)),e(t)}}}o(GK,"storageBrowserPolicy");var L_e="StorageCorrectContentLengthPolicy";function HK(){function t(e){e.body&&(typeof e.body=="string"||Buffer.isBuffer(e.body))&&e.body.length>0&&e.headers.set(oe.CONTENT_LENGTH,Buffer.byteLength(e.body))}return o(t,"correctContentLength"),{name:L_e,async sendRequest(e,r){return t(e),r(e)}}}o(HK,"storageCorrectContentLengthPolicy");var F_e="storageRetryPolicy",yA={maxRetryDelayInMs:120*1e3,maxTries:4,retryDelayInMs:4*1e3,retryPolicyType:bn.EXPONENTIAL,secondaryHost:"",tryTimeoutInMs:void 0},U_e=["ETIMEDOUT","ESOCKETTIMEDOUT","ECONNREFUSED","ECONNRESET","ENOENT","ENOTFOUND","TIMEOUT","EPIPE","REQUEST_SEND_ERROR"],q_e=new zs("The operation was aborted.");function VK(t={}){let e=t.retryPolicyType??yA.retryPolicyType,r=t.maxTries??yA.maxTries,s=t.retryDelayInMs??yA.retryDelayInMs,n=t.maxRetryDelayInMs??yA.maxRetryDelayInMs,i=t.secondaryHost??yA.secondaryHost,a=t.tryTimeoutInMs??yA.tryTimeoutInMs;function c({isPrimaryRetry:u,attempt:d,response:A,error:p}){if(d>=r)return Wt.inf Line truncated
`)+`
`+s(n)+i(n),a=(0,Tde.createHmac)("sha256",t.accountKey).update(o,"utf8").digest("base64");n.headers.set(Fe.AUTHORIZATION,`SharedKey ${t.accountName}:${a}`)}function r(n,o){let a=n.headers.get(o);return!a||o===Fe.CONTENT_LENGTH&&a==="0"?"":a}function s(n){let o=[];for(let[c,l]of n.headers)c.toLowerCase().startsWith(Fe.PREFIX_FOR_STORAGE)&&o.push({name:c,value:l});o.sort((c,l)=>wR(c.name.toLowerCase(),l.name.toLowerCase())),o=o.filter((c,l,u)=>!(l>0&&c.name.toLowerCase()===u[l-1].name.toLowerCase()));let a="";return o.forEach(c=>{a+=`${c.name.toLowerCase().trimRight()}:${c.value.trimLeft()}
`}),a}function i(n){let o=CR(n.url)||"/",a="";a+=`/${t.accountName}${o}`;let c=IR(n.url),l={};if(c){let u=[];for(let h in c)if(Object.prototype.hasOwnProperty.call(c,h)){let d=h.toLowerCase();l[d]=c[h],u.push(d)}u.sort();for(let h of u)a+=`
${h}:${decodeURIComponent(l[h])}`}return a}return{name:IXe,async sendRequest(n,o){return e(n),o(n)}}}var bXe="storageRequestFailureDetailsParserPolicy";function _de(){return{name:bXe,async sendRequest(t,e){try{return await e(t)}catch(r){throw typeof r=="object"&&r!==null&&r.response&&r.response.parsedBody&&r.response.parsedBody.code==="InvalidHeaderValue"&&r.response.parsedBody.HeaderName==="x-ms-version"&&(r.message=`The provided service version is not enabled on this storage account. Please see https://learn.microsoft.com/rest/api/storageservices/versioning-for-the-azure-storage-services for additional information.
`),r}}}}var Qde=require("node:crypto"),BR=class{accountName;userDelegationKey;key;constructor(e,r){this.accountName=e,this.userDelegationKey=r,this.key=Buffer.from(r.value,"base64")}computeHMACSHA256(e){return(0,Qde.createHmac)("sha256",this.key).update(e,"utf8").digest("base64")}};var SR="12.31.0",xR="2026-02-06";var NR="https://storage.azure.com/.default",fu={Parameters:{FORCE_BROWSER_NO_CACHE:"_",SIGNATURE:"sig",SNAPSHOT:"snapshot",VERSIONID:"versionid",TIMEOUT:"timeout"}};var Da="",gq="*",wXe=1*1024*1024;var BXe=4*wXe;var Pde="AES256",Ode="DefaultEndpointsProtocol=http;AccountName=devstoreaccount1;AccountKey=Eby8vdM02xNOcqFlqUwJPLlmEtlCDXJ1OUzFT50uSRZ6IFsuFq2UVErCz4I6tq/K1SZFPTOtr/KBHBeksoGMGw==;BlobEndpoint=http://127.0.0.1:10000/devstoreaccount1;",Dde=["Access-Control-Allow-Origin","Cache-Control","Content-Length","Content-Type","Date","Request-Id","traceparent","Transfer-Encoding","User-Agent","x-ms-client-request-id","x-ms-date","x-ms-error-code","x-ms-request-id","x-ms-return-client-request-id","x-ms-version","Accept-Ranges","Content-Disposition","Content-Encoding","Content-Language","Content-MD5","Content-Range","ETag","Last-Modified","Server","Vary","x-ms-content-crc64","x-ms-copy-action","x-ms-copy-completion-time","x-ms-copy-id","x-ms-copy-progress","x-ms-copy-status","x-ms-has-immutability-policy","x-ms-has-legal-hold","x-ms-lease-state","x-ms-lease-status","x-ms-range","x-ms-request-server-encrypted","x-ms-server-encrypted","x-ms-snapshot","x-ms-source-range","If-Match","If-Modified-Since","If-None-Match","If-Unmodified-Since","x-ms-access-tier","x-ms-access-tier-change-time","x-ms-access-tier-inferred","x-ms-account-kind","x-ms-archive-status","x-ms-blob-append-offset","x-ms-blob-cache-control","x-ms-blob-committed-block-count","x-ms-blob-condition-appendpos","x-ms-blob-condition-maxsize","x-ms-blob-content-disposition","x-ms-blob-content-encoding","x-ms-blob-content-language","x-ms-blob-content-length","x-ms-blob-content-md5","x-ms-blob-content-type","x-ms-blob-public-access","x-ms-blob-sequence-number","x-ms-blob-type","x-ms-copy-destination-snapshot","x-ms-creation-time","x-ms-default-encryption-scope","x-ms-delete-snapshots","x-ms-delete-type-permanent","x-ms-deny-encryption-scope-override","x-ms-encryption-algorithm","x-ms-if-sequence-number-eq","x-ms-if-sequence-number-le","x-ms-if-sequence-number-lt","x-ms-incremental-copy","x-ms-lease-action","x-ms-lease-break-period","x-ms-lease-duration","x-ms-lease-id","x-ms-lease-time","x-ms-page-write","x-ms-proposed-lease-id","x-ms-range-get-content-md5","x-ms-rehydrate-priority","x-ms-sequence-number-action","x-ms-sku-name","x-ms-source-content-md5","x-ms-source-if-match","x-ms-source-if-modified-since","x-ms-source-if-none-match","x-ms-source-if-unmodified-since","x-ms-tag-count","x-ms-encryption-key-sha256","x-ms-copy-source-error-code","x-ms-copy-source-status-code","x-ms-if-tags","x-ms-source-if-tags"],kde=["comp","maxresults","rscc","rscd","rsce","rscl","rsct","se","si","sip","sp","spr","sr","srt","ss","st","sv","include","marker","prefix","copyid","restype","blockid","blocklisttype","delimiter","prevsnapshot","ske","skoid","sks","skt","sktid","skv","snapshot"],Mde="BlobUsesCustomerSpecifiedEncryption",Lde="BlobDoesNotUseCustomerSpecifiedEncryption",Ude=["10000","10001","10002","10003","10004","10100","10101","10102","10103","10104","11000","11001","11002","11003","11004","11100","11101","11102","11103","11104"];function pu(t){if(!t||typeof t!="object")return!1;let e=t;return Array.isArray(e.factories)&&typeof e.options=="object"&&typeof e.toServiceClientOptions=="function"}var i0=class{factories;options;constructor(e,r={}){this.factories=e,this.options=r}toServiceClientOptions(){return{httpClient:this.options.httpClient,requestPolicyFactories:this.factories}}};function Or(t,e={}){t||(t=new ir);let r=new i0([],e);return r._credential=t,r}function SXe(t){let e=[xXe,Fde,NXe,RXe,vXe,TXe,QXe];if(t.factories.length){let r=t.factories.filter(s=>!e.some(i=>i(s)));if(r.length){let s=r.some(i=>_Xe(i));return{wrappedPolicies:$F(r),afterRetry:s}}}}function yq(t){let{httpClient:e,...r}=t.options,s=t._coreHttpClient;s||(s=e?jF(e):Aq(),t._coreHttpClient=s);let i=t._corePipeline;if(!i){let n=`azsdk-js-azure-storage-blob/${SR}`,o=r.userAgentOptions&&r.userAgentOptions.userAgentPrefix?`${r.userAgentOptions.userAgentPrefix} ${n}`:`${n}`;i=FI({...r,loggingOptions:{additionalAllowedHeaderNames:Dde,additionalAllowedQueryParameters:kde,logger:pR.info},userAgentOptions:{userAgentPrefix:o},serializationOptions:{stringifyXML:fR,serializerOptions:{xml:{xmlCharKey:"#"}}},deserializationOptions:{parseXML:fq,serializerOptions:{xml:{xmlCharKey:"#"}}}}),i.removePolicy({phase:"Retry"}),i.removePolicy({name:bF}),i.addPolicy(Rde()),i.addPolicy(vde(r.retryOptions),{phase:"Retry"}),i.addPolicy(_de()),i.addPolicy(Nde());let a=SXe(t);a&&i.addPolicy(a.wrappedPolicies,a.afterRetry?{afterPhase:"Retry"}:void 0);let c=Eq(t);Yn(c)?i.addPolicy(tg({credential:c,scopes:r.audience??NR Line truncated
`),n=e.computeHMACSHA256(i);return{sasQueryParameters:new Fa(t.version,n,s,void 0,void 0,t.protocol,t.startsOn,t.expiresOn,t.ipRange,t.identifier,r,t.cacheControl,t.contentDisposition,t.contentEncoding,t.contentLanguage,t.contentType),stringToSign:i}}function x7e(t,e){if(t=up(t),!t.identifier&&!(t.permissions&&t.expiresOn))throw new RangeError("Must provide 'permissions' and 'expiresOn' for Blob SAS generation when 'identifier' is not provided.");let r="c",s=t.snapshotTime;t.blobName&&(r="b",t.snapshotTime?r="bs":t.versionId&&(r="bv",s=t.versionId));let i;t.permissions&&(t.blobName?i=jc.parse(t.permissions.toString()).toString():i=Jc.parse(t.permissions.toString()).toString());let n=[i||"",t.startsOn?Bt(t.startsOn,!1):"",t.expiresOn?Bt(t.expiresOn,!1):"",lp(e.accountName,t.containerName,t.blobName),t.identifier,t.ipRange?Ua(t.ipRange):"",t.protocol?t.protocol:"",t.version,r,s,t.cacheControl?t.cacheControl:"",t.contentDisposition?t.contentDisposition:"",t.contentEncoding?t.contentEncoding:"",t.contentLanguage?t.contentLanguage:"",t.contentType?t.contentType:""].join(`
`),o=e.computeHMACSHA256(n);return{sasQueryParameters:new Fa(t.version,o,i,void 0,void 0,t.protocol,t.startsOn,t.expiresOn,t.ipRange,t.identifier,r,t.cacheControl,t.contentDisposition,t.contentEncoding,t.contentLanguage,t.contentType),stringToSign:n}}function N7e(t,e){if(t=up(t),!t.identifier&&!(t.permissions&&t.expiresOn))throw new RangeError("Must provide 'permissions' and 'expiresOn' for Blob SAS generation when 'identifier' is not provided.");let r="c",s=t.snapshotTime;t.blobName&&(r="b",t.snapshotTime?r="bs":t.versionId&&(r="bv",s=t.versionId));let i;t.permissions&&(t.blobName?i=jc.parse(t.permissions.toString()).toString():i=Jc.parse(t.permissions.toString()).toString());let n=[i||"",t.startsOn?Bt(t.startsOn,!1):"",t.expiresOn?Bt(t.expiresOn,!1):"",lp(e.accountName,t.containerName,t.blobName),t.identifier,t.ipRange?Ua(t.ipRange):"",t.protocol?t.protocol:"",t.version,r,s,t.encryptionScope,t.cacheControl?t.cacheControl:"",t.contentDisposition?t.contentDisposition:"",t.contentEncoding?t.contentEncoding:"",t.contentLanguage?t.contentLanguage:"",t.contentType?t.contentType:""].join(`
`),o=e.computeHMACSHA256(n);return{sasQueryParameters:new Fa(t.version,o,i,void 0,void 0,t.protocol,t.startsOn,t.expiresOn,t.ipRange,t.identifier,r,t.cacheControl,t.contentDisposition,t.contentEncoding,t.contentLanguage,t.contentType,void 0,void 0,void 0,t.encryptionScope),stringToSign:n}}function R7e(t,e){if(t=up(t),!t.permissions||!t.expiresOn)throw new RangeError("Must provide 'permissions' and 'expiresOn' for Blob SAS generation when generating user delegation SAS.");let r="c",s=t.snapshotTime;t.blobName&&(r="b",t.snapshotTime?r="bs":t.versionId&&(r="bv",s=t.versionId));let i;t.permissions&&(t.blobName?i=jc.parse(t.permissions.toString()).toString():i=Jc.parse(t.permissions.toString()).toString());let n=[i||"",t.startsOn?Bt(t.startsOn,!1):"",t.expiresOn?Bt(t.expiresOn,!1):"",lp(e.accountName,t.containerName,t.blobName),e.userDelegationKey.signedObjectId,e.userDelegationKey.signedTenantId,e.userDelegationKey.signedStartsOn?Bt(e.userDelegationKey.signedStartsOn,!1):"",e.userDelegationKey.signedExpiresOn?Bt(e.userDelegationKey.signedExpiresOn,!1):"",e.userDelegationKey.signedService,e.userDelegationKey.signedVersion,t.ipRange?Ua(t.ipRange):"",t.protocol?t.protocol:"",t.version,r,s,t.cacheControl,t.contentDisposition,t.contentEncoding,t.contentLanguage,t.contentType].join(`
`),o=e.computeHMACSHA256(n);return{sasQueryParameters:new Fa(t.version,o,i,void 0,void 0,t.protocol,t.startsOn,t.expiresOn,t.ipRange,t.identifier,r,t.cacheControl,t.contentDisposition,t.contentEncoding,t.contentLanguage,t.contentType,e.userDelegationKey),stringToSign:n}}function v7e(t,e){if(t=up(t),!t.permissions||!t.expiresOn)throw new RangeError("Must provide 'permissions' and 'expiresOn' for Blob SAS generation when generating user delegation SAS.");let r="c",s=t.snapshotTime;t.blobName&&(r="b",t.snapshotTime?r="bs":t.versionId&&(r="bv",s=t.versionId));let i;t.permissions&&(t.blobName?i=jc.parse(t.permissions.toString()).toString():i=Jc.parse(t.permissions.toString()).toString());let n=[i||"",t.startsOn?Bt(t.startsOn,!1):"",t.expiresOn?Bt(t.expiresOn,!1):"",lp(e.accountName,t.containerName,t.blobName),e.userDelegationKey.signedObjectId,e.userDelegationKey.signedTenantId,e.userDelegationKey.signedStartsOn?Bt(e.userDelegationKey.signedStartsOn,!1):"",e.userDelegationKey.signedExpiresOn?Bt(e.userDelegationKey.signedExpiresOn,!1):"",e.userDelegationKey.signedService,e.userDelegationKey.signedVersion,t.preauthorizedAgentObjectId,void 0,t.correlationId,t.ipRange?Ua(t.ipRange):"",t.protocol?t.protocol:"",t.version,r,s,t.cacheControl,t.contentDisposition,t.contentEncoding,t.contentLanguage,t.contentType].join(`
`),o=e.computeHMACSHA256(n);return{sasQueryParameters:new Fa(t.version,o,i,void 0,void 0,t.protocol,t.startsOn,t.expiresOn,t.ipRange,t.identifier,r,t.cacheControl,t.contentDisposition,t.contentEncoding,t.contentLanguage,t.contentType,e.userDelegationKey,t.preauthorizedAgentObjectId,t.correlationId),stringToSign:n}}function T7e(t,e){if(t=up(t),!t.permissions||!t.expiresOn)throw new RangeError("Must provide 'permissions' and 'expiresOn' for Blob SAS generation when generating user delegation SAS.");let r="c",s=t.snapshotTime;t.blobName&&(r="b",t.snapshotTime?r="bs":t.versionId&&(r="bv",s=t.versionId));let i;t.permissions&&(t.blobName?i=jc.parse(t.permissions.toString()).toString():i=Jc.parse(t.permissions.toString()).toString());let n=[i||"",t.startsOn?Bt(t.startsOn,!1):"",t.expiresOn?Bt(t.expiresOn,!1):"",lp(e.accountName,t.containerName,t.blobName),e.userDelegationKey.signedObjectId,e.userDelegationKey.signedTenantId,e.userDelegationKey.signedStartsOn?Bt(e.userDelegationKey.signedStartsOn,!1):"",e.userDelegationKey.signedExpiresOn?Bt(e.userDelegationKey.signedExpiresOn,!1):"",e.userDelegationKey.signedService,e.userDelegationKey.signedVersion,t.preauthorizedAgentObjectId,void 0,t.correlationId,t.ipRange?Ua(t.ipRange):"",t.protocol?t.protocol:"",t.version,r,s,t.encryptionScope,t.cacheControl,t.contentDisposition,t.contentEncoding,t.contentLanguage,t.contentType].join(`
`),o=e.computeHMACSHA256(n);return{sasQueryParameters:new Fa(t.version,o,i,void 0,void 0,t.protocol,t.startsOn,t.expiresOn,t.ipRange,t.identifier,r,t.cacheControl,t.contentDisposition,t.contentEncoding,t.contentLanguage,t.contentType,e.userDelegationKey,t.preauthorizedAgentObjectId,t.correlationId,t.encryptionScope),stringToSign:n}}function _7e(t,e){if(t=up(t),!t.permissions||!t.expiresOn)throw new RangeError("Must provide 'permissions' and 'expiresOn' for Blob SAS generation when generating user delegation SAS.");let r="c",s=t.snapshotTime;t.blobName&&(r="b",t.snapshotTime?r="bs":t.versionId&&(r="bv",s=t.versionId));let i;t.permissions&&(t.blobName?i=jc.parse(t.permissions.toString()).toString():i=Jc.parse(t.permissions.toString()).toString());let n=[i||"",t.startsOn?Bt(t.startsOn,!1):"",t.expiresOn?Bt(t.expiresOn,!1):"",lp(e.accountName,t.containerName,t.blobName),e.userDelegationKey.signedObjectId,e.userDelegationKey.signedTenantId,e.userDelegationKey.signedStartsOn?Bt(e.userDelegationKey.signedStartsOn,!1):"",e.userDelegationKey.signedExpiresOn?Bt(e.userDelegationKey.signedExpiresOn,!1):"",e.userDelegationKey.signedService,e.userDelegationKey.signedVersion,t.preauthorizedAgentObjectId,void 0,t.correlationId,void 0,t.delegatedUserObjectId,t.ipRange?Ua(t.ipRange):"",t.protocol?t.protocol:"",t.version,r,s,t.encryptionScope,t.cacheControl,t.contentDisposition,t.contentEncoding,t.contentLanguage,t.contentType].join(`
`),o=e.computeHMACSHA256(n);return{sasQueryParameters:new Fa(t.version,o,i,void 0,void 0,t.protocol,t.startsOn,t.expiresOn,t.ipRange,t.identifier,r,t.cacheControl,t.contentDisposition,t.contentEncoding,t.contentLanguage,t.contentType,e.userDelegationKey,t.preauthorizedAgentObjectId,t.correlationId,t.encryptionScope,t.delegatedUserObjectId),stringToSign:n}}function lp(t,e,r){let s=[`/blob/${t}/${e}`];return r&&s.push(`/${r}`),s.join("")}function up(t){let e=t.version?t.version:xR;if(t.snapshotTime&&e<"2018-11-09")throw RangeError("'version' must be >= '2018-11-09' when providing 'snapshotTime'.");if(t.blobName===void 0&&t.snapshotTime)throw RangeError("Must provide 'blobName' when providing 'snapshotTime'.");if(t.versionId&&e<"2019-10-10")throw RangeError("'version' must be >= '2019-10-10' when providing 'versionId'.");if(t.blobName===void 0&&t.versionId)throw RangeError("Must provide 'blobName' when providing 'versionId'.");if(t.permissions&&t.permissions.setImmutabilityPolicy&&e<"2020-08-04")throw RangeError("'version' must be >= '2020-08-04' when provided 'i' permission.");if(t.permissions&&t.permissions.deleteVersion&&e<"2019-10-10")throw RangeError("'version' must be >= '2019-10-10' when providing 'x' permission.");if(t.permissions&&t.permissions.permanentDelete&&e<"2019-10-10")throw RangeError("'version' must be >= '2019-10-10' when providing 'y' permission.");if(t.permissions&&t.permissions.tag&&e<"2019-12-12")throw RangeError("'version' must be >= '2019-12-12' when providing 't' permission.");if(e<"2020-02-10"&&t.permissions&&(t.permissions.move||t.permissions.execute))throw RangeError("'version' must be >= '2020-02-10' when providing the 'm' or 'e' permission.");if(e<"2021-04-10"&&t.permissions&&t.permissions.filterByTags)throw RangeError("'version' must be >= '2021-04-10' when providing the 'f' permission.");if(e<"2020-02-10"&&(t.preauthorizedAgentObjectId||t.correlationId))throw RangeError("'version' must be >= '2020-02-10' when providing 'preauthorizedAgentObjectId' or 'correlationId'.");if(t.encryptionScope&&e<"2020-12-06")throw RangeError("'version' must be >= '2020-12-06' when provided 'encryptionScope' in SAS.");return t.version=e,t}var m0=class{_leaseId;_url;_containerOrBlobOperation;_isContainer;get leaseId(){return this._leaseId}get url(){return this._url}constructor(e,r){let s=e.storageClientContext;this._url=e.url,e.name===void 0?(this._isContainer=!0,this._containerOrBlobOperation=s.container):(this._isContainer=!1,this._containerOrBlobOperation=s.blob),r||(r=Zm()),this._leaseId=r}async acquireLease(e,r={}){if(this._isContainer&&(r.conditions?.ifMatch&&r.conditions?.ifMatch!==Da||r.conditions?.ifNoneMatch&&r.conditions?.ifNoneMatch!==Da||r.conditions?.tagConditions))throw new RangeError("The IfMatch, IfNoneMatch and tags access conditions are ignored by the service. Values other than undefined or their default values are not acceptable.");return Be.withSpan("BlobLeaseClient-acquireLease",r,async s=>Ne(await this._containerOrBlobOperation.acquireLease({abortSignal:r.abortSignal,duration:e,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},proposedLeaseId:this._leaseId,tracingOptions:s.tracingOptions})))}async changeLease(e,r={}){if(this._isContainer&&(r.conditions?.ifMatch&&r.conditions?.ifMatch!==Da||r.conditions?.ifNoneMatch&&r.conditions?.ifNoneMatch!==Da||r.conditions?.tagConditions))throw new RangeError("The IfMatch, IfNoneMatch and tags access conditions are ignored by the service. Values other than undefined or their default values are not acceptable.");return Be.withSpan("BlobLeaseClient-changeLease",r,async s=>{let i=Ne(await this._containerOrBlobOperation.changeLease(this._leaseId,e,{abortSignal:r.abortSignal,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},tracingOptions:s.tracingOptions}));return this._leaseId=e,i})}async releaseLease(e={}){if(this._isContainer&&(e.conditions?.ifMatch&&e.conditions?.ifMatch!==Da||e.conditions?.ifNoneMatch&&e.conditions?.ifNoneMatch!==Da||e.conditions?.tagConditions))throw new RangeError("The IfMatch, IfNoneMatch and tags access conditions are ignored by the service. Values other than undefined or their default values are not acceptable.");return Be.withSpan("BlobLeaseClient-releaseLease",e,async r=>Ne(await this._containerOrBlobOperation.releaseLease(this._leaseId,{abortSignal:e.abortSignal,modifiedAccessConditions:{...e.conditions,ifTags:e.conditions?.tagConditions},tracingOptions:r.tracingOptions})))}async renewLease(e={}){if(this._isContainer&&(e.conditions?.ifMatch&&e.conditions?.ifMatch!==Da||e.conditions?.ifNoneMatch&&e.conditions?.ifNoneMatch!==Da||e.conditions?.tagConditions))throw new RangeError("The IfMatch, IfNoneMatch and tags access conditions are ignored by the service. Values other than undefined or their default values are not acceptable.");return Be.withSpan("BlobLeaseClient-renewLease",e,async r=>this._containerOrBlobOperation.renewLease(this._leaseId,{abortSignal:e.ab Line truncated
If you are using self-hosted runners, please make sure your runner has access to all GitHub endpoints: https://docs.github.com/en/actions/hosting-your-own-runners/managing-self-hosted-runners/about-self-hosted-runners#communication-between-self-hosted-runners-and-github`;super(r),this.code=e,this.name="NetworkError"}};Eg.isNetworkErrorCode=t=>t?["ECONNRESET","ENOTFOUND","ETIMEDOUT","ECONNREFUSED","EHOSTUNREACH"].includes(t):!1;var pp=class extends Error{constructor(){super(`Cache storage quota has been hit. Unable to upload any new cache entries.
More info on storage limits: https://docs.github.com/en/billing/managing-billing-for-github-actions/about-billing-for-github-actions#calculating-minute-and-storage-spending`),this.name="UsageError"}};pp.isUsageErrorMessage=t=>t?t.includes("insufficient usage"):!1;var x0=class extends Error{constructor(e){super(e),this.name="RateLimitError"}};var Tet=function(t,e,r,s){function i(n){return n instanceof r?n:new r(function(o){o(n)})}return new(r||(r=Promise))(function(n,o){function a(u){try{l(s.next(u))}catch(h){o(h)}}function c(u){try{l(s.throw(u))}catch(h){o(h)}}function l(u){u.done?n(u.value):i(u.value).then(a,c)}l((s=s.apply(t,e||[])).next())})},n8=class{constructor(e){this.contentLength=e,this.sentBytes=0,this.displayedComplete=!1,this.startTime=Date.now()}setSentBytes(e){this.sentBytes=e}getTransferredBytes(){return this.sentBytes}isDone(){return this.getTransferredBytes()===this.contentLength}display(){if(this.displayedComplete)return;let e=this.sentBytes,r=(100*(e/this.contentLength)).toFixed(1),s=Date.now()-this.startTime,i=(e/(1024*1024)/(s/1e3)).toFixed(1);jr(`Sent ${e} of ${this.contentLength} (${r}%), ${i} MBs/sec`),this.isDone()&&(this.displayedComplete=!0)}onProgress(){return e=>{this.setSentBytes(e.loadedBytes)}}startDisplayTimer(e=1e3){let r=()=>{this.display(),this.isDone()||(this.timeoutHandle=setTimeout(r,e))};this.timeoutHandle=setTimeout(r,e)}stopDisplayTimer(){this.timeoutHandle&&(clearTimeout(this.timeoutHandle),this.timeoutHandle=void 0),this.display()}};function Hpe(t,e,r){return Tet(this,void 0,void 0,function*(){var s;let i=new Iu(t),n=i.getBlockBlobClient(),o=new n8((s=r?.archiveSizeBytes)!==null&&s!==void 0?s:0),a={blockSize:r?.uploadChunkSize,concurrency:r?.uploadConcurrency,maxSingleShotSize:128*1024*1024,onProgress:o.onProgress()};try{o.startDisplayTimer(),se(`BlobClient: ${i.name}:${i.accountName}:${i.containerName}`);let c=yield n.uploadFile(e,a);if(c._response.status>=400)throw new _v(`uploadCacheArchiveSDK: upload failed with status code ${c._response.status}`);return c}catch(c){throw _a(`uploadCacheArchiveSDK: internal error uploading cache archive: ${c.message}`),c}finally{o.stopDisplayTimer()}})}var Vpe=O(require("buffer"),1),Yc=O(require("fs"),1),$pe=O(require("stream"),1),jpe=O(require("util"),1);var Qv=function(t,e,r,s){function i(n){return n instanceof r?n:new r(function(o){o(n)})}return new(r||(r=Promise))(function(n,o){function a(u){try{l(s.next(u))}catch(h){o(h)}}function c(u){try{l(s.throw(u))}catch(h){o(h)}}function l(u){u.done?n(u.value):i(u.value).then(a,c)}l((s=s.apply(t,e||[])).next())})};function Pv(t){return t?t>=200&&t<300:!1}function _et(t){return t?t>=500:!0}function Qet(t){return t?[mr.BadGateway,mr.ServiceUnavailable,mr.GatewayTimeout].includes(t):!1}function Pet(t){return Qv(this,void 0,void 0,function*(){return new Promise(e=>setTimeout(e,t))})}function zpe(t,e,r){return Qv(this,arguments,void 0,function*(s,i,n,o=iN,a=nN,c=void 0){let l="",u=1;for(;u<=o;){let h,d,f=!1;try{h=yield i()}catch(p){c&&(h=c(p)),f=!0,l=p.message}if(h&&(d=n(h),!_et(d)))return h;if(d&&(f=Qet(d),l=`Cache service responded with ${d}`),se(`${s} - Attempt ${u} of ${o} failed with error: ${l}`),!f){se(`${s} - Error is not retryable`);break}yield Pet(a),u++}throw Error(`${s} failed: ${l}`)})}function N0(t,e){return Qv(this,arguments,void 0,function*(r,s,i=iN,n=nN){return yield zpe(r,s,o=>o.statusCode,i,n,o=>{if(o instanceof Ic)return{statusCode:o.statusCode,result:null,headers:{},error:o}})})}function Cg(t,e){return Qv(this,arguments,void 0,function*(r,s,i=iN,n=nN){return yield zpe(r,s,o=>o.message.statusCode,i,n)})}var zo=function(t,e,r,s){function i(n){return n instanceof r?n:new r(function(o){o(n)})}return new(r||(r=Promise))(function(n,o){function a(u){try{l(s.next(u))}catch(h){o(h)}}function c(u){try{l(s.throw(u))}catch(h){o(h)}}function l(u){u.done?n(u.value):i(u.value).then(a,c)}l((s=s.apply(t,e||[])).next())})};function Oet(t,e){return zo(this,void 0,void 0,function*(){yield jpe.promisify($pe.pipeline)(t.message,e)})}var Ov=class{constructor(e){this.contentLength=e,this.segmentIndex=0,this.segmentSize=0,this.segmentOffset=0,this.receivedBytes=0,this.displayedComplete=!1,this.startTime=Date.now()}nextSegment(e){this.segmentOffset=this.segmentOffset+this.segmentSize,this.segmentIndex=this.segmentIndex+1,this.segmentSize=e,this.receivedBytes=0,se(`Downloading segment at offset ${this.segmentOffset} with length ${this.segmentSize}...`)}setReceivedBytes(e){this.receivedBytes=e}getTransferredBytes(){return this.segmentOffset+this.receivedBytes}isDone(){return this.getTransferredBytes()===this.contentLength}display(){if(this.displayedComplete)return;let e=this.segmentOffset+this.receivedBytes,r=(100*(e/this.contentLength)).toFixed(1),s=Date.now()-this.startTime,i=(e/(1024*1024)/(s/1e3)).toFixed(1);jr(`Received ${e} of ${this.contentLength} (${r}%), ${i} MBs/sec`),this.isDone()&&(this.displayedComplete=!0)}onProgress(){return e=>{this.setReceivedBytes(e.loadedBytes)}}startDisplayTi Line truncated
Other caches with similar key:`);for(let a of n?.artifactCaches||[])se(`Cache Key: ${a?.cacheKey}, Cache Version: ${a?.cacheVersion}, Cache Scope: ${a?.scope}, Cache Created: ${a?.creationTime}`)}}})}function l8(t,e,r){return dn(this,void 0,void 0,function*(){let s=new sAe.URL(t),i=Kpe(r);s.hostname.endsWith(".blob.core.windows.net")?i.useAzureSdk?yield Ype(t,e,i):i.concurrentBlobDownloads?yield Jpe(t,e,i):yield Dv(t,e):yield Dv(t,e)})}function nAe(t,e,r){return dn(this,void 0,void 0,function*(){let s=c8(),i=zm(e,r?.compressionMethod,r?.enableCrossOsArchive),n={key:t,version:i,cacheSize:r?.cacheSize};return yield N0("reserveCache",()=>dn(this,void 0,void 0,function*(){return s.postJson(v0("caches"),n)}))})}function rAe(t,e){return`bytes ${t}-${e}/*`}function Get(t,e,r,s,i){return dn(this,void 0,void 0,function*(){se(`Uploading chunk of size ${i-s+1} bytes at offset ${s} with content range: ${rAe(s,i)}`);let n={"Content-Type":"application/octet-stream","Content-Range":rAe(s,i)},o=yield Cg(`uploadChunk (start: ${s}, end: ${i})`,()=>dn(this,void 0,void 0,function*(){return t.sendStream("PATCH",e,r(),n)}));if(!Pv(o.message.statusCode))throw new Error(`Cache service responded with ${o.message.statusCode} during upload chunk.`)})}function Het(t,e,r,s){return dn(this,void 0,void 0,function*(){let i=Cc(r),n=v0(`caches/${e.toString()}`),o=Ig.openSync(r,"r"),a=o8(s),c=OU("uploadConcurrency",a.uploadConcurrency),l=OU("uploadChunkSize",a.uploadChunkSize),u=[...new Array(c).keys()];se("Awaiting all uploads");let h=0;try{yield Promise.all(u.map(()=>dn(this,void 0,void 0,function*(){for(;h<i;){let d=Math.min(i-h,l),f=h,p=h+d-1;h+=l,yield Get(t,n,()=>Ig.createReadStream(r,{fd:o,start:f,end:p,autoClose:!1}).on("error",m=>{throw new Error(`Cache upload failed because file read failed with ${m.message}`)}),f,p)}})))}finally{Ig.closeSync(o)}})}function zet(t,e,r){return dn(this,void 0,void 0,function*(){let s={size:r};return yield N0("commitCache",()=>dn(this,void 0,void 0,function*(){return t.postJson(v0(`caches/${e.toString()}`),s)}))})}function u8(t,e,r,s){return dn(this,void 0,void 0,function*(){if(o8(s).useAzureSdk){if(!r)throw new Error("Azure Storage SDK can only be used when a signed URL is provided.");yield Hpe(r,e,s)}else{let n=c8();se("Upload cache"),yield Het(n,t,e,s),se("Commiting cache");let o=Cc(e);jr(`Cache Size: ~${Math.round(o/(1024*1024))} MB (${o} B)`);let a=yield zet(n,t,o);if(!Pv(a.statusCode))throw new Error(`Cache service responded with ${a.statusCode} during commit cache.`);jr("Cache saved successfully")}})}var ZAe=O($Ae(),1),Mr=O(kr(),1),eo=O(kr(),1),Ep=O(kr(),1),Cp=O(kr(),1),Ip=O(kr(),1);var iz=O(kr(),1),nz=O(kr(),1),WAe=O(kr(),1),KAe=O(kr(),1),XAe=O(kr(),1);var tz=O(kr(),1),rz=O(kr(),1),jAe=O(kr(),1),JAe=O(kr(),1),YAe=O(kr(),1),sz=class extends YAe.MessageType{constructor(){super("github.actions.results.entities.v1.CacheScope",[{no:1,name:"scope",kind:"scalar",T:9},{no:2,name:"permission",kind:"scalar",T:3}])}create(e){let r={scope:"",permission:"0"};return globalThis.Object.defineProperty(r,JAe.MESSAGE_TYPE,{enumerable:!1,value:this}),e!==void 0&&(0,jAe.reflectionMergePartial)(this,r,e),r}internalBinaryRead(e,r,s,i){let n=i??this.create(),o=e.pos+r;for(;e.pos<o;){let[a,c]=e.tag();switch(a){case 1:n.scope=e.string();break;case 2:n.permission=e.int64().toString();break;default:let l=s.readUnknownField;if(l==="throw")throw new globalThis.Error(`Unknown field ${a} (wire type ${c}) for ${this.typeName}`);let u=e.skip(c);l!==!1&&(l===!0?rz.UnknownFieldHandler.onRead:l)(this.typeName,n,a,c,u)}}return n}internalBinaryWrite(e,r,s){e.scope!==""&&r.tag(1,tz.WireType.LengthDelimited).string(e.scope),e.permission!=="0"&&r.tag(2,tz.WireType.Varint).int64(e.permission);let i=s.writeUnknownFields;return i!==!1&&(i==!0?rz.UnknownFieldHandler.onWrite:i)(this.typeName,e,r),r}},bT=new sz;var oz=class extends XAe.MessageType{constructor(){super("github.actions.results.entities.v1.CacheMetadata",[{no:1,name:"repository_id",kind:"scalar",T:3},{no:2,name:"scope",kind:"message",repeat:1,T:()=>bT}])}create(e){let r={repositoryId:"0",scope:[]};return globalThis.Object.defineProperty(r,KAe.MESSAGE_TYPE,{enumerable:!1,value:this}),e!==void 0&&(0,WAe.reflectionMergePartial)(this,r,e),r}internalBinaryRead(e,r,s,i){let n=i??this.create(),o=e.pos+r;for(;e.pos<o;){let[a,c]=e.tag();switch(a){case 1:n.repositoryId=e.int64().toString();break;case 2:n.scope.push(bT.internalBinaryRead(e,e.uint32(),s));break;default:let l=s.readUnknownField;if(l==="throw")throw new globalThis.Error(`Unknown field ${a} (wire type ${c}) for ${this.typeName}`);let u=e.skip(c);l!==!1&&(l===!0?nz.UnknownFieldHandler.onRead:l)(this.typeName,n,a,c,u)}}return n}internalBinaryWrite(e,r,s){e.repositoryId!=="0"&&r.tag(1,iz.WireType.Varint).int64(e.repositoryId);for(let n=0;n<e.scope.length;n++)bT.internalBinaryWrite(e.scope[n],r.tag(2,iz.WireType.LengthDelimited).fork(),s).join();let i=s.writeUnknownFields;return i!==!1&&(i==!0?nz.UnknownFieldHandler.onWrite:i)(th Line truncated
`));let s=yield Iz(r,"create");yield bz(s,t)})}var Lg=function(t,e,r,s){function i(n){return n instanceof r?n:new r(function(o){o(n)})}return new(r||(r=Promise))(function(n,o){function a(u){try{l(s.next(u))}catch(h){o(h)}}function c(u){try{l(s.throw(u))}catch(h){o(h)}}function l(u){u.done?n(u.value):i(u.value).then(a,c)}l((s=s.apply(t,e||[])).next())})},Ha=class t extends Error{constructor(e){super(e),this.name="ValidationError",Object.setPrototypeOf(this,t.prototype)}},Mg=class t extends Error{constructor(e){super(e),this.name="ReserveCacheError",Object.setPrototypeOf(this,t.prototype)}},xT=class t extends Error{constructor(e){super(e),this.name="FinalizeCacheError",Object.setPrototypeOf(this,t.prototype)}};function sme(t){if(!t||t.length===0)throw new Ha("Path Validation Error: At least one directory or file path is required")}function Sz(t){if(t.length>512)throw new Ha(`Key Validation Error: ${t} cannot be larger than 512 characters.`);if(!/^[^,]*$/.test(t))throw new Ha(`Key Validation Error: ${t} cannot contain commas.`)}function xz(){return R0()==="v2"?!!process.env.ACTIONS_RESULTS_URL:!!process.env.ACTIONS_CACHE_URL}function ime(t,e,r,s){return Lg(this,arguments,void 0,function*(i,n,o,a,c=!1){let l=R0();return se(`Cache service version: ${l}`),sme(i),l==="v2"?yield nst(i,n,o,a,c):yield ist(i,n,o,a,c)})}function ist(t,e,r,s){return Lg(this,arguments,void 0,function*(i,n,o,a,c=!1){o=o||[];let l=[n,...o];if(se("Resolved Keys:"),se(JSON.stringify(l)),l.length>10)throw new Ha("Key Validation Error: Keys are limited to a maximum of 10.");for(let d of l)Sz(d);let u=yield xI(),h="";try{let d=yield iAe(l,i,{compressionMethod:u,enableCrossOsArchive:c});if(!d?.archiveLocation)return;if(a?.lookupOnly)return jr("Lookup only - skipping download"),d.cacheKey;h=V0.join(yield BI(),Kh(u)),se(`Archive Path: ${h}`),yield l8(d.archiveLocation,h,a),Df()&&(yield z0(h,u));let f=Cc(h);return jr(`Cache Size: ~${Math.round(f/(1024*1024))} MB (${f} B)`),yield wz(h,u),jr("Cache restored successfully"),d.cacheKey}catch(d){let f=d;if(f.name===Ha.name)throw d;f instanceof Ic&&typeof f.statusCode=="number"&&f.statusCode>=500?lI(`Failed to restore: ${d.message}`):_a(`Failed to restore: ${d.message}`)}finally{try{yield SI(h)}catch(d){se(`Failed to delete archive: ${d}`)}}})}function nst(t,e,r,s){return Lg(this,arguments,void 0,function*(i,n,o,a,c=!1){a=Object.assign(Object.assign({},a),{useAzureSdk:!0}),o=o||[];let l=[n,...o];if(se("Resolved Keys:"),se(JSON.stringify(l)),l.length>10)throw new Ha("Key Validation Error: Keys are limited to a maximum of 10.");for(let h of l)Sz(h);let u="";try{let h=Cz(),d=yield xI(),f={key:n,restoreKeys:o,version:zm(i,d,c)},p=yield h.GetCacheEntryDownloadURL(f);if(!p.ok){se(`Cache not found for version ${f.version} of keys: ${l.join(", ")}`);return}if(f.key!==p.matchedKey?jr(`Cache hit for restore-key: ${p.matchedKey}`):jr(`Cache hit for: ${p.matchedKey}`),a?.lookupOnly)return jr("Lookup only - skipping download"),p.matchedKey;u=V0.join(yield BI(),Kh(d)),se(`Archive path: ${u}`),se(`Starting download of archive to: ${u}`),yield l8(p.signedDownloadUrl,u,a);let E=Cc(u);return jr(`Cache Size: ~${Math.round(E/(1024*1024))} MB (${E} B)`),Df()&&(yield z0(u,d)),yield wz(u,d),jr("Cache restored successfully"),p.matchedKey}catch(h){let d=h;if(d.name===Ha.name)throw h;d instanceof Ic&&typeof d.statusCode=="number"&&d.statusCode>=500?lI(`Failed to restore: ${h.message}`):_a(`Failed to restore: ${h.message}`)}finally{try{u&&(yield SI(u))}catch(h){se(`Failed to delete archive: ${h}`)}}})}function Nz(t,e,r){return Lg(this,arguments,void 0,function*(s,i,n,o=!1){let a=R0();return se(`Cache service version: ${a}`),sme(s),Sz(i),a==="v2"?yield ast(s,i,n,o):yield ost(s,i,n,o)})}function ost(t,e,r){return Lg(this,arguments,void 0,function*(s,i,n,o=!1){var a,c,l,u,h;let d=yield xI(),f=-1,p=yield PU(s);if(se("Cache Paths:"),se(`${JSON.stringify(p)}`),p.length===0)throw new Error("Path Validation Error: Path(s) specified in the action for caching do(es) not exist, hence no cache is being saved.");let m=yield BI(),E=V0.join(m,Kh(d));se(`Archive Path: ${E}`);try{yield Bz(m,p,d),Df()&&(yield z0(E,d));let y=10*1024*1024*1024,C=Cc(E);if(se(`File Size: ${C}`),C>y&&!a8())throw new Error(`Cache size of ~${Math.round(C/(1024*1024))} MB (${C} B) is over the 10GB limit, not saving cache.`);se("Reserving Cache");let w=yield nAe(i,s,{compressionMethod:d,enableCrossOsArchive:o,cacheSize:C});if(!((a=w?.result)===null||a===void 0)&&a.cacheId)f=(c=w?.result)===null||c===void 0?void 0:c.cacheId;else throw w?.statusCode===400?new Error((u=(l=w?.error)===null||l===void 0?void 0:l.message)!==null&&u!==void 0?u:`Cache size of ~${Math.round(C/(1024*1024))} MB (${C} B) is over the data cap limit, not saving cache.`):new Mg(`Unable to reserve cache with key ${i}, another job may be creating this cache. More details: ${(h=w?.error)===null||h===void 0?void 0:h.message}`);se(`Saving Cache (ID: ${f})`),yield u8(f,E,"",n)}catch(y){let C=y;if(C.name===Ha.nam Line truncated
`,o).length:h,l?(a===null?0:a.length)+c.length:0,l?c.length+h:0);return d<f},parse:function(s,i,n,o){let{bom:a,comment_no_infix:c,encoding:l,from_line:u,ltrim:h,max_record_size:d,raw:f,relax_quotes:p,rtrim:m,skip_empty_lines:E,to:y,to_line:C}=this.options,{comment:w,escape:S,quote:N,record_delimiter:P}=this.options,{bomSkipped:Q,previousBuf:k,rawBuffer:G,escapeIsQuote:X}=this.state,L;if(k===void 0)if(s===void 0){o();return}else L=s;else k!==void 0&&s===void 0?L=k:L=Buffer.concat([k,s]);if(Q===!1)if(a===!1)this.state.bomSkipped=!0;else if(L.length<3){if(i===!1){this.state.previousBuf=L;return}}else{for(let V in Kg)if(Kg[V].compare(L,0,Kg[V].length)===0){let re=Kg[V].length;this.state.bufBytesStart+=re,L=L.slice(re);let _e=TV({...this.original_options,encoding:V});for(let we in _e)this.options[we]=_e[we];({comment:w,escape:S,quote:N}=this.options);break}this.state.bomSkipped=!0}let U=L.length,q;for(q=0;q<U&&!this.__needMoreData(q,U,i);q++){if(this.state.wasRowDelimiter===!0&&(this.info.lines++,this.state.wasRowDelimiter=!1),C!==-1&&this.info.lines>C){this.state.stop=!0,o();return}this.state.quoting===!1&&P.length===0&&this.__autoDiscoverRecordDelimiter(L,q)&&(P=this.options.record_delimiter);let V=L[q];if(f===!0&&G.append(V),(V===xot||V===Not)&&this.state.wasRowDelimiter===!1&&(this.state.wasRowDelimiter=!0),this.state.escaping===!0)this.state.escaping=!1;else{if(S!==null&&this.state.quoting===!0&&this.__isEscape(L,q,V)&&q+S.length<U)if(X){if(this.__isQuote(L,q+S.length)){this.state.escaping=!0,q+=S.length-1;continue}}else{this.state.escaping=!0,q+=S.length-1;continue}if(this.state.commenting===!1&&this.__isQuote(L,q))if(this.state.quoting===!0){let we=L[q+N.length],le=m&&this.__isCharTrimable(L,q+N.length),ct=w!==null&&this.__compareBytes(w,L,q+N.length,we),Ze=this.__isDelimiter(L,q+N.length,we),Et=P.length===0?this.__autoDiscoverRecordDelimiter(L,q+N.length):this.__isRecordDelimiter(we,L,q+N.length);if(S!==null&&this.__isEscape(L,q,V)&&this.__isQuote(L,q+S.length))q+=S.length-1;else if(!we||Ze||Et||ct||le){this.state.quoting=!1,this.state.wasQuoting=!0,q+=N.length-1;continue}else if(p===!1){let Pe=this.__error(new gt("CSV_INVALID_CLOSING_QUOTE",["Invalid Closing Quote:",`got "${String.fromCharCode(we)}"`,`at line ${this.info.lines}`,"instead of delimiter, record delimiter, trimable character","(if activated) or comment"],this.options,this.__infoField()));if(Pe!==void 0)return Pe}else this.state.quoting=!1,this.state.wasQuoting=!0,this.state.field.prepend(N),q+=N.length-1}else if(this.state.field.length!==0){if(p===!1){let we=this.__infoField(),le=Object.keys(Kg).map(Ze=>Kg[Ze].equals(this.state.field.toString())?Ze:!1).filter(Boolean)[0],ct=this.__error(new gt("INVALID_OPENING_QUOTE",["Invalid Opening Quote:",`a quote is found on field ${JSON.stringify(we.column)} at line ${we.lines}, value is ${JSON.stringify(this.state.field.toString(l))}`,le?`(${le} bom)`:void 0],this.options,we,{field:this.state.field}));if(ct!==void 0)return ct}}else{this.state.quoting=!0,q+=N.length-1;continue}if(this.state.quoting===!1){let we=this.__isRecordDelimiter(V,L,q);if(we!==0){if(this.state.commenting&&this.state.wasQuoting===!1&&this.state.record.length===0&&this.state.field.length===0)this.info.comment_lines++;else{if(this.state.enabled===!1&&this.info.lines+(this.state.wasRowDelimiter===!0?1:0)>=u){this.state.enabled=!0,this.__resetField(),this.__resetRecord(),q+=we-1;continue}if(E===!0&&this.state.wasQuoting===!1&&this.state.record.length===0&&this.state.field.length===0){this.info.empty_lines++,q+=we-1;continue}this.info.bytes=this.state.bufBytesStart+q;let Ze=this.__onField();if(Ze!==void 0)return Ze;this.info.bytes=this.state.bufBytesStart+q+we;let Et=this.__onRecord(n);if(Et!==void 0)return Et;if(y!==-1&&this.info.records>=y){this.state.stop=!0,o();return}}this.state.commenting=!1,q+=we-1;continue}if(this.state.commenting)continue;if(w!==null&&(c===!1||this.state.record.length===0&&this.state.field.length===0)&&this.__compareBytes(w,L,q,V)!==0){this.state.commenting=!0;continue}let le=this.__isDelimiter(L,q,V);if(le!==0){this.info.bytes=this.state.bufBytesStart+q;let ct=this.__onField();if(ct!==void 0)return ct;q+=le-1;continue}}}if(this.state.commenting===!1&&d!==0&&this.state.record_length+this.state.field.length>d)return this.__error(new gt("CSV_MAX_RECORD_SIZE",["Max Record Size:","record exceed the maximum number of tolerated bytes",`of ${d}`,`at line ${this.info.lines}`],this.options,this.__infoField()));let re=h===!1||this.state.quoting===!0||this.state.field.length!==0||!this.__isCharTrimable(L,q),_e=m===!1||this.state.wasQuoting===!1;if(re===!0&&_e===!0)this.state.field.append(V);else{if(m===!0&&!this.__isCharTrimable(L,q))return this.__error(new gt("CSV_NON_TRIMABLE_CHAR_AFTER_CLOSING_QUOTE",["Invalid Closing Quote:","found non trimable byte after quote",`at line ${this.info.lines}`],this.options,this.__infoField()));re===!1&&(q+=this.__isCharTrimable(L,q)-1);continue}}if(i===!0)if(this.state.quoting===!0) Line truncated
`,n),Buffer.from(`
`,n),Buffer.from("\r",n)];e:for(let a=0;a<o.length;a++){let c=o[a].length;for(let l=0;l<c;l++)if(o[a][l]!==s[i+l])continue e;return this.options.record_delimiter.push(o[a]),this.state.recordDelimiterMaxLength=o[a].length,o[a].length}return 0},__error:function(s){let{encoding:i,raw:n,skip_records_with_error:o}=this.options,a=typeof s=="string"?new Error(s):s;if(o){if(this.state.recordHasError=!0,this.options.on_skip!==void 0)try{this.options.on_skip(a,n?this.state.rawBuffer.toString(i):void 0)}catch(c){return c}return}else return a},__infoDataSet:function(){return{...this.info,columns:this.options.columns}},__infoRecord:function(){let{columns:s,raw:i,encoding:n}=this.options;return{...this.__infoDataSet(),bytes_records:this.info.bytes,error:this.state.error,header:s===!0,index:this.state.record.length,raw:i?this.state.rawBuffer.toString(n):void 0}},__infoField:function(){let{columns:s}=this.options,i=Array.isArray(s),n=this.info.bytes_records;return{...this.__infoRecord(),bytes_records:n,column:i===!0?s.length>this.state.record.length?s[this.state.record.length].name:null:this.state.record.length,quoting:this.state.wasQuoting}}}};var no=function(t,e={}){typeof t=="string"&&(t=Buffer.from(t));let r=e&&e.objname?{}:[],s=wye(e),i=a=>{s.options.objname===void 0?r.push(a):r[a[0]]=a[1]},n=()=>{},o=s.parse(t,!0,i,n);if(o!==void 0)throw o;return r};var Xt=class t{static getInputList(e,r){return this.getList(Qm(e,{trimWhitespace:r?.trimWhitespace!==!1}),r)}static getList(e,r){let s=[];if(e=="")return s;let i=no(e,{columns:!1,relaxQuotes:!0,comment:r?.comment,comment_no_infix:r?.commentNoInfix,relaxColumnCount:!0,skipEmptyLines:!0,quote:r?.quote});for(let n of i)n.length==1?r?.ignoreComma?s.push(n[0]):s.push(...n[0].split(",")):r?.ignoreComma?s.push(n.join(",")):s.push(...n);return s.filter(n=>n).map(n=>r?.trimWhitespace===!1?n:n.trim())}static getInputNumber(e){let r=Qm(e);if(r)return parseInt(r)}static async asyncForEach(e,r){for(let s=0;s<e.length;s++)await r(e[s],s,e)}static isValidURL(e){let r;try{r=new URL(e)}catch{return!1}return r.protocol==="http:"||r.protocol==="https:"}static isValidRef(e){if(t.isValidURL(e))return!0;for(let r of["git://","github.com/","git@"])if(e.startsWith(r))return!0;return!1}static async powershellCommand(e,r){let s=await Ls("powershell",!0),i=e.replace(/'/g,"''").replace(/"|\n|\r/g,""),n=[];if(r)for(let o in r)n.push(`-${o} '${r[o].replace(/'/g,"''").replace(/"|\n|\r/g,"")}'`);return{command:`"${s}"`,args:["-NoLogo","-Sta","-NoProfile","-NonInteractive","-ExecutionPolicy","Unrestricted","-Command",`& '${i}' ${n.join(" ")}`]}}static isDirectory(e){try{return Bye.default.lstatSync(e).isDirectory()}catch{}return!1}static trimPrefix(e,r){return!e||!r||e.indexOf(r)!==0?e:e.substring(r.length)}static trimSuffix(e,r){if(!e||!r)return e;let s=e.lastIndexOf(r);return s===-1||s+r.length!==e.length?e:e.substring(0,s)}static sleep(e){return new Promise(r=>setTimeout(r,e*1e3))}static hash(e){return _V.default.createHash("sha256").update(e).digest("hex")}static parseBool(e){if(e===void 0)return!1;switch(e){case"1":case"t":case"T":case"true":case"TRUE":case"True":return!0;case"0":case"f":case"F":case"false":case"FALSE":case"False":return!1;default:throw new Error(`parseBool syntax error: ${e}`)}}static parseBoolOrDefault(e,r=!1){try{return this.parseBool(e)}catch{return r}}static formatFileSize(e){if(e===0)return"0 Bytes";let r=1024,s=["Bytes","KB","MB","GB","TB","PB","EB","ZB","YB"],i=Math.floor(Math.log(e)/Math.log(r));return parseFloat((e/Math.pow(r,i)).toFixed(2))+" "+s[i]}static generateRandomString(e=10){return _V.default.randomBytes(Math.ceil(e/2)).toString("hex").slice(0,e)}static compileHandlebars(e,r,s){return Sye.default.compile(e,r)(s)}static stringToUnicodeEntities(e){return Array.from(e).map(r=>`&#x${r.charCodeAt(0).toString(16)};`).join("")}static countLines(e){return e.split(/\r\n|\r|\n/).length}static isPathRelativeTo(e,r){let s=ob.default.resolve(e);return ob.default.resolve(r).startsWith(s.endsWith(ob.default.sep)?s:`${s}${ob.default.sep}`)}static formatDuration(e){if(e===0)return"0s";let r=Math.floor(e/1e9),s=Math.floor(r/3600),i=Math.floor(r%3600/60),n=r%60,o=[];return s&&o.push(`${s}h`),i&&o.push(`${i}m`),(n||o.length===0)&&o.push(`${n}s`),o.join("")}};var cs=class t{static get configDir(){return process.env.DOCKER_CONFIG||ab.default.join(xye.default.homedir(),".docker")}static configFile(){let e=ab.default.join(t.configDir,"config.json");if(QV.default.existsSync(e))return JSON.parse(QV.default.readFileSync(e,{encoding:"utf-8"}))}static async isAvailable(){return await Ls("docker",!0).then(e=>(z(`Docker.isAvailable ok: ${e}`),!0)).catch(e=>(z(`Docker.isAvailable error: ${e}`),!1))}static async isDaemonRunning(){try{return await t.getExecOutput(["version"],{silent:!0}),!0}catch{return!1}}static async exec(e,r){return ke.exec("docker",e,t.execOptions(r))}static async getExecOutput(e,r){return ke.getExecOutput("docker",e,t.execOptions(r))}static execOptions(e){return e||(e={}),e. Line truncated
`+s(i)+n(i),c=(0,zK.createHmac)("sha256",t.accountKey).update(a,"utf8").digest("base64");i.headers.set(oe.AUTHORIZATION,`SharedKey ${t.accountName}:${c}`)}o(e,"signRequest");function r(i,a){let c=i.headers.get(a);return!c||a===oe.CONTENT_LENGTH&&c==="0"?"":c}o(r,"getHeaderValueToSign");function s(i){let a=[];for(let[l,u]of i.headers)l.toLowerCase().startsWith(oe.PREFIX_FOR_STORAGE)&&a.push({name:l,value:u});a.sort((l,u)=>AB(l.name.toLowerCase(),u.name.toLowerCase())),a=a.filter((l,u,d)=>!(u>0&&l.name.toLowerCase()===d[u-1].name.toLowerCase()));let c="";return a.forEach(l=>{c+=`${l.name.toLowerCase().trimRight()}:${l.value.trimLeft()}
`}),c}o(s,"getCanonicalizedHeadersString");function n(i){let a=lB(i.url)||"/",c="";c+=`/${t.accountName}${a}`;let l=uB(i.url),u={};if(l){let d=[];for(let A in l)if(Object.prototype.hasOwnProperty.call(l,A)){let p=A.toLowerCase();u[p]=l[A],d.push(p)}d.sort();for(let A of d)c+=`
${A}:${decodeURIComponent(u[A])}`}return c}return o(n,"getCanonicalizedResourceString"),{name:G_e,async sendRequest(i,a){return e(i),a(i)}}}o(h_,"storageSharedKeyCredentialPolicy");var H_e="storageRequestFailureDetailsParserPolicy";function JK(){return{name:H_e,async sendRequest(t,e){try{return await e(t)}catch(r){throw typeof r=="object"&&r!==null&&r.response&&r.response.parsedBody&&r.response.parsedBody.code==="InvalidHeaderValue"&&r.response.parsedBody.HeaderName==="x-ms-version"&&(r.message=`The provided service version is not enabled on this storage account. Please see https://learn.microsoft.com/rest/api/storageservices/versioning-for-the-azure-storage-services for additional information.
`),r}}}}o(JK,"storageRequestFailureDetailsParserPolicy");var YK=require("node:crypto");var pB=class{static{o(this,"UserDelegationKeyCredential")}accountName;userDelegationKey;key;constructor(e,r){this.accountName=e,this.userDelegationKey=r,this.key=Buffer.from(r.value,"base64")}computeHMACSHA256(e){return(0,YK.createHmac)("sha256",this.key).update(e,"utf8").digest("base64")}};var fB="12.31.0",hB="2026-02-06";var mB="https://storage.azure.com/.default",pa={Parameters:{FORCE_BROWSER_NO_CACHE:"_",SIGNATURE:"sig",SNAPSHOT:"snapshot",VERSIONID:"versionid",TIMEOUT:"timeout"}};var ai="",m_="*",V_e=1*1024*1024;var z_e=4*V_e;var $K="AES256",WK="DefaultEndpointsProtocol=http;AccountName=devstoreaccount1;AccountKey=Eby8vdM02xNOcqFlqUwJPLlmEtlCDXJ1OUzFT50uSRZ6IFsuFq2UVErCz4I6tq/K1SZFPTOtr/KBHBeksoGMGw==;BlobEndpoint=http://127.0.0.1:10000/devstoreaccount1;",jK=["Access-Control-Allow-Origin","Cache-Control","Content-Length","Content-Type","Date","Request-Id","traceparent","Transfer-Encoding","User-Agent","x-ms-client-request-id","x-ms-date","x-ms-error-code","x-ms-request-id","x-ms-return-client-request-id","x-ms-version","Accept-Ranges","Content-Disposition","Content-Encoding","Content-Language","Content-MD5","Content-Range","ETag","Last-Modified","Server","Vary","x-ms-content-crc64","x-ms-copy-action","x-ms-copy-completion-time","x-ms-copy-id","x-ms-copy-progress","x-ms-copy-status","x-ms-has-immutability-policy","x-ms-has-legal-hold","x-ms-lease-state","x-ms-lease-status","x-ms-range","x-ms-request-server-encrypted","x-ms-server-encrypted","x-ms-snapshot","x-ms-source-range","If-Match","If-Modified-Since","If-None-Match","If-Unmodified-Since","x-ms-access-tier","x-ms-access-tier-change-time","x-ms-access-tier-inferred","x-ms-account-kind","x-ms-archive-status","x-ms-blob-append-offset","x-ms-blob-cache-control","x-ms-blob-committed-block-count","x-ms-blob-condition-appendpos","x-ms-blob-condition-maxsize","x-ms-blob-content-disposition","x-ms-blob-content-encoding","x-ms-blob-content-language","x-ms-blob-content-length","x-ms-blob-content-md5","x-ms-blob-content-type","x-ms-blob-public-access","x-ms-blob-sequence-number","x-ms-blob-type","x-ms-copy-destination-snapshot","x-ms-creation-time","x-ms-default-encryption-scope","x-ms-delete-snapshots","x-ms-delete-type-permanent","x-ms-deny-encryption-scope-override","x-ms-encryption-algorithm","x-ms-if-sequence-number-eq","x-ms-if-sequence-number-le","x-ms-if-sequence-number-lt","x-ms-incremental-copy","x-ms-lease-action","x-ms-lease-break-period","x-ms-lease-duration","x-ms-lease-id","x-ms-lease-time","x-ms-page-write","x-ms-proposed-lease-id","x-ms-range-get-content-md5","x-ms-rehydrate-priority","x-ms-sequence-number-action","x-ms-sku-name","x-ms-source-content-md5","x-ms-source-if-match","x-ms-source-if-modified-since","x-ms-source-if-none-match","x-ms-source-if-unmodified-since","x-ms-tag-count","x-ms-encryption-key-sha256","x-ms-copy-source-error-code","x-ms-copy-source-status-code","x-ms-if-tags","x-ms-source-if-tags"],KK=["comp","maxresults","rscc","rscd","rsce","rscl","rsct","se","si","sip","sp","spr","sr","srt","ss","st","sv","include","marker","prefix","copyid","restype","blockid","blocklisttype","delimiter","prevsnapshot","ske","skoid","sks","skt","sktid","skv","snapshot"],XK="BlobUsesCustomerSpecifiedEncryption",ZK="BlobDoesNotUseCustomerSpecifiedEncryption",eX=["10000","10001","10002","10003","10004","10100","10101","10102","10103","10104","11000","11001","11002","11003","11004","11100","11101","11102","11103","11104"];function fa(t){if(!t||typeof t!="object")return!1;let e=t;return Array.isArray(e.factories)&&typeof e.options=="object"&&typeof e.toServiceClientOptions=="function"}o(fa,"isPipelineLike");var fm=class{static{o(this,"Pipeline")}factories;options;constructor(e,r={}){this.factories=e,this.options=r}toServiceClientOptions(){return{httpClient:this.options.httpClient,requestPolicyFactories:this.factories}}};function _t(t,e={}){t||(t=new lt);let r=new fm([],e);return r._credential=t,r}o(_t,"newPipeline");function J_e(t){let e=[Y_e,tX,$_e,W_e,j_e,K_e,Z_e];if(t.factories.length){let r=t.factories.filter(s=>!e.some(n=>n(s)));if(r.length){let s=r.some(n=>X_e(n));return{wrappedPolicies:zP(r),afterRetry:s}}}}o(J_e,"processDownlevelPipeline");function g_(t){let{httpClient:e,...r}=t.options,s=t._coreHttpClient;s||(s=e?JP(e):f_(),t._coreHttpClient=s);let n=t._corePipeline;if(!n){let i=`azsdk-js-azure-storage-blob/${fB}`,a=r.userAgentOptions&&r.userAgentOptions.userAgentPrefix?`${r.userAgentOptions.userAgentPrefix} ${i}`:`${i}`;n=jh({...r,loggingOptions:{additionalAllowedHeaderNames:jK,additionalAllowedQueryParameters:KK,logger:sB.info},userAgentOptions:{userAgentPrefix:a},serializationOptions:{stringifyXML:rB,serializerOptions:{xml:{xmlCharKey:"#"}}},deserializationOptions:{parseXML:A_,serializerOptions:{xml:{xmlCharKey:"#"}}}}),n.removePolicy({phase:"Retry"}),n.removePolicy({name:IP}),n.addPolicy(HK()),n.addPolicy(VK(r.retryOptions),{phase:"Retry"}),n.addPo Line truncated
`),i=e.computeHMACSHA256(n);return{sasQueryParameters:new Ai(t.version,i,s,void 0,void 0,t.protocol,t.startsOn,t.expiresOn,t.ipRange,t.identifier,r,t.cacheControl,t.contentDisposition,t.contentEncoding,t.contentLanguage,t.contentType),stringToSign:n}}o(JDe,"generateBlobSASQueryParameters20150405");function YDe(t,e){if(t=nu(t),!t.identifier&&!(t.permissions&&t.expiresOn))throw new RangeError("Must provide 'permissions' and 'expiresOn' for Blob SAS generation when 'identifier' is not provided.");let r="c",s=t.snapshotTime;t.blobName&&(r="b",t.snapshotTime?r="bs":t.versionId&&(r="bv",s=t.versionId));let n;t.permissions&&(t.blobName?n=fo.parse(t.permissions.toString()).toString():n=ho.parse(t.permissions.toString()).toString());let i=[n||"",t.startsOn?ke(t.startsOn,!1):"",t.expiresOn?ke(t.expiresOn,!1):"",su(e.accountName,t.containerName,t.blobName),t.identifier,t.ipRange?di(t.ipRange):"",t.protocol?t.protocol:"",t.version,r,s,t.cacheControl?t.cacheControl:"",t.contentDisposition?t.contentDisposition:"",t.contentEncoding?t.contentEncoding:"",t.contentLanguage?t.contentLanguage:"",t.contentType?t.contentType:""].join(`
`),a=e.computeHMACSHA256(i);return{sasQueryParameters:new Ai(t.version,a,n,void 0,void 0,t.protocol,t.startsOn,t.expiresOn,t.ipRange,t.identifier,r,t.cacheControl,t.contentDisposition,t.contentEncoding,t.contentLanguage,t.contentType),stringToSign:i}}o(YDe,"generateBlobSASQueryParameters20181109");function $De(t,e){if(t=nu(t),!t.identifier&&!(t.permissions&&t.expiresOn))throw new RangeError("Must provide 'permissions' and 'expiresOn' for Blob SAS generation when 'identifier' is not provided.");let r="c",s=t.snapshotTime;t.blobName&&(r="b",t.snapshotTime?r="bs":t.versionId&&(r="bv",s=t.versionId));let n;t.permissions&&(t.blobName?n=fo.parse(t.permissions.toString()).toString():n=ho.parse(t.permissions.toString()).toString());let i=[n||"",t.startsOn?ke(t.startsOn,!1):"",t.expiresOn?ke(t.expiresOn,!1):"",su(e.accountName,t.containerName,t.blobName),t.identifier,t.ipRange?di(t.ipRange):"",t.protocol?t.protocol:"",t.version,r,s,t.encryptionScope,t.cacheControl?t.cacheControl:"",t.contentDisposition?t.contentDisposition:"",t.contentEncoding?t.contentEncoding:"",t.contentLanguage?t.contentLanguage:"",t.contentType?t.contentType:""].join(`
`),a=e.computeHMACSHA256(i);return{sasQueryParameters:new Ai(t.version,a,n,void 0,void 0,t.protocol,t.startsOn,t.expiresOn,t.ipRange,t.identifier,r,t.cacheControl,t.contentDisposition,t.contentEncoding,t.contentLanguage,t.contentType,void 0,void 0,void 0,t.encryptionScope),stringToSign:i}}o($De,"generateBlobSASQueryParameters20201206");function WDe(t,e){if(t=nu(t),!t.permissions||!t.expiresOn)throw new RangeError("Must provide 'permissions' and 'expiresOn' for Blob SAS generation when generating user delegation SAS.");let r="c",s=t.snapshotTime;t.blobName&&(r="b",t.snapshotTime?r="bs":t.versionId&&(r="bv",s=t.versionId));let n;t.permissions&&(t.blobName?n=fo.parse(t.permissions.toString()).toString():n=ho.parse(t.permissions.toString()).toString());let i=[n||"",t.startsOn?ke(t.startsOn,!1):"",t.expiresOn?ke(t.expiresOn,!1):"",su(e.accountName,t.containerName,t.blobName),e.userDelegationKey.signedObjectId,e.userDelegationKey.signedTenantId,e.userDelegationKey.signedStartsOn?ke(e.userDelegationKey.signedStartsOn,!1):"",e.userDelegationKey.signedExpiresOn?ke(e.userDelegationKey.signedExpiresOn,!1):"",e.userDelegationKey.signedService,e.userDelegationKey.signedVersion,t.ipRange?di(t.ipRange):"",t.protocol?t.protocol:"",t.version,r,s,t.cacheControl,t.contentDisposition,t.contentEncoding,t.contentLanguage,t.contentType].join(`
`),a=e.computeHMACSHA256(i);return{sasQueryParameters:new Ai(t.version,a,n,void 0,void 0,t.protocol,t.startsOn,t.expiresOn,t.ipRange,t.identifier,r,t.cacheControl,t.contentDisposition,t.contentEncoding,t.contentLanguage,t.contentType,e.userDelegationKey),stringToSign:i}}o(WDe,"generateBlobSASQueryParametersUDK20181109");function jDe(t,e){if(t=nu(t),!t.permissions||!t.expiresOn)throw new RangeError("Must provide 'permissions' and 'expiresOn' for Blob SAS generation when generating user delegation SAS.");let r="c",s=t.snapshotTime;t.blobName&&(r="b",t.snapshotTime?r="bs":t.versionId&&(r="bv",s=t.versionId));let n;t.permissions&&(t.blobName?n=fo.parse(t.permissions.toString()).toString():n=ho.parse(t.permissions.toString()).toString());let i=[n||"",t.startsOn?ke(t.startsOn,!1):"",t.expiresOn?ke(t.expiresOn,!1):"",su(e.accountName,t.containerName,t.blobName),e.userDelegationKey.signedObjectId,e.userDelegationKey.signedTenantId,e.userDelegationKey.signedStartsOn?ke(e.userDelegationKey.signedStartsOn,!1):"",e.userDelegationKey.signedExpiresOn?ke(e.userDelegationKey.signedExpiresOn,!1):"",e.userDelegationKey.signedService,e.userDelegationKey.signedVersion,t.preauthorizedAgentObjectId,void 0,t.correlationId,t.ipRange?di(t.ipRange):"",t.protocol?t.protocol:"",t.version,r,s,t.cacheControl,t.contentDisposition,t.contentEncoding,t.contentLanguage,t.contentType].join(`
`),a=e.computeHMACSHA256(i);return{sasQueryParameters:new Ai(t.version,a,n,void 0,void 0,t.protocol,t.startsOn,t.expiresOn,t.ipRange,t.identifier,r,t.cacheControl,t.contentDisposition,t.contentEncoding,t.contentLanguage,t.contentType,e.userDelegationKey,t.preauthorizedAgentObjectId,t.correlationId),stringToSign:i}}o(jDe,"generateBlobSASQueryParametersUDK20200210");function KDe(t,e){if(t=nu(t),!t.permissions||!t.expiresOn)throw new RangeError("Must provide 'permissions' and 'expiresOn' for Blob SAS generation when generating user delegation SAS.");let r="c",s=t.snapshotTime;t.blobName&&(r="b",t.snapshotTime?r="bs":t.versionId&&(r="bv",s=t.versionId));let n;t.permissions&&(t.blobName?n=fo.parse(t.permissions.toString()).toString():n=ho.parse(t.permissions.toString()).toString());let i=[n||"",t.startsOn?ke(t.startsOn,!1):"",t.expiresOn?ke(t.expiresOn,!1):"",su(e.accountName,t.containerName,t.blobName),e.userDelegationKey.signedObjectId,e.userDelegationKey.signedTenantId,e.userDelegationKey.signedStartsOn?ke(e.userDelegationKey.signedStartsOn,!1):"",e.userDelegationKey.signedExpiresOn?ke(e.userDelegationKey.signedExpiresOn,!1):"",e.userDelegationKey.signedService,e.userDelegationKey.signedVersion,t.preauthorizedAgentObjectId,void 0,t.correlationId,t.ipRange?di(t.ipRange):"",t.protocol?t.protocol:"",t.version,r,s,t.encryptionScope,t.cacheControl,t.contentDisposition,t.contentEncoding,t.contentLanguage,t.contentType].join(`
`),a=e.computeHMACSHA256(i);return{sasQueryParameters:new Ai(t.version,a,n,void 0,void 0,t.protocol,t.startsOn,t.expiresOn,t.ipRange,t.identifier,r,t.cacheControl,t.contentDisposition,t.contentEncoding,t.contentLanguage,t.contentType,e.userDelegationKey,t.preauthorizedAgentObjectId,t.correlationId,t.encryptionScope),stringToSign:i}}o(KDe,"generateBlobSASQueryParametersUDK20201206");function XDe(t,e){if(t=nu(t),!t.permissions||!t.expiresOn)throw new RangeError("Must provide 'permissions' and 'expiresOn' for Blob SAS generation when generating user delegation SAS.");let r="c",s=t.snapshotTime;t.blobName&&(r="b",t.snapshotTime?r="bs":t.versionId&&(r="bv",s=t.versionId));let n;t.permissions&&(t.blobName?n=fo.parse(t.permissions.toString()).toString():n=ho.parse(t.permissions.toString()).toString());let i=[n||"",t.startsOn?ke(t.startsOn,!1):"",t.expiresOn?ke(t.expiresOn,!1):"",su(e.accountName,t.containerName,t.blobName),e.userDelegationKey.signedObjectId,e.userDelegationKey.signedTenantId,e.userDelegationKey.signedStartsOn?ke(e.userDelegationKey.signedStartsOn,!1):"",e.userDelegationKey.signedExpiresOn?ke(e.userDelegationKey.signedExpiresOn,!1):"",e.userDelegationKey.signedService,e.userDelegationKey.signedVersion,t.preauthorizedAgentObjectId,void 0,t.correlationId,void 0,t.delegatedUserObjectId,t.ipRange?di(t.ipRange):"",t.protocol?t.protocol:"",t.version,r,s,t.encryptionScope,t.cacheControl,t.contentDisposition,t.contentEncoding,t.contentLanguage,t.contentType].join(`
`),a=e.computeHMACSHA256(i);return{sasQueryParameters:new Ai(t.version,a,n,void 0,void 0,t.protocol,t.startsOn,t.expiresOn,t.ipRange,t.identifier,r,t.cacheControl,t.contentDisposition,t.contentEncoding,t.contentLanguage,t.contentType,e.userDelegationKey,t.preauthorizedAgentObjectId,t.correlationId,t.encryptionScope,t.delegatedUserObjectId),stringToSign:i}}o(XDe,"generateBlobSASQueryParametersUDK20250705");function su(t,e,r){let s=[`/blob/${t}/${e}`];return r&&s.push(`/${r}`),s.join("")}o(su,"getCanonicalName");function nu(t){let e=t.version?t.version:hB;if(t.snapshotTime&&e<"2018-11-09")throw RangeError("'version' must be >= '2018-11-09' when providing 'snapshotTime'.");if(t.blobName===void 0&&t.snapshotTime)throw RangeError("Must provide 'blobName' when providing 'snapshotTime'.");if(t.versionId&&e<"2019-10-10")throw RangeError("'version' must be >= '2019-10-10' when providing 'versionId'.");if(t.blobName===void 0&&t.versionId)throw RangeError("Must provide 'blobName' when providing 'versionId'.");if(t.permissions&&t.permissions.setImmutabilityPolicy&&e<"2020-08-04")throw RangeError("'version' must be >= '2020-08-04' when provided 'i' permission.");if(t.permissions&&t.permissions.deleteVersion&&e<"2019-10-10")throw RangeError("'version' must be >= '2019-10-10' when providing 'x' permission.");if(t.permissions&&t.permissions.permanentDelete&&e<"2019-10-10")throw RangeError("'version' must be >= '2019-10-10' when providing 'y' permission.");if(t.permissions&&t.permissions.tag&&e<"2019-12-12")throw RangeError("'version' must be >= '2019-12-12' when providing 't' permission.");if(e<"2020-02-10"&&t.permissions&&(t.permissions.move||t.permissions.execute))throw RangeError("'version' must be >= '2020-02-10' when providing the 'm' or 'e' permission.");if(e<"2021-04-10"&&t.permissions&&t.permissions.filterByTags)throw RangeError("'version' must be >= '2021-04-10' when providing the 'f' permission.");if(e<"2020-02-10"&&(t.preauthorizedAgentObjectId||t.correlationId))throw RangeError("'version' must be >= '2020-02-10' when providing 'preauthorizedAgentObjectId' or 'correlationId'.");if(t.encryptionScope&&e<"2020-12-06")throw RangeError("'version' must be >= '2020-12-06' when provided 'encryptionScope' in SAS.");return t.version=e,t}o(nu,"SASSignatureValuesSanityCheckAndAutofill");var Nm=class{static{o(this,"BlobLeaseClient")}_leaseId;_url;_containerOrBlobOperation;_isContainer;get leaseId(){return this._leaseId}get url(){return this._url}constructor(e,r){let s=e.storageClientContext;this._url=e.url,e.name===void 0?(this._isContainer=!0,this._containerOrBlobOperation=s.container):(this._isContainer=!1,this._containerOrBlobOperation=s.blob),r||(r=dA()),this._leaseId=r}async acquireLease(e,r={}){if(this._isContainer&&(r.conditions?.ifMatch&&r.conditions?.ifMatch!==ai||r.conditions?.ifNoneMatch&&r.conditions?.ifNoneMatch!==ai||r.conditions?.tagConditions))throw new RangeError("The IfMatch, IfNoneMatch and tags access conditions are ignored by the service. Values other than undefined or their default values are not acceptable.");return z.withSpan("BlobLeaseClient-acquireLease",r,async s=>W(await this._containerOrBlobOperation.acquireLease({abortSignal:r.abortSignal,duration:e,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},proposedLeaseId:this._leaseId,tracingOptions:s.tracingOptions})))}async changeLease(e,r={}){if(this._isContainer&&(r.conditions?.ifMatch&&r.conditions?.ifMatch!==ai||r.conditions?.ifNoneMatch&&r.conditions?.ifNoneMatch!==ai||r.conditions?.tagConditions))throw new RangeError("The IfMatch, IfNoneMatch and tags access conditions are ignored by the service. Values other than undefined or their default values are not acceptable.");return z.withSpan("BlobLeaseClient-changeLease",r,async s=>{let n=W(await this._containerOrBlobOperation.changeLease(this._leaseId,e,{abortSignal:r.abortSignal,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},tracingOptions:s.tracingOptions}));return this._leaseId=e,n})}async releaseLease(e={}){if(this._isContainer&&(e.conditions?.ifMatch&&e.conditions?.ifMatch!==ai||e.conditions?.ifNoneMatch&&e.conditions?.ifNoneMatch!==ai||e.conditions?.tagConditions))throw new RangeError("The IfMatch, IfNoneMatch and tags access conditions are ignored by the service. Values other than undefined or their default values are not acceptable.");return z.withSpan("BlobLeaseClient-releaseLease",e,async r=>W(await this._containerOrBlobOperation.releaseLease(this._leaseId,{abortSignal:e.abortSignal,modifiedAccessConditions:{...e.conditions,ifTags:e.conditions?.tagConditions},tracingOptions:r.tracingOptions})))}async renewLease(e={}){if(this._isContainer&&(e.conditions?.ifMatch&&e.conditions?.ifMatch!==ai||e.conditions?.ifNoneMatch&&e.conditions?.ifNoneMatch!==ai||e.conditions?.tagConditions))throw new RangeError("The IfMatch, IfNoneMatch and tags access conditions are ignored by the service. Values other than undefined or their default values ar Line truncated
If you are using self-hosted runners, please make sure your runner has access to all GitHub endpoints: https://docs.github.com/en/actions/hosting-your-own-runners/managing-self-hosted-runners/about-self-hosted-runners#communication-between-self-hosted-runners-and-github`;super(r),this.code=e,this.name="NetworkError"}};vA.isNetworkErrorCode=t=>t?["ECONNRESET","ENOTFOUND","ETIMEDOUT","ECONNREFUSED","EHOSTUNREACH"].includes(t):!1;var cu=class extends Error{static{o(this,"UsageError")}constructor(){super(`Cache storage quota has been hit. Unable to upload any new cache entries.
More info on storage limits: https://docs.github.com/en/billing/managing-billing-for-github-actions/about-billing-for-github-actions#calculating-minute-and-storage-spending`),this.name="UsageError"}};cu.isUsageErrorMessage=t=>t?t.includes("insufficient usage"):!1;var Om=class extends Error{static{o(this,"RateLimitError")}constructor(e){super(e),this.name="RateLimitError"}};var WOe=function(t,e,r,s){function n(i){return i instanceof r?i:new r(function(a){a(i)})}return o(n,"adopt"),new(r||(r=Promise))(function(i,a){function c(d){try{u(s.next(d))}catch(A){a(A)}}o(c,"fulfilled");function l(d){try{u(s.throw(d))}catch(A){a(A)}}o(l,"rejected");function u(d){d.done?i(d.value):n(d.value).then(c,l)}o(u,"step"),u((s=s.apply(t,e||[])).next())})},nM=class{static{o(this,"UploadProgress")}constructor(e){this.contentLength=e,this.sentBytes=0,this.displayedComplete=!1,this.startTime=Date.now()}setSentBytes(e){this.sentBytes=e}getTransferredBytes(){return this.sentBytes}isDone(){return this.getTransferredBytes()===this.contentLength}display(){if(this.displayedComplete)return;let e=this.sentBytes,r=(100*(e/this.contentLength)).toFixed(1),s=Date.now()-this.startTime,n=(e/(1024*1024)/(s/1e3)).toFixed(1);S(`Sent ${e} of ${this.contentLength} (${r}%), ${n} MBs/sec`),this.isDone()&&(this.displayedComplete=!0)}onProgress(){return e=>{this.setSentBytes(e.loadedBytes)}}startDisplayTimer(e=1e3){let r=o(()=>{this.display(),this.isDone()||(this.timeoutHandle=setTimeout(r,e))},"displayCallback");this.timeoutHandle=setTimeout(r,e)}stopDisplayTimer(){this.timeoutHandle&&(clearTimeout(this.timeoutHandle),this.timeoutHandle=void 0),this.display()}};function n7(t,e,r){return WOe(this,void 0,void 0,function*(){var s;let n=new Ia(t),i=n.getBlockBlobClient(),a=new nM((s=r?.archiveSizeBytes)!==null&&s!==void 0?s:0),c={blockSize:r?.uploadChunkSize,concurrency:r?.uploadConcurrency,maxSingleShotSize:128*1024*1024,onProgress:a.onProgress()};try{a.startDisplayTimer(),B(`BlobClient: ${n.name}:${n.accountName}:${n.containerName}`);let l=yield i.uploadFile(e,c);if(l._response.status>=400)throw new Cb(`uploadCacheArchiveSDK: upload failed with status code ${l._response.status}`);return l}catch(l){throw ct(`uploadCacheArchiveSDK: internal error uploading cache archive: ${l.message}`),l}finally{a.stopDisplayTimer()}})}o(n7,"uploadCacheArchiveSDK");var o7=w(require("buffer"),1),mo=w(require("fs"),1),a7=w(require("stream"),1),c7=w(require("util"),1);var Ib=function(t,e,r,s){function n(i){return i instanceof r?i:new r(function(a){a(i)})}return o(n,"adopt"),new(r||(r=Promise))(function(i,a){function c(d){try{u(s.next(d))}catch(A){a(A)}}o(c,"fulfilled");function l(d){try{u(s.throw(d))}catch(A){a(A)}}o(l,"rejected");function u(d){d.done?i(d.value):n(d.value).then(c,l)}o(u,"step"),u((s=s.apply(t,e||[])).next())})};function Bb(t){return t?t>=200&&t<300:!1}o(Bb,"isSuccessStatusCode");function jOe(t){return t?t>=500:!0}o(jOe,"isServerErrorStatusCode");function KOe(t){return t?[yt.BadGateway,yt.ServiceUnavailable,yt.GatewayTimeout].includes(t):!1}o(KOe,"isRetryableStatusCode");function XOe(t){return Ib(this,void 0,void 0,function*(){return new Promise(e=>setTimeout(e,t))})}o(XOe,"sleep");function i7(t,e,r){return Ib(this,arguments,void 0,function*(s,n,i,a=zC,c=JC,l=void 0){let u="",d=1;for(;d<=a;){let A,p,f=!1;try{A=yield n()}catch(m){l&&(A=l(m)),f=!0,u=m.message}if(A&&(p=i(A),!jOe(p)))return A;if(p&&(f=KOe(p),u=`Cache service responded with ${p}`),B(`${s} - Attempt ${d} of ${a} failed with error: ${u}`),!f){B(`${s} - Error is not retryable`);break}yield XOe(c),d++}throw Error(`${s} failed: ${u}`)})}o(i7,"retry");function Mm(t,e){return Ib(this,arguments,void 0,function*(r,s,n=zC,i=JC){return yield i7(r,s,a=>a.statusCode,n,i,a=>{if(a instanceof qi)return{statusCode:a.statusCode,result:null,headers:{},error:a}})})}o(Mm,"retryTypedResponse");function PA(t,e){return Ib(this,arguments,void 0,function*(r,s,n=zC,i=JC){return yield i7(r,s,a=>a.message.statusCode,n,i)})}o(PA,"retryHttpClientResponse");var Qn=function(t,e,r,s){function n(i){return i instanceof r?i:new r(function(a){a(i)})}return o(n,"adopt"),new(r||(r=Promise))(function(i,a){function c(d){try{u(s.next(d))}catch(A){a(A)}}o(c,"fulfilled");function l(d){try{u(s.throw(d))}catch(A){a(A)}}o(l,"rejected");function u(d){d.done?i(d.value):n(d.value).then(c,l)}o(u,"step"),u((s=s.apply(t,e||[])).next())})};function ZOe(t,e){return Qn(this,void 0,void 0,function*(){yield c7.promisify(a7.pipeline)(t.message,e)})}o(ZOe,"pipeResponseToStream");var bb=class{static{o(this,"DownloadProgress")}constructor(e){this.contentLength=e,this.segmentIndex=0,this.segmentSize=0,this.segmentOffset=0,this.receivedBytes=0,this.displayedComplete=!1,this.startTime=Date.now()}nextSegment(e){this.segmentOffset=this.segmentOffset+this.segmentSize,this.segmentIndex=this.segmentIndex+1,this.segmentSize=e,this.receivedBytes=0,B(`Downloading segment at offset ${this.segmentOffset} with length ${this.segmentSize}...`)}setReceivedBytes(e){this.received Line truncated
Other caches with similar key:`);for(let c of i?.artifactCaches||[])B(`Cache Key: ${c?.cacheKey}, Cache Version: ${c?.cacheVersion}, Cache Scope: ${c?.scope}, Cache Created: ${c?.creationTime}`)}}})}o(oMe,"printCachesListForDiagnostics");function lM(t,e,r){return ps(this,void 0,void 0,function*(){let s=new I7.URL(t),n=A7(r);s.hostname.endsWith(".blob.core.windows.net")?n.useAzureSdk?yield u7(t,e,n):n.concurrentBlobDownloads?yield l7(t,e,n):yield wb(t,e):yield wb(t,e)})}o(lM,"downloadCache");function b7(t,e,r){return ps(this,void 0,void 0,function*(){let s=cM(),n=rA(e,r?.compressionMethod,r?.enableCrossOsArchive),i={key:t,version:n,cacheSize:r?.cacheSize};return yield Mm("reserveCache",()=>ps(this,void 0,void 0,function*(){return s.postJson(Fm("caches"),i)}))})}o(b7,"reserveCache");function C7(t,e){return`bytes ${t}-${e}/*`}o(C7,"getContentRange");function aMe(t,e,r,s,n){return ps(this,void 0,void 0,function*(){B(`Uploading chunk of size ${n-s+1} bytes at offset ${s} with content range: ${C7(s,n)}`);let i={"Content-Type":"application/octet-stream","Content-Range":C7(s,n)},a=yield PA(`uploadChunk (start: ${s}, end: ${n})`,()=>ps(this,void 0,void 0,function*(){return t.sendStream("PATCH",e,r(),i)}));if(!Bb(a.message.statusCode))throw new Error(`Cache service responded with ${a.message.statusCode} during upload chunk.`)})}o(aMe,"uploadChunk");function cMe(t,e,r,s){return ps(this,void 0,void 0,function*(){let n=Ui(r),i=Fm(`caches/${e.toString()}`),a=_A.openSync(r,"r"),c=iM(s),l=kv("uploadConcurrency",c.uploadConcurrency),u=kv("uploadChunkSize",c.uploadChunkSize),d=[...new Array(l).keys()];B("Awaiting all uploads");let A=0;try{yield Promise.all(d.map(()=>ps(this,void 0,void 0,function*(){for(;A<n;){let p=Math.min(n-A,u),f=A,m=A+p-1;A+=u,yield aMe(t,i,()=>_A.createReadStream(r,{fd:a,start:f,end:m,autoClose:!1}).on("error",g=>{throw new Error(`Cache upload failed because file read failed with ${g.message}`)}),f,m)}})))}finally{_A.closeSync(a)}})}o(cMe,"uploadFile");function lMe(t,e,r){return ps(this,void 0,void 0,function*(){let s={size:r};return yield Mm("commitCache",()=>ps(this,void 0,void 0,function*(){return t.postJson(Fm(`caches/${e.toString()}`),s)}))})}o(lMe,"commitCache");function uM(t,e,r,s){return ps(this,void 0,void 0,function*(){if(iM(s).useAzureSdk){if(!r)throw new Error("Azure Storage SDK can only be used when a signed URL is provided.");yield n7(r,e,s)}else{let i=cM();B("Upload cache"),yield cMe(i,t,e,s),B("Commiting cache");let a=Ui(e);S(`Cache Size: ~${Math.round(a/(1024*1024))} MB (${a} B)`);let c=yield lMe(i,t,a);if(!Bb(c.statusCode))throw new Error(`Cache service responded with ${c.statusCode} during commit cache.`);S("Cache saved successfully")}})}o(uM,"saveCache");var gee=w(uee(),1),Ot=w(Dt(),1),Ks=w(Dt(),1),pu=w(Dt(),1),fu=w(Dt(),1),hu=w(Dt(),1);var nL=w(Dt(),1),iL=w(Dt(),1),fee=w(Dt(),1),hee=w(Dt(),1),mee=w(Dt(),1);var tL=w(Dt(),1),rL=w(Dt(),1),dee=w(Dt(),1),Aee=w(Dt(),1),pee=w(Dt(),1);var sL=class extends pee.MessageType{static{o(this,"CacheScope$Type")}constructor(){super("github.actions.results.entities.v1.CacheScope",[{no:1,name:"scope",kind:"scalar",T:9},{no:2,name:"permission",kind:"scalar",T:3}])}create(e){let r={scope:"",permission:"0"};return globalThis.Object.defineProperty(r,Aee.MESSAGE_TYPE,{enumerable:!1,value:this}),e!==void 0&&(0,dee.reflectionMergePartial)(this,r,e),r}internalBinaryRead(e,r,s,n){let i=n??this.create(),a=e.pos+r;for(;e.pos<a;){let[c,l]=e.tag();switch(c){case 1:i.scope=e.string();break;case 2:i.permission=e.int64().toString();break;default:let u=s.readUnknownField;if(u==="throw")throw new globalThis.Error(`Unknown field ${c} (wire type ${l}) for ${this.typeName}`);let d=e.skip(l);u!==!1&&(u===!0?rL.UnknownFieldHandler.onRead:u)(this.typeName,i,c,l,d)}}return i}internalBinaryWrite(e,r,s){e.scope!==""&&r.tag(1,tL.WireType.LengthDelimited).string(e.scope),e.permission!=="0"&&r.tag(2,tL.WireType.Varint).int64(e.permission);let n=s.writeUnknownFields;return n!==!1&&(n==!0?rL.UnknownFieldHandler.onWrite:n)(this.typeName,e,r),r}},dw=new sL;var oL=class extends mee.MessageType{static{o(this,"CacheMetadata$Type")}constructor(){super("github.actions.results.entities.v1.CacheMetadata",[{no:1,name:"repository_id",kind:"scalar",T:3},{no:2,name:"scope",kind:"message",repeat:1,T:o(()=>dw,"T")}])}create(e){let r={repositoryId:"0",scope:[]};return globalThis.Object.defineProperty(r,hee.MESSAGE_TYPE,{enumerable:!1,value:this}),e!==void 0&&(0,fee.reflectionMergePartial)(this,r,e),r}internalBinaryRead(e,r,s,n){let i=n??this.create(),a=e.pos+r;for(;e.pos<a;){let[c,l]=e.tag();switch(c){case 1:i.repositoryId=e.int64().toString();break;case 2:i.scope.push(dw.internalBinaryRead(e,e.uint32(),s));break;default:let u=s.readUnknownField;if(u==="throw")throw new globalThis.Error(`Unknown field ${c} (wire type ${l}) for ${this.typeName}`);let d=e.skip(l);u!==!1&&(u===!0?iL.UnknownFieldHandler.onRead:u)(this.typeName,i,c,l,d)}}return i}internalBinaryWrite(e,r,s){e.repositoryId!=="0"&&r.tag( Line truncated
`));let s=yield IL(r,"create");yield BL(s,t)})}o(wL,"createTar");var WA=function(t,e,r,s){function n(i){return i instanceof r?i:new r(function(a){a(i)})}return o(n,"adopt"),new(r||(r=Promise))(function(i,a){function c(d){try{u(s.next(d))}catch(A){a(A)}}o(c,"fulfilled");function l(d){try{u(s.throw(d))}catch(A){a(A)}}o(l,"rejected");function u(d){d.done?i(d.value):n(d.value).then(c,l)}o(u,"step"),u((s=s.apply(t,e||[])).next())})},hi=class t extends Error{static{o(this,"ValidationError")}constructor(e){super(e),this.name="ValidationError",Object.setPrototypeOf(this,t.prototype)}},mu=class t extends Error{static{o(this,"ReserveCacheError")}constructor(e){super(e),this.name="ReserveCacheError",Object.setPrototypeOf(this,t.prototype)}},SL="cache write denied:",hw=class t extends mu{static{o(this,"CacheWriteDeniedError")}constructor(e){super(e),this.name="CacheWriteDeniedError",Object.setPrototypeOf(this,t.prototype)}},Iee=YC,mw=class t extends Error{static{o(this,"CacheReadDeniedError")}constructor(e){super(e),this.name="CacheReadDeniedError",Object.setPrototypeOf(this,t.prototype)}},gw=class t extends Error{static{o(this,"FinalizeCacheError")}constructor(e){super(e),this.name="FinalizeCacheError",Object.setPrototypeOf(this,t.prototype)}};function Bee(t){if(!t||t.length===0)throw new hi("Path Validation Error: At least one directory or file path is required")}o(Bee,"checkPaths");function NL(t){if(t.length>512)throw new hi(`Key Validation Error: ${t} cannot be larger than 512 characters.`);if(!/^[^,]*$/.test(t))throw new hi(`Key Validation Error: ${t} cannot contain commas.`)}o(NL,"checkKey");function xL(){return Lm()==="v2"?!!process.env.ACTIONS_RESULTS_URL:!!process.env.ACTIONS_CACHE_URL}o(xL,"isFeatureAvailable");function bee(t,e,r,s){return WA(this,arguments,void 0,function*(n,i,a,c,l=!1){let u=Lm();B(`Cache service version: ${u}`),Bee(n);let d=aM();if(!f7(d)){S(`Cache restore skipped: the effective cache-mode '${d}' does not permit reads.`),B(`Skipped restore for paths [${n.join(", ")}] with primary key '${i}'.`);return}return u==="v2"?yield wFe(n,i,a,c,l):yield bFe(n,i,a,c,l)})}o(bee,"restoreCache");function bFe(t,e,r,s){return WA(this,arguments,void 0,function*(n,i,a,c,l=!1){var u;a=a||[];let d=[i,...a];if(B("Resolved Keys:"),B(JSON.stringify(d)),d.length>10)throw new hi("Key Validation Error: Keys are limited to a maximum of 10.");for(let f of d)NL(f);let A=yield Mh(),p="";try{let f;try{f=yield B7(d,n,{compressionMethod:A,enableCrossOsArchive:l})}catch(g){let y=(u=g?.message)!==null&&u!==void 0?u:"";throw y.includes(Iee)?new mw(y):g}if(!f?.archiveLocation)return;if(c?.lookupOnly)return S("Lookup only - skipping download"),f.cacheKey;p=tg.join(yield Dh(),fc(A)),B(`Archive Path: ${p}`),yield lM(f.archiveLocation,p,c),Tl()&&(yield eg(p,A));let m=Ui(p);return S(`Cache Size: ~${Math.round(m/(1024*1024))} MB (${m} B)`),yield bL(p,A),S("Cache restored successfully"),f.cacheKey}catch(f){let m=f;if(m.name===hi.name)throw f;m instanceof qi&&typeof m.statusCode=="number"&&m.statusCode>=500?Jd(`Failed to restore: ${f.message}`):ct(`Failed to restore: ${f.message}`)}finally{try{yield Oh(p)}catch(f){B(`Failed to delete archive: ${f}`)}}})}o(bFe,"restoreCacheV1");function wFe(t,e,r,s){return WA(this,arguments,void 0,function*(n,i,a,c,l=!1){var u;c=Object.assign(Object.assign({},c),{useAzureSdk:!0}),a=a||[];let d=[i,...a];if(B("Resolved Keys:"),B(JSON.stringify(d)),d.length>10)throw new hi("Key Validation Error: Keys are limited to a maximum of 10.");for(let p of d)NL(p);let A="";try{let p=CL(),f=yield Mh(),m={key:i,restoreKeys:a,version:rA(n,f,l)},g;try{g=yield p.GetCacheEntryDownloadURL(m)}catch(C){let I=(u=C?.message)!==null&&u!==void 0?u:"";throw I.includes(Iee)?new mw(I):C}if(!g.ok){B(`Cache not found for version ${m.version} of keys: ${d.join(", ")}`);return}if(m.key!==g.matchedKey?S(`Cache hit for restore-key: ${g.matchedKey}`):S(`Cache hit for: ${g.matchedKey}`),c?.lookupOnly)return S("Lookup only - skipping download"),g.matchedKey;A=tg.join(yield Dh(),fc(f)),B(`Archive path: ${A}`),B(`Starting download of archive to: ${A}`),yield lM(g.signedDownloadUrl,A,c);let E=Ui(A);return S(`Cache Size: ~${Math.round(E/(1024*1024))} MB (${E} B)`),Tl()&&(yield eg(A,f)),yield bL(A,f),S("Cache restored successfully"),g.matchedKey}catch(p){let f=p;if(f.name===hi.name)throw p;f instanceof qi&&typeof f.statusCode=="number"&&f.statusCode>=500?Jd(`Failed to restore: ${p.message}`):ct(`Failed to restore: ${p.message}`)}finally{try{A&&(yield Oh(A))}catch(p){B(`Failed to delete archive: ${p}`)}}})}o(wFe,"restoreCacheV2");function QL(t,e,r){return WA(this,arguments,void 0,function*(s,n,i,a=!1){let c=Lm();B(`Cache service version: ${c}`),Bee(s),NL(n);let l=aM();return h7(l)?c==="v2"?yield NFe(s,n,i,a):yield SFe(s,n,i,a):(S(`Cache save skipped: the effective cache-mode '${l}' does not permit writes.`),B(`Skipped save for paths [${s.join(", ")}] with key '${n}'.`),-1)})}o(QL,"saveCache");function SFe(t,e,r){return WA(this,arguments,void 0, Line truncated
`,a).length:A,u?(c===null?0:c.length)+l.length:0,u?l.length+A:0);return p<f},"__needMoreData"),parse:o(function(s,n,i,a){let{bom:c,comment_no_infix:l,delimiter_auto:u,encoding:d,from_line:A,ltrim:p,max_record_size:f,raw:m,relax_quotes:g,rtrim:y,skip_empty_lines:E,to:C,to_line:I}=this.options,{comment:b,escape:N,quote:Q,record_delimiter:D}=this.options,{bomSkipped:ae,delimiterDiscovered:Te,delimiterBufPrevious:De,rawBuffer:qe,escapeIsQuote:ye}=this.state;if(!Te&&u){let Oe;if(De===void 0?Oe=s:De!==void 0&&s===void 0?Oe=De:Oe=Buffer.concat([De,s]),s=void 0,n||Oe.length>u.size)this.options.delimiter=[Buffer.from(Yre(Oe,this.options.delimiter_auto))],this.state.previousBuf=Oe,this.state.delimiterBufPrevious=void 0,this.state.delimiterDiscovered=!0;else{this.state.delimiterBufPrevious=Oe;return}}let{previousBuf:Ye}=this.state,ue;if(Ye===void 0)if(s===void 0){a();return}else ue=s;else Ye!==void 0&&s===void 0?ue=Ye:ue=Buffer.concat([Ye,s]);if(ae===!1)if(c===!1)this.state.bomSkipped=!0;else if(ue.length<3){if(n===!1){this.state.previousBuf=ue;return}}else{for(let Oe in lp)if(lp[Oe].compare(ue,0,lp[Oe].length)===0){let Bi=lp[Oe].length;this.state.bufBytesStart+=Bi,ue=ue.slice(Bi);let Fa=cp({...this.original_options,encoding:Oe});for(let gt in Fa)this.options[gt]=Fa[gt];({comment:b,escape:N,quote:Q}=this.options);break}this.state.bomSkipped=!0}let vr=ue.length,J;for(J=0;J<vr&&!this.__needMoreData(J,vr,n);J++){if(this.state.wasRowDelimiter===!0&&(this.info.lines++,this.state.wasRowDelimiter=!1),I!==-1&&this.info.lines>I){this.state.stop=!0,a();return}this.state.quoting===!1&&D.length===0&&this.__autoDiscoverRecordDelimiter(ue,J)&&(D=this.options.record_delimiter);let Oe=ue[J];if(m===!0&&qe.append(Oe),(Oe===V2e||Oe===z2e)&&this.state.wasRowDelimiter===!1&&(this.state.wasRowDelimiter=!0),this.state.escaping===!0)this.state.escaping=!1;else{if(N!==null&&this.state.quoting===!0&&this.__isEscape(ue,J,Oe)&&J+N.length<vr)if(ye){if(this.__isQuote(ue,J+N.length)){this.state.escaping=!0,J+=N.length-1;continue}}else{this.state.escaping=!0,J+=N.length-1;continue}if(this.state.commenting===!1&&this.__isQuote(ue,J))if(this.state.quoting===!0){let gt=ue[J+Q.length],bi=y&&this.__isCharTrimable(ue,J+Q.length),Ss=b!==null&&this.__compareBytes(b,ue,J+Q.length,gt),el=this.__isDelimiter(ue,J+Q.length,gt),oE=D.length===0?this.__autoDiscoverRecordDelimiter(ue,J+Q.length):this.__isRecordDelimiter(gt,ue,J+Q.length);if(N!==null&&this.__isEscape(ue,J,Oe)&&this.__isQuote(ue,J+N.length))J+=N.length-1;else if(!gt||el||oE||Ss||bi){this.state.quoting=!1,this.state.wasQuoting=!0,J+=Q.length-1;continue}else if(g===!1){let sq=this.__error(new Be("CSV_INVALID_CLOSING_QUOTE",["Invalid Closing Quote:",`got "${String.fromCharCode(gt)}"`,`at line ${this.info.lines}`,"instead of delimiter, record delimiter, trimable character","(if activated) or comment"],this.options,this.__infoField()));if(sq!==void 0)return sq}else this.state.quoting=!1,this.state.wasQuoting=!0,this.state.field.prepend(Q),J+=Q.length-1}else if(this.state.field.length!==0){if(g===!1){let gt=this.__infoField(),bi=Object.keys(lp).map(el=>lp[el].equals(this.state.field.toString())?el:!1).filter(Boolean)[0],Ss=this.__error(new Be("INVALID_OPENING_QUOTE",["Invalid Opening Quote:",`a quote is found on field ${JSON.stringify(gt.column)} at line ${gt.lines}, value is ${JSON.stringify(this.state.field.toString(d))}`,bi?`(${bi} bom)`:void 0],this.options,gt,{field:this.state.field}));if(Ss!==void 0)return Ss}}else{this.state.quoting=!0,J+=Q.length-1;continue}if(this.state.quoting===!1){let gt=this.__isRecordDelimiter(Oe,ue,J);if(gt!==0){if(this.state.commenting&&this.state.wasQuoting===!1&&this.state.record.length===0&&this.state.field.length===0)this.info.comment_lines++;else{if(this.state.enabled===!1&&this.info.lines+(this.state.wasRowDelimiter===!0?1:0)>=A){this.state.enabled=!0,this.__resetField(),this.__resetRecord(),J+=gt-1;continue}if(E===!0&&this.state.wasQuoting===!1&&this.state.record.length===0&&this.state.field.length===0){this.info.empty_lines++,J+=gt-1;continue}this.info.bytes=this.state.bufBytesStart+J;let el=this.__onField();if(el!==void 0)return el;this.info.bytes=this.state.bufBytesStart+J+gt;let oE=this.__onRecord(i);if(oE!==void 0)return oE;if(C!==-1&&this.info.records>=C){this.state.stop=!0,a();return}}this.state.commenting=!1,J+=gt-1;continue}if(this.state.commenting)continue;if(b!==null&&(l===!1||this.state.record.length===0&&this.state.field.length===0)&&this.__compareBytes(b,ue,J,Oe)!==0){this.state.commenting=!0;continue}let bi=this.__isDelimiter(ue,J,Oe);if(bi!==0){this.info.bytes=this.state.bufBytesStart+J;let Ss=this.__onField();if(Ss!==void 0)return Ss;J+=bi-1;continue}}}if(this.state.commenting===!1&&f!==0&&this.state.record_length+this.state.field.length>f)return this.__error(new Be("CSV_MAX_RECORD_SIZE",["Max Record Size:","record exceed the maximum number of tolerated bytes",`of ${f}`,`at line ${this.info.lines}`],this.options,this.__infoField()));let Bi=p===!1||th Line truncated
`,i),Buffer.from(`
`,i),Buffer.from("\r",i)];e:for(let c=0;c<a.length;c++){let l=a[c].length;for(let u=0;u<l;u++)if(a[c][u]!==s[n+u])continue e;return this.options.record_delimiter.push(a[c]),this.state.recordDelimiterMaxLength=a[c].length,a[c].length}return 0},"__autoDiscoverRecordDelimiter"),__error:o(function(s){let{encoding:n,raw:i,skip_records_with_error:a}=this.options,c=typeof s=="string"?new Error(s):s;if(a){if(this.state.recordHasError=!0,this.options.on_skip!==void 0)try{this.options.on_skip(c,i?this.state.rawBuffer.toString(n):void 0)}catch(l){return l}return}else return c},"__error"),__infoDataSet:o(function(){return{...this.info,columns:this.options.columns}},"__infoDataSet"),__infoRecord:o(function(){let{columns:s,raw:n,encoding:i}=this.options;return{...this.__infoDataSet(),bytes_records:this.info.bytes,error:this.state.error,header:s===!0,index:this.state.record.length,raw:n?this.state.rawBuffer.toString(i):void 0}},"__infoRecord"),__infoField:o(function(){let{columns:s}=this.options,n=Array.isArray(s),i=this.info.bytes_records;return{...this.__infoRecord(),bytes_records:i,column:n===!0?s.length>this.state.record.length?s[this.state.record.length].name:null:this.state.record.length,quoting:this.state.wasQuoting}},"__infoField")}},"transform");var rn=o(function(t,e={}){typeof t=="string"&&(t=Buffer.from(t));let r=e&&e.objname?Object.create(null):[],s=n0(e),n=o(c=>{s.options.objname===void 0?r.push(c):r[c[0]]=c[1]},"push"),i=o(()=>{},"close"),a=s.parse(t,!0,n,i);if(a!==void 0)throw a;return r},"parse");var st=class t{static{o(this,"Util")}static getInputList(e,r){return this.getList(cc(e,{trimWhitespace:r?.trimWhitespace!==!1}),r)}static getList(e,r){let s=[];if(e=="")return s;let n=rn(e,{columns:!1,relaxQuotes:!0,comment:r?.comment,comment_no_infix:r?.commentNoInfix,relaxColumnCount:!0,skipEmptyLines:!0,quote:r?.quote});for(let i of n)i.length==1?r?.ignoreComma?s.push(i[0]):s.push(...i[0].split(",")):r?.ignoreComma?s.push(i.join(",")):s.push(...i);return s.filter(i=>i).map(i=>r?.trimWhitespace===!1?i:i.trim())}static getInputNumber(e){let r=cc(e);if(r)return parseInt(r)}static async asyncForEach(e,r){for(let s=0;s<e.length;s++)await r(e[s],s,e)}static isValidURL(e){let r;try{r=new URL(e)}catch{return!1}return r.protocol==="http:"||r.protocol==="https:"}static isValidRef(e){if(t.isValidURL(e))return!0;for(let r of["git://","github.com/","git@"])if(e.startsWith(r))return!0;return!1}static async powershellCommand(e,r){let s=await fr("powershell",!0),n=e.replace(/'/g,"''"),i=[];if(r)for(let a in r)i.push(`-${a} '${r[a].replace(/'/g,"''")}'`);return{command:`"${s}"`,args:["-NoLogo","-Sta","-NoProfile","-NonInteractive","-ExecutionPolicy","Unrestricted","-EncodedCommand",Buffer.from(`& '${n}' ${i.join(" ")}`,"utf16le").toString("base64")]}}static isDirectory(e){try{return Wre.default.lstatSync(e).isDirectory()}catch{}return!1}static trimPrefix(e,r){return!e||!r||e.indexOf(r)!==0?e:e.substring(r.length)}static trimSuffix(e,r){if(!e||!r)return e;let s=e.lastIndexOf(r);return s===-1||s+r.length!==e.length?e:e.substring(0,s)}static sleep(e){return new Promise(r=>setTimeout(r,e*1e3))}static hash(e){return vF.default.createHash("sha256").update(e).digest("hex")}static parseBool(e){if(e===void 0)return!1;switch(e){case"1":case"t":case"T":case"true":case"TRUE":case"True":return!0;case"0":case"f":case"F":case"false":case"FALSE":case"False":return!1;default:throw new Error(`parseBool syntax error: ${e}`)}}static parseBoolOrDefault(e,r=!1){try{return this.parseBool(e)}catch{return r}}static formatFileSize(e){if(e===0)return"0 Bytes";let r=1024,s=["Bytes","KB","MB","GB","TB","PB","EB","ZB","YB"],n=Math.floor(Math.log(e)/Math.log(r));return parseFloat((e/Math.pow(r,n)).toFixed(2))+" "+s[n]}static generateRandomString(e=10){return vF.default.randomBytes(Math.ceil(e/2)).toString("hex").slice(0,e)}static compileHandlebars(e,r,s){return jre.default.compile(e,r)(s)}static stringToUnicodeEntities(e){return Array.from(e).map(r=>`&#x${r.charCodeAt(0).toString(16)};`).join("")}static countLines(e){return e.split(/\r\n|\r|\n/).length}static isPathRelativeTo(e,r){let s=Eg.default.resolve(e);return Eg.default.resolve(r).startsWith(s.endsWith(Eg.default.sep)?s:`${s}${Eg.default.sep}`)}static formatDuration(e){if(e===0)return"0s";let r=Math.floor(e/1e9),s=Math.floor(r/3600),n=Math.floor(r%3600/60),i=r%60,a=[];return s&&a.push(`${s}h`),n&&a.push(`${n}m`),(i||a.length===0)&&a.push(`${i}s`),a.join("")}};var tr=class t{static{o(this,"Docker")}static get configDir(){return process.env.DOCKER_CONFIG||yg.default.join(Kre.default.homedir(),".docker")}static configFile(){let e=yg.default.join(t.configDir,"config.json");if(PF.default.existsSync(e))return JSON.parse(PF.default.readFileSync(e,{encoding:"utf-8"}))}static async isAvailable(){return await fr("docker",!0).then(e=>(B(`Docker.isAvailable ok: ${e}`),!0)).catch(e=>(B(`Docker.isAvailable error: ${e}`),!1))}static async isDaemonRunning(){try{return await t.getExecOutput(["version"],{silent:!0}),!0 Line truncated
${s}`)},"onRetry")})}static isPullTransientError(e){return/Client\.Timeout exceeded|TLS handshake timeout|i\/o timeout|context deadline exceeded|request canceled|connection reset by peer|connection refused|connection timed out|temporary failure|unexpected EOF|\bEOF\b|server misbehaving/i.test(e)||/\b(500|502|503|504)\b/.test(e)||/\b(service unavailable|bad gateway|gateway timeout|internal server error)\b/i.test(e)}};var jse=w(require("crypto"),1);var i0=require("fs"),ese=require("os");var up=class{static{o(this,"Context")}constructor(){var e,r,s;if(this.payload={},process.env.GITHUB_EVENT_PATH)if((0,i0.existsSync)(process.env.GITHUB_EVENT_PATH))this.payload=JSON.parse((0,i0.readFileSync)(process.env.GITHUB_EVENT_PATH,{encoding:"utf8"}));else{let n=process.env.GITHUB_EVENT_PATH;process.stdout.write(`GITHUB_EVENT_PATH ${n} does not exist${ese.EOL}`)}this.eventName=process.env.GITHUB_EVENT_NAME,this.sha=process.env.GITHUB_SHA,this.ref=process.env.GITHUB_REF,this.workflow=process.env.GITHUB_WORKFLOW,this.action=process.env.GITHUB_ACTION,this.actor=process.env.GITHUB_ACTOR,this.job=process.env.GITHUB_JOB,this.runAttempt=parseInt(process.env.GITHUB_RUN_ATTEMPT,10),this.runNumber=parseInt(process.env.GITHUB_RUN_NUMBER,10),this.runId=parseInt(process.env.GITHUB_RUN_ID,10),this.apiUrl=(e=process.env.GITHUB_API_URL)!==null&&e!==void 0?e:"https://api.github.com",this.serverUrl=(r=process.env.GITHUB_SERVER_URL)!==null&&r!==void 0?r:"https://github.com",this.graphqlUrl=(s=process.env.GITHUB_GRAPHQL_URL)!==null&&s!==void 0?s:"https://api.github.com/graphql"}get issue(){let e=this.payload;return Object.assign(Object.assign({},this.repo),{number:(e.issue||e.pull_request||e).number})}get repo(){if(process.env.GITHUB_REPOSITORY){let[e,r]=process.env.GITHUB_REPOSITORY.split("/");return{owner:e,repo:r}}if(this.payload.repository)return{owner:this.payload.repository.owner.login,repo:this.payload.repository.name};throw new Error("context.repo requires a GITHUB_REPOSITORY environment variable like 'owner/repo'")}};var OF=w(ise(),1),ose=w(Hd(),1);var nqe=function(t,e,r,s){function n(i){return i instanceof r?i:new r(function(a){a(i)})}return o(n,"adopt"),new(r||(r=Promise))(function(i,a){function c(d){try{u(s.next(d))}catch(A){a(A)}}o(c,"fulfilled");function l(d){try{u(s.throw(d))}catch(A){a(A)}}o(l,"rejected");function u(d){d.done?i(d.value):n(d.value).then(c,l)}o(u,"step"),u((s=s.apply(t,e||[])).next())})};function ase(t,e){if(!t&&!e.auth)throw new Error("Parameter token or opts.auth is required");if(t&&e.auth)throw new Error("Parameters token and opts.auth may not both be specified");return typeof e.auth=="string"?e.auth:`token ${t}`}o(ase,"getAuthString");function cse(t){return new OF.HttpClient().getAgent(t)}o(cse,"getProxyAgent");function iqe(t){return new OF.HttpClient().getAgentDispatcher(t)}o(iqe,"getProxyAgentDispatcher");function lse(t){let e=iqe(t);return o((s,n)=>nqe(this,void 0,void 0,function*(){return(0,ose.fetch)(s,Object.assign(Object.assign({},n),{dispatcher:e}))}),"proxyFetch")}o(lse,"getProxyFetch");function use(){return process.env.GITHUB_API_URL||"https://api.github.com"}o(use,"getApiBaseUrl");function MF(t){var e;let r=(e=process.env.ACTIONS_ORCHESTRATION_ID)===null||e===void 0?void 0:e.trim();if(r){let n=`actions_orchestration_id/${r.replace(/[^a-z0-9_.-]/gi,"_")}`;return t?.includes(n)?t:`${t?`${t} `:""}${n}`}return t}o(MF,"getUserAgentWithOrchestrationId");function kc(){return typeof navigator=="object"&&"userAgent"in navigator?navigator.userAgent:typeof process=="object"&&process.version!==void 0?`Node.js/${process.version.substr(1)} (${process.platform}; ${process.arch})`:"<environment undetectable>"}o(kc,"getUserAgent");function A0(t,e,r,s){if(typeof r!="function")throw new Error("method for before hook must be a function");return s||(s={}),Array.isArray(e)?e.reverse().reduce((n,i)=>A0.bind(null,t,i,n,s),r)():Promise.resolve().then(()=>t.registry[e]?t.registry[e].reduce((n,i)=>i.hook.bind(null,n,s),r)():r(s))}o(A0,"register");function dse(t,e,r,s){let n=s;t.registry[r]||(t.registry[r]=[]),e==="before"&&(s=o((i,a)=>Promise.resolve().then(n.bind(null,a)).then(i.bind(null,a)),"hook")),e==="after"&&(s=o((i,a)=>{let c;return Promise.resolve().then(i.bind(null,a)).then(l=>(c=l,n(c,a))).then(()=>c)},"hook")),e==="error"&&(s=o((i,a)=>Promise.resolve().then(i.bind(null,a)).catch(c=>n(c,a)),"hook")),t.registry[r].push({hook:s,orig:n})}o(dse,"addHook");function Ase(t,e,r){if(!t.registry[e])return;let s=t.registry[e].map(n=>n.orig).indexOf(r);s!==-1&&t.registry[e].splice(s,1)}o(Ase,"removeHook");var pse=Function.bind,fse=pse.bind(pse);function hse(t,e,r){let s=fse(Ase,null).apply(null,r?[e,r]:[e]);t.api={remove:s},t.remove=s,["before","error","after","wrap"].forEach(n=>{let i=r?[e,n,r]:[e,n];t[n]=t.api[n]=fse(dse,null).apply(null,i)})}o(hse,"bindApi");function aqe(){let t=Symbol("Singular"),e={registry:{}},r=A0.bind(null,e,t);return hse(r,e,t),r}o(aqe,"Singular");function cqe(){let t={registry:{}},e=A0.bind(null, Line truncated
`+t.errors.map(e=>` - ${e.message}`).join(`
`)}var fat=class extends Error{constructor(t,e,r){super(dat(r)),this.request=t,this.headers=e,this.response=r,this.errors=r.errors,this.data=r.data,Error.captureStackTrace&&Error.captureStackTrace(this,this.constructor)}name="GraphqlResponseError";errors;data},pat=["method","baseUrl","url","headers","request","query","mediaType","operationName"],Aat=["query","method","url"],cEe=/\/api\/v3\/?$/;function mat(t,e,r){if(r){if(typeof e=="string"&&"query"in r)return Promise.reject(new Error('[@octokit/graphql] "query" cannot be used as variable name'));for(let o in r)if(Aat.includes(o))return Promise.reject(new Error(`[@octokit/graphql] "${o}" cannot be used as variable name`))}let s=typeof e=="string"?Object.assign({query:e},r):e,i=Object.keys(s).reduce((o,a)=>pat.includes(a)?(o[a]=s[a],o):(o.variables||(o.variables={}),o.variables[a]=s[a],o),{}),n=s.baseUrl||t.endpoint.DEFAULTS.baseUrl;return cEe.test(n)&&(i.url=n.replace(cEe,"/api/graphql")),t(i).then(o=>{if(o.data.errors){let a={};for(let c of Object.keys(o.headers))a[c]=o.headers[c];throw new fat(i,a,o.data)}return o.data.data})}function HV(t,e){let r=t.defaults(e);return Object.assign((i,n)=>mat(r,i,n),{defaults:HV.bind(null,r),endpoint:r.endpoint})}var zWt=HV(hb,{headers:{"user-agent":`octokit-graphql.js/${hat} ${gd()}`},method:"POST",url:"/graphql"});function lEe(t){return HV(t,{method:"POST",url:"/graphql"})}var zV="(?:[a-zA-Z0-9_-]+)",uEe="\\.",hEe=new RegExp(`^${zV}${uEe}${zV}${uEe}${zV}$`),gat=hEe.test.bind(hEe);async function yat(t){let e=gat(t),r=t.startsWith("v1.")||t.startsWith("ghs_"),s=t.startsWith("ghu_");return{type:"token",token:t,tokenType:e?"app":r?"installation":s?"user-to-server":"oauth"}}function Eat(t){return t.split(/\./).length===3?`bearer ${t}`:`token ${t}`}async function Cat(t,e,r,s){let i=e.endpoint.merge(r,s);return i.headers.authorization=Eat(t),e(i)}var dEe=function(e){if(!e)throw new Error("[@octokit/auth-token] No token passed to createTokenAuth");if(typeof e!="string")throw new Error("[@octokit/auth-token] Token passed to createTokenAuth is not a string");return e=e.replace(/^(token|bearer) +/i,""),Object.assign(yat.bind(null,e),{hook:Cat.bind(null,e)})};var VV="7.0.6";var fEe=()=>{},Iat=console.warn.bind(console),bat=console.error.bind(console);function wat(t={}){return typeof t.debug!="function"&&(t.debug=fEe),typeof t.info!="function"&&(t.info=fEe),typeof t.warn!="function"&&(t.warn=Iat),typeof t.error!="function"&&(t.error=bat),t}var pEe=`octokit-core.js/${VV} ${gd()}`,S_=class{static VERSION=VV;static defaults(e){return class extends this{constructor(...s){let i=s[0]||{};if(typeof e=="function"){super(e(i));return}super(Object.assign({},e,i,i.userAgent&&e.userAgent?{userAgent:`${i.userAgent} ${e.userAgent}`}:null))}}}static plugins=[];static plugin(...e){let r=this.plugins;return class extends this{static plugins=r.concat(e.filter(i=>!r.includes(i)))}}constructor(e={}){let r=new Hye.Collection,s={baseUrl:hb.endpoint.DEFAULTS.baseUrl,headers:{},request:Object.assign({},e.request,{hook:r.bind(null,"request")}),mediaType:{previews:[],format:""}};if(s.headers["user-agent"]=e.userAgent?`${e.userAgent} ${pEe}`:pEe,e.baseUrl&&(s.baseUrl=e.baseUrl),e.previews&&(s.mediaType.previews=e.previews),e.timeZone&&(s.headers["time-zone"]=e.timeZone),this.request=hb.defaults(s),this.graphql=lEe(this.request).defaults(s),this.log=wat(e.log),this.hook=r,e.authStrategy){let{authStrategy:n,...o}=e,a=n(Object.assign({request:this.request,log:this.log,octokit:this,octokitOptions:o},e.auth));r.wrap("request",a.hook),this.auth=a}else if(!e.auth)this.auth=async()=>({type:"unauthenticated"});else{let n=dEe(e.auth);r.wrap("request",n.hook),this.auth=n}let i=this.constructor;for(let n=0;n<i.plugins.length;++n)Object.assign(this,i.plugins[n](this,e))}request;graphql;log;hook;auth};var $V="17.0.0";var Bat={actions:{addCustomLabelsToSelfHostedRunnerForOrg:["POST /orgs/{org}/actions/runners/{runner_id}/labels"],addCustomLabelsToSelfHostedRunnerForRepo:["POST /repos/{owner}/{repo}/actions/runners/{runner_id}/labels"],addRepoAccessToSelfHostedRunnerGroupInOrg:["PUT /orgs/{org}/actions/runner-groups/{runner_group_id}/repositories/{repository_id}"],addSelectedRepoToOrgSecret:["PUT /orgs/{org}/actions/secrets/{secret_name}/repositories/{repository_id}"],addSelectedRepoToOrgVariable:["PUT /orgs/{org}/actions/variables/{name}/repositories/{repository_id}"],approveWorkflowRun:["POST /repos/{owner}/{repo}/actions/runs/{run_id}/approve"],cancelWorkflowRun:["POST /repos/{owner}/{repo}/actions/runs/{run_id}/cancel"],createEnvironmentVariable:["POST /repos/{owner}/{repo}/environments/{environment_name}/variables"],createHostedRunnerForOrg:["POST /orgs/{org}/actions/hosted-runners"],createOrUpdateEnvironmentSecret:["PUT /repos/{owner}/{repo}/environments/{environment_name}/secrets/{secret_name}"],createOrUpdateOrgSecret:["PUT /orgs/{org}/actions/secrets/{secret_name}"],createOrUpdateRepoSecret:["PUT /repos/{owner}/{repo}/actions/secrets/{secret_name}"],createOrgVaria Line truncated
More info: ${c.url}`);let f=c.range&&c.range.length>0?c.range[0]?.start.line:void 0,p=!1;for(let m of o)if(m.remote||m.path.endsWith(l)&&m.content===u){a.push({title:h,message:d,file:m.path,startLine:f}),p=!0;break}p||z(`Buildx.convertWarningsToGitHubAnnotations: skipping warning without matching Dockerfile ${l}: ${h}`)}return a}};var Qp=O(require("fs"),1),w3=O(require("path"),1);var G_=class t{buildx;iidFilename;metadataFilename;constructor(e){this.buildx=e?.buildx||new zt,this.iidFilename=`build-iidfile-${Xt.generateRandomString()}.txt`,this.metadataFilename=`build-metadata-${Xt.generateRandomString()}.json`}async gitContext(e){let r=new Set(["ref","checksum","subdir"]),s=e?.attrs||{},i=Object.entries(s).filter(([f])=>!r.has(f)),n=Xt.parseBoolOrDefault(s["fetch-by-commit"]),o=e?.ref||s.ref||Pi.ref;o.startsWith("refs/")?o.startsWith("refs/pull/")&&Xt.parseBoolOrDefault(process.env.DOCKER_DEFAULT_GIT_CONTEXT_PR_HEAD_REF)&&(o=o.replace(/\/merge$/g,"/head")):o=`refs/heads/${o}`;let a=`${Pt.serverURL}/${Pi.repo.owner}/${Pi.repo.repo}.git`,c=e?.checksum||s.checksum,l=e?.subdir||s.subdir,u=e?.format;if(!u){if(u="fragment",i.length>0)u="query";else if(Xt.parseBoolOrDefault(process.env.BUILDX_SEND_GIT_QUERY_AS_INPUT))try{await this.buildx.versionSatisfies(">=0.29.0")&&(u="query")}catch{}}let h=Pi.sha||o;o.startsWith("refs/pull/")&&o.endsWith("/head")&&(h=typeof Pi.payload.pull_request?.head?.sha=="string"?Pi.payload.pull_request.head.sha:o);let d=c||h;if(u==="query"){let f=[`ref=${n||c?o:d}`],p=n?d:c;p&&f.push(`checksum=${p}`),l&&l!=="."&&f.push(`subdir=${l}`);for(let[m,E]of i)f.push(`${m}=${E}`);return`${a}?${f.join("&")}`}return`${a}#${d}${l&&l!=="."?`:${l}`:""}`}getImageIDFilePath(){return w3.default.join(Ct.tmpDir(),this.iidFilename)}resolveImageID(){let e=this.getImageIDFilePath();if(Qp.default.existsSync(e))return Qp.default.readFileSync(e,{encoding:"utf-8"}).trim()}getMetadataFilePath(){return w3.default.join(Ct.tmpDir(),this.metadataFilename)}resolveMetadata(){let e=this.getMetadataFilePath();if(!Qp.default.existsSync(e))return;let r=Qp.default.readFileSync(e,{encoding:"utf-8"}).trim();if(r!=="null")return JSON.parse(r)}resolveRef(e){if(!(!e&&(e=this.resolveMetadata(),!e))&&"buildx.build.ref"in e)return e["buildx.build.ref"]}resolveProvenance(e){if(!(!e&&(e=this.resolveMetadata(),!e))&&"buildx.build.provenance"in e)return e["buildx.build.provenance"]}resolveWarnings(e){if(!(!e&&(e=this.resolveMetadata(),!e))&&"buildx.build.warnings"in e)return e["buildx.build.warnings"]}resolveDigest(e){if(!(!e&&(e=this.resolveMetadata(),!e))&&"containerimage.digest"in e)return e["containerimage.digest"]}static resolveSecretString(e){let[r,s]=t.resolveSecret(e,{redact:!0});return`id=${r},src=${s}`}static resolveSecretFile(e){let[r,s]=t.resolveSecret(e,{asFile:!0});return`id=${r},src=${s}`}static resolveSecretEnv(e){let[r,s]=t.parseSecretKvp(e);return`id=${r},env=${s}`}static resolveSecret(e,r){let[s,i]=t.parseSecretKvp(e,r?.redact);if(r?.asFile){if(!Qp.default.existsSync(i))throw new Error(`secret file ${i} not found`);return[s,i]}let n=Ct.tmpName({tmpdir:Ct.tmpDir()});return Qp.default.writeFileSync(n,i),[s,n]}static getProvenanceInput(e){let r=Qm(e);if(!r)return r;try{return tne(e)?`builder-id=${Pt.workflowRunURL(!0)}`:"false"}catch{return t.resolveProvenanceAttrs(r)}}static resolveProvenanceAttrs(e){if(!e)return`builder-id=${Pt.workflowRunURL(!0)}`;let r=no(e,{relaxColumnCount:!0,skipEmptyLines:!0})[0];for(let s of r)if(s.toString().split(/(?<=^[^=]+?)=/).map(n=>n.trim())[0]=="builder-id")return e;return`${e},builder-id=${Pt.workflowRunURL(!0)}`}static resolveCacheToAttrs(e,r){if(!e)return e;let s="registry",i="",n="",o=no(e,{relaxColumnCount:!0,skipEmptyLines:!0})[0];for(let a of o){let c=a.toString().split(/(?<=^[^=]+?)=/).map(l=>l.trim());c[0]==="type"?s=c[1]:c[0]==="repository"?i=c[1]:c[0]==="ghtoken"&&(n=c[1])}return s==="gha"&&(i||(e=`${e},repository=${Pt.repository}`),!n&&r&&(e=`${e},ghtoken=${r}`)),e}static hasLocalExporter(e){return t.hasExporterType("local",e)}static hasTarExporter(e){return t.hasExporterType("tar",e)}static hasDockerExporter(e,r){return r||t.hasExporterType("docker",e)}static hasExporterType(e,r){let s=no(r.join(`
`),{delimiter:",",trim:!0,columns:!1,relaxColumnCount:!0});for(let i of s){if(i.length==1&&!i[0].startsWith("type="))return e=="local";for(let[n,o]of i.map(a=>a.split("=").map(c=>c.trim())))if(n=="type"&&o==e)return!0}return!1}static hasAttestationType(e,r){let s=no(r,{delimiter:",",trim:!0,columns:!1,relaxColumnCount:!0});for(let i of s)for(let[n,o]of i.map(a=>a.split("=").map(c=>c.trim())))if(n=="type"&&o==e)return!0;return!1}static resolveAttestationAttrs(e){let r=no(e,{delimiter:",",trim:!0,columns:!1,relaxColumnCount:!0}),s=[];for(let i of r)for(let n of i)try{let o=Xt.parseBool(n);s.push(`disabled=${!o}`)}catch{s.push(n)}return s.join(",")}static hasGitAuthTokenSecret(e,r){for(let s of e){if(r&&s.startsWith(`GIT_AUTH_TOKEN.${r}=`))return!0;if(s.startsWith("GIT_AUTH_TOKEN="))return!0}return!1}static parseSecretKvp(e,r){let s=e.indexOf("="),i=e.substring(0,s),n=e.substring(s+1);if(i.length==0||n.length==0)throw new Error(`${e} is not a valid secret`);return r&&KC(n),[i,n]}};var B3=O(require("fs"),1),pIe=O(require("path"),1);var H_=class t{buildx;metadataFilename;constructor(e){this.buildx=e?.buildx||new zt,this.metadataFilename=`bake-metadata-${Xt.generateRandomString()}.json`}getMetadataFilePath(){return pIe.default.join(Ct.tmpDir(),this.metadataFilename)}resolveMetadata(){let e=this.getMetadataFilePath();if(!B3.default.existsSync(e))return;let r=B3.default.readFileSync(e,{encoding:"utf-8"}).trim();if(r!=="null")return JSON.parse(r)}resolveRefs(e){if(!e&&(e=this.resolveMetadata(),!e))return;let r=new Array;for(let s in e)"buildx.build.ref"in e[s]&&r.push(e[s]["buildx.build.ref"]);return r.length>0?r:void 0}resolveWarnings(e){if(!(!e&&(e=this.resolveMetadata(),!e))&&"buildx.build.warnings"in e)return e["buildx.build.warnings"]}async getDefinition(e,r){r=r||{ignoreReturnCode:!0},r.ignoreReturnCode=!0,r.env=Object.assign({},process.env,r.env||{},e.githubToken?{BUILDX_BAKE_GIT_AUTH_TOKEN:e.githubToken}:{});let s=["bake"],i,n=[],o=[...e.files||[],e.source];if(o){for(let c of o.map(l=>l?l.trim():""))if(c.length!=0){if(!Xt.isValidRef(c)){n.push(c);continue}if(i)throw new Error("Only one remote bake definition can be defined");i=c}}i&&s.push(i);for(let c of n)s.push("--file",c);if(e.overrides)for(let c of e.overrides)s.push("--set",c);if(e.vars)for(let c of e.vars)s.push("--var",c);if(e.allow)for(let c of e.allow)s.push("--allow",c);e.call&&s.push("--call",e.call),e.load&&s.push("--load"),e.noCache&&s.push("--no-cache"),e.provenance&&s.push("--provenance",e.provenance),e.push&&s.push("--push"),e.sbom&&s.push("--sbom",e.sbom);let a=await this.buildx.getCommand([...s,"--print",...e.targets||[]]);return await ke.getExecOutput(a.command,a.args,r).then(c=>{if(c.stderr.length>0&&c.exitCode!=0)throw new Error(`cannot parse bake definitions: ${c.stderr.match(/(.*)\s*$/)?.[0]?.trim()??"unknown error"}`);return t.parseDefinition(c.stdout.trim())})}static parseDefinition(e){let r=JSON.parse(e);for(let s in r.target){let i=r.target[s];i.attest&&Array.isArray(i.attest)&&(i.attest=i.attest.map(n=>t.parseAttestEntry(n))),i["cache-from"]&&Array.isArray(i["cache-from"])&&(i["cache-from"]=i["cache-from"].map(n=>t.parseCacheEntry(n))),i["cache-to"]&&Array.isArray(i["cache-to"])&&(i["cache-to"]=i["cache-to"].map(n=>t.parseCacheEntry(n))),i.output&&Array.isArray(i.output)&&(i.output=i.output.map(n=>t.parseExportEntry(n))),i.secret&&Array.isArray(i.secret)&&(i.secret=i.secret.map(n=>t.parseSecretEntry(n))),i.ssh&&Array.isArray(i.ssh)&&(i.ssh=i.ssh.map(n=>t.parseSSHEntry(n)))}return r}static parseAttestEntry(e){if(typeof e!="string")return e;let r={type:""},s=no(e,{relaxColumnCount:!0,skipEmptyLines:!0})[0];for(let i of s){let[n,o]=i.toString().split(/(?<=^[^=]+?)=/).map(a=>a.trim());switch(n){case"type":r.type=o;break;case"disabled":r.disabled=Xt.parseBool(o);break;default:r[n]=o}}return r}static parseCacheEntry(e){if(typeof e!="string")return e;let r={type:""},s=no(e,{relaxColumnCount:!0,skipEmptyLines:!0})[0];if(s.length===1&&!s[0].includes("="))return r.type="registry",r.ref=s[0],r;for(let i of s){let[n,o]=i.toString().split(/(?<=^[^=]+?)=/).map(a=>a.trim());n==="type"?r.type=o:r[n]=o}return r}static parseExportEntry(e){if(typeof e!="string")return e;let r={type:""},s=no(e,{relaxColumnCount:!0,skipEmptyLines:!0})[0];if(s.length===1&&s[0]===e&&!e.startsWith("type="))return e!=="-"?(r.type="local",r.dest=e,r):(r.type="tar",r.dest=e,r);for(let i of s){let[n,o]=i.toString().split(/(?<=^[^=]+?)=/).map(a=>a.trim());n==="type"?r.type=o:r[n]=o}return r}static parseSecretEntry(e){if(typeof e!="string")return e;let r={},s=no(e,{relaxColumnCount:!0,skipEmptyLines:!0})[0],i="";for(let n of s){let[o,a]=n.toString().split(/(?<=^[^=]+?)=/).map(c=>c.trim());switch(o){case"type":i=a;break;case"id":r.id=a;break;case"source":case"src":r.src=a;break;case"env":r.env=a;break}}return i==="env"&&!r.env&&(r.env=r.src,r.src=void 0),r}static parseSSHEntry(e){if(typeof e!="string")return e;let r={},[s,i]=e.split("=",2);return r.id=s,i&&(r.paths=i.split(", Line truncated
`)[0])}static async isHeadDetached(){return await t.exec(["branch","--show-current"]).then(e=>e.length==0)}static async getDetachedRef(){let e=await t.exec(["show","-s","--pretty=%D"]);z(`detached HEAD ref: ${e}`);let r=e.replace(/^grafted, /,"").trim();if(r==="HEAD")return await t.inferRefFromHead();let s=r.match(/^HEAD, (.*)$/);if(!s||!s[1])throw new Error(`Cannot find detached HEAD ref in "${e}"`);let i=s[1].trim();if(i.startsWith("tag: "))return`refs/tags/${i.split(":")[1].trim()}`;if(i.match(/^pull\/\d+\/(head|merge)$/))return`refs/${i}`;let o=i.match(/^[^/]+\/[^/]+, (.+)$/);if(o)return`refs/heads/${o[1].trim()}`;let a=i.match(/^[^/]+\/(.+)$/);if(a)return`refs/heads/${a[1].trim()}`;throw new Error(`Unsupported detached HEAD ref in "${e}"`)}static async exec(e=[]){return await ke.getExecOutput("git",e,{ignoreReturnCode:!0,silent:!0}).then(r=>{if(r.stderr.length>0&&r.exitCode!=0)throw new Error(r.stderr);return r.stdout.trim()})}static async inferRefFromHead(){let e=await t.findContainingRef("refs/heads/");if(e)return e;let r=await t.findContainingRef("refs/remotes/");if(r){let n=r.match(/^refs\/remotes\/[^/]+\/(.+)$/);return n?`refs/heads/${n[1]}`:r}let s=await t.exec(["tag","--contains","HEAD"]),[i]=s.split(`
`).map(n=>n.trim()).filter(n=>n.length>0);if(i)return`refs/tags/${i}`;throw new Error("Cannot infer ref from detached HEAD")}static async findContainingRef(e){let r=await t.exec(["for-each-ref","--format=%(refname)","--contains","HEAD","--sort=-committerdate",e]),[s]=r.split(`
`).map(i=>i.trim()).filter(i=>i.length>0);return s}static async commitDate(e){return new Date(await t.exec(["show","-s",'--format="%ci"',e]))}};var U1e=require("crypto"),Ml=O(require("fs"),1),rf=O(require("path"),1);var hB=O(Cb(),1),Ll=O(xTe(),1),F1e=O(T9(),1),DE=O(Q1e(),1);var _W=O(Cb(),1);var O1e=O(Va(),1);var P1e="application/vnd.oci.empty.v1+json";var mh=class{binPath;_version;_versionOnce;constructor(e){this.binPath=e?.binPath||"cosign",this._version="",this._versionOnce=!1}async isAvailable(){let e=await ke.getExecOutput(this.binPath,[],{ignoreReturnCode:!0,silent:!0}).then(r=>r.stderr.length>0&&r.exitCode!=0?(z(`Cosign.isAvailable cmd err: ${r.stderr.trim()}`),!1):r.exitCode==0).catch(r=>(z(`Cosign.isAvailable error: ${r}`),!1));return z(`Cosign.isAvailable: ${e}`),e}async version(){return this._versionOnce?this._version:(this._versionOnce=!0,this._version=await ke.getExecOutput(this.binPath,["version","--json"],{ignoreReturnCode:!0,silent:!0}).then(e=>{if(e.stderr.length>0&&e.exitCode!=0)throw new Error(e.stderr.trim());return JSON.parse(e.stdout.trim()).gitVersion}),this._version)}async printVersion(){await ke.exec(this.binPath,["version","--json"],{failOnStdErr:!1})}async versionSatisfies(e,r){let s=r??await this.version();if(!s)return z("Cosign.versionSatisfies false: undefined version"),!1;let i=O1e.satisfies(s,e)||/^[0-9a-f]{7}$/.exec(s)!==null;return z(`Cosign.versionSatisfies ${s} statisfies ${e}: ${i}`),i}static parseCommandOutput(e){let r,s,i,n;for(let o of e.split(/\r?\n/)){let a=o.trim();if(!a.startsWith("{")||!a.endsWith("}"))continue;let c;try{c=JSON.parse(a)}catch{continue}if(c&&Array.isArray(c.errors)&&c.errors.length>0&&(n=c.errors),!r&&c&&Array.isArray(c.manifests)&&c.manifests.length>0){let l=c.manifests[0];l?.artifactType===_W.BUNDLE_V03_MEDIA_TYPE&&typeof l.digest=="string"?r=l.digest:l?.artifactType===P1e&&typeof l.digest=="string"&&(s=l.digest)}if(!i&&c&&c.mediaType===_W.BUNDLE_V03_MEDIA_TYPE&&(i=c),i&&(r||s)){n=void 0;break}}return{bundle:i,signatureManifestDigest:r||s,errors:n}}};var QW=O(require("fs"),1);var uD=class t{buildx;constructor(e){this.buildx=e?.buildx||new zt}async getCommand(e){return await this.buildx.getCommand(["imagetools",...e])}async getInspectCommand(e){return await this.getCommand(["inspect",...e])}async getCreateCommand(e){return await this.getCommand(["create",...e])}async inspectImage(e){return await this.inspect(e,"{{json .Image}}",r=>{if(typeof r=="object"&&!Array.isArray(r)&&r!==null)return Object.prototype.hasOwnProperty.call(r,"config"),r;throw new Error("Unexpected output format")})}async inspectManifest(e){return await this.inspect(e,"{{json .Manifest}}",r=>{if(typeof r=="object"&&!Array.isArray(r)&&r!==null)return Object.prototype.hasOwnProperty.call(r,"manifests"),r;throw new Error("Unexpected output format")})}async attestationDescriptors(e){let r=await this.inspectManifest(e);if(typeof r!="object"||r===null||!("manifests"in r)||!Array.isArray(r.manifests))throw new Error(`No descriptor found for ${e.name}`);let s=r.manifests.filter(o=>o.annotations?.["vnd.docker.reference.type"]==="attestation-manifest");if(!e.platform)return s;let i=e.platform,n=new Map;for(let o of r.manifests)o.digest&&n.set(o.digest,o);return s.filter(o=>{let a=o.annotations?.["vnd.docker.reference.digest"];if(!a)return!1;let c=n.get(a);return c?c.platform?.os===i.os&&c.platform?.architecture===i.architecture&&(c.platform?.variant??"")===(i.variant??""):!1})}async attestationDigests(e){return(await this.attestationDescriptors(e)).map(r=>r.digest)}async create(e){let r=[],s=Ct.tmpName({tmpdir:Ct.tmpDir(),template:"imagetools-metadata-XXXXXX"}),i=[],n=[];for(let a of e.sources){if(a.startsWith("cwd://")){let c=a.substring(6);c.length>0&&i.push(c);continue}n.push(a)}if(e.tags)for(let a of e.tags)r.push("--tag",a);if(e.platforms)for(let a of e.platforms)r.push("--platform",a);if(e.annotations)for(let a of e.annotations)r.push("--annotation",a);e.dryRun?r.push("--dry-run"):r.push("--metadata-file",s);for(let a of i)r.push("--file",a);for(let a of n)r.push(a);let o=await this.getCreateCommand(r);if(e.skipExec){j(`[command]${o.command} ${o.args.join(" ")}`),j("Skipped create command");return}return await ke.getExecOutput(o.command,o.args,{ignoreReturnCode:!0,silent:e.silent}).then(a=>{if(a.stderr.length>0&&a.exitCode!=0)throw new Error(a.stderr.trim());if(!e.dryRun){if(!QW.default.existsSync(s))return;let c=QW.default.readFileSync(s,{encoding:"utf-8"}).trim();if(c===""||c==="null")return;let l=JSON.parse(c),u=l["containerimage.descriptor"];return u?{digest:l["containerimage.digest"]||u.digest,descriptor:u,imageNames:l["image.name"]?l["image.name"].split(",").map(h=>h.trim()):[]}:void 0}})}async inspect(e,r,s){let i=await this.getInspectCommand([e.name,"--format",r]);if(!e.retryOnManifestUnknown)return await this.execInspect(i.command,i.args,s);let n=e.retryLimit??15,o;for(let a=0;a<n;a++)try{return await this.execInspect(i.command,i.args,s)}catch(c){if(o=c,!t.isManifestUnknown Line truncated
${o.message}`),await new Promise(l=>setTimeout(l,Math.pow(2,a)*100))}throw o??new Error(`ImageTools inspect command failed for ${e.name}`)}async execInspect(e,r,s){return await ke.getExecOutput(e,r,{ignoreReturnCode:!0,silent:!0}).then(i=>{if(i.stderr.length>0&&i.exitCode!=0)throw new Error(i.stderr.trim());return s(JSON.parse(i.stdout))})}static isManifestUnknownError(e){return/(MANIFEST_UNKNOWN|manifest unknown|not found: not found)/i.test(e)}};var D1e="application/vnd.in-toto+json";var k1e="https://fulcio.sigstore.dev",M1e="https://rekor.sigstore.dev",L1e="https://timestamp.sigstore.dev",_A="https://search.sigstore.dev";var UQt="slsaprovenance1",sf=class t{cosign;imageTools;constructor(e){this.cosign=e?.cosign||new mh,this.imageTools=e?.imageTools||new uD}async signAttestationManifests(e){if(!await this.cosign.isAvailable())throw new Error("Cosign is required to sign attestation manifests");let r={};try{if(!process.env.ACTIONS_ID_TOKEN_REQUEST_URL)throw new Error('missing "id-token" permission. Please add "permissions: id-token: write" to your workflow.');let s=this.signingEndpoints(e.noTransparencyLog);j(`Using Sigstore signing endpoint: ${s.fulcioURL}`);let i=t.noTransparencyLog(e.noTransparencyLog),n=[];await this.cosign.versionSatisfies(">=3.0.4")?await Vh("Creating Sigstore protobuf signing config",async()=>{let o=Ct.tmpName({template:"signing-config-XXXXXX.json",tmpdir:Ct.tmpDir()}),a=["signing-config","create","--with-default-services=true",`--out=${o}`];i&&a.push("--no-default-rekor=true"),await ke.exec(this.cosign.binPath,a,{env:Object.assign({},process.env,{COSIGN_EXPERIMENTAL:"1"})}),j(JSON.stringify(JSON.parse(Ml.default.readFileSync(o,{encoding:"utf-8"})),null,2)),n.push(`--signing-config=${o}`)}):(n.push("--use-signing-config"),i&&n.push("--tlog-upload=false"));for(let o of e.imageNames){let a=await this.imageTools.attestationDigests({name:`${o}@${e.imageDigest}`,retryOnManifestUnknown:e.retryOnManifestUnknown,retryLimit:e.retryLimit});for(let c of a){let l=`${o}@${c}`;await Vh(`Signing attestation manifest ${l}`,async()=>{let u=["sign","--yes","--oidc-provider","github-actions","--registry-referrers-mode","oci-1-1","--new-bundle-format",...n];j(`[command]${this.cosign.binPath} ${[...u,l].join(" ")}`);let h=await ke.getExecOutput(this.cosign.binPath,["--verbose",...u,l],{ignoreReturnCode:!0,silent:!0,env:Object.assign({},process.env,{COSIGN_EXPERIMENTAL:"1"})}),d=mh.parseCommandOutput(h.stderr.trim());if(h.exitCode!=0)if(d.errors&&d.errors.length>0){let p=d.errors.map(m=>`- [${m.code}] ${m.message} : ${m.detail}`).join(`
`)}o(Tqe,"_buildMessageForResponseErrors");var vqe=class extends Error{static{o(this,"GraphqlResponseError")}constructor(t,e,r){super(Tqe(r)),this.request=t,this.headers=e,this.response=r,this.errors=r.errors,this.data=r.data,Error.captureStackTrace&&Error.captureStackTrace(this,this.constructor)}name="GraphqlResponseError";errors;data},Pqe=["method","baseUrl","url","headers","request","query","mediaType","operationName"],_qe=["query","method","url"],Dse=/\/api\/v3\/?$/;function kqe(t,e,r){if(r){if(typeof e=="string"&&"query"in r)return Promise.reject(new Error('[@octokit/graphql] "query" cannot be used as variable name'));for(let a in r)if(_qe.includes(a))return Promise.reject(new Error(`[@octokit/graphql] "${a}" cannot be used as variable name`))}let s=typeof e=="string"?Object.assign({query:e},r):e,n=Object.keys(s).reduce((a,c)=>Pqe.includes(c)?(a[c]=s[c],a):(a.variables||(a.variables={}),a.variables[c]=s[c],a),{}),i=s.baseUrl||t.endpoint.DEFAULTS.baseUrl;return Dse.test(i)&&(n.url=i.replace(Dse,"/api/graphql")),t(n).then(a=>{if(a.data.errors){let c={};for(let l of Object.keys(a.headers))c[l]=a.headers[l];throw new vqe(n,c,a.data)}return a.data.data})}o(kqe,"graphql");function HF(t,e){let r=t.defaults(e);return Object.assign(o((n,i)=>kqe(r,n,i),"newApi"),{defaults:HF.bind(null,r),endpoint:r.endpoint})}o(HF,"withDefaults");var KNt=HF(bg,{headers:{"user-agent":`octokit-graphql.js/${Rqe} ${kc()}`},method:"POST",url:"/graphql"});function Ose(t){return HF(t,{method:"POST",url:"/graphql"})}o(Ose,"withCustomRequest");var VF="(?:[a-zA-Z0-9_-]+)",Mse="\\.",Lse=new RegExp(`^${VF}${Mse}${VF}${Mse}${VF}$`),Dqe=Lse.test.bind(Lse);async function Oqe(t){let e=Dqe(t),r=t.startsWith("v1.")||t.startsWith("ghs_"),s=t.startsWith("ghu_");return{type:"token",token:t,tokenType:e?"app":r?"installation":s?"user-to-server":"oauth"}}o(Oqe,"auth");function Mqe(t){return t.split(/\./).length===3?`bearer ${t}`:`token ${t}`}o(Mqe,"withAuthorizationPrefix");async function Lqe(t,e,r,s){let n=e.endpoint.merge(r,s);return n.headers.authorization=Mqe(t),e(n)}o(Lqe,"hook");var Fse=o(function(e){if(!e)throw new Error("[@octokit/auth-token] No token passed to createTokenAuth");if(typeof e!="string")throw new Error("[@octokit/auth-token] Token passed to createTokenAuth is not a string");return e=e.replace(/^(token|bearer) +/i,""),Object.assign(Oqe.bind(null,e),{hook:Lqe.bind(null,e)})},"createTokenAuth2");var zF="7.0.6";var Use=o(()=>{},"noop"),Fqe=console.warn.bind(console),Uqe=console.error.bind(console);function qqe(t={}){return typeof t.debug!="function"&&(t.debug=Use),typeof t.info!="function"&&(t.info=Use),typeof t.warn!="function"&&(t.warn=Fqe),typeof t.error!="function"&&(t.error=Uqe),t}o(qqe,"createLogger");var qse=`octokit-core.js/${zF} ${kc()}`,m0=class{static{o(this,"Octokit")}static VERSION=zF;static defaults(e){return class extends this{static{o(this,"OctokitWithDefaults")}constructor(...s){let n=s[0]||{};if(typeof e=="function"){super(e(n));return}super(Object.assign({},e,n,n.userAgent&&e.userAgent?{userAgent:`${n.userAgent} ${e.userAgent}`}:null))}}}static plugins=[];static plugin(...e){let r=this.plugins;return class extends this{static{o(this,"NewOctokit")}static plugins=r.concat(e.filter(n=>!r.includes(n)))}}constructor(e={}){let r=new mse.Collection,s={baseUrl:bg.endpoint.DEFAULTS.baseUrl,headers:{},request:Object.assign({},e.request,{hook:r.bind(null,"request")}),mediaType:{previews:[],format:""}};if(s.headers["user-agent"]=e.userAgent?`${e.userAgent} ${qse}`:qse,e.baseUrl&&(s.baseUrl=e.baseUrl),e.previews&&(s.mediaType.previews=e.previews),e.timeZone&&(s.headers["time-zone"]=e.timeZone),this.request=bg.defaults(s),this.graphql=Ose(this.request).defaults(s),this.log=qqe(e.log),this.hook=r,e.authStrategy){let{authStrategy:i,...a}=e,c=i(Object.assign({request:this.request,log:this.log,octokit:this,octokitOptions:a},e.auth));r.wrap("request",c.hook),this.auth=c}else if(!e.auth)this.auth=async()=>({type:"unauthenticated"});else{let i=Fse(e.auth);r.wrap("request",i.hook),this.auth=i}let n=this.constructor;for(let i=0;i<n.plugins.length;++i)Object.assign(this,n.plugins[i](this,e))}request;graphql;log;hook;auth};var JF="17.0.0";var Gqe={actions:{addCustomLabelsToSelfHostedRunnerForOrg:["POST /orgs/{org}/actions/runners/{runner_id}/labels"],addCustomLabelsToSelfHostedRunnerForRepo:["POST /repos/{owner}/{repo}/actions/runners/{runner_id}/labels"],addRepoAccessToSelfHostedRunnerGroupInOrg:["PUT /orgs/{org}/actions/runner-groups/{runner_group_id}/repositories/{repository_id}"],addSelectedRepoToOrgSecret:["PUT /orgs/{org}/actions/secrets/{secret_name}/repositories/{repository_id}"],addSelectedRepoToOrgVariable:["PUT /orgs/{org}/actions/variables/{name}/repositories/{repository_id}"],approveWorkflowRun:["POST /repos/{owner}/{repo}/actions/runs/{run_id}/approve"],cancelWorkflowRun:["POST /repos/{owner}/{repo}/actions/runs/{run_id}/cancel"],createEnvironmentVariable:["POST /repos/{owner}/{repo}/environments/{environment_name}/variables" Line truncated
More info: ${l.url}`);let f=l.range&&l.range.length>0?l.range[0]?.start.line:void 0,m=!1;for(let g of a)if(g.remote||g.path.endsWith(u)&&g.content===d){c.push({title:A,message:p,file:g.path,startLine:f}),m=!0;break}m||B(`Buildx.convertWarningsToGitHubAnnotations: skipping warning without matching Dockerfile ${u}: ${A}`)}return c}};var Qu=w(require("fs"),1),b1=w(require("path"),1);var k0=class t{static{o(this,"Build")}buildx;iidFilename;metadataFilename;constructor(e){this.buildx=e?.buildx||new Ue,this.iidFilename=`build-iidfile-${st.generateRandomString()}.txt`,this.metadataFilename=`build-metadata-${st.generateRandomString()}.json`}async gitContext(e){let r=new Set(["ref","checksum","subdir"]),s=e?.attrs||{},n=Object.entries(s).filter(([f])=>!r.has(f)),i=st.parseBoolOrDefault(s["fetch-by-commit"]),a=e?.ref||s.ref||Wr.ref;a.startsWith("refs/")?a.startsWith("refs/pull/")&&st.parseBoolOrDefault(process.env.DOCKER_DEFAULT_GIT_CONTEXT_PR_HEAD_REF)&&(a=a.replace(/\/merge$/g,"/head")):a=`refs/heads/${a}`;let c=`${Ve.serverURL}/${Wr.repo.owner}/${Wr.repo.repo}.git`,l=e?.checksum||s.checksum,u=e?.subdir||s.subdir,d=e?.format;if(!d){if(d="fragment",n.length>0)d="query";else if(st.parseBoolOrDefault(process.env.BUILDX_SEND_GIT_QUERY_AS_INPUT))try{await this.buildx.versionSatisfies(">=0.29.0")&&(d="query")}catch{}}let A=Wr.sha||a;a.startsWith("refs/pull/")&&a.endsWith("/head")&&(A=typeof Wr.payload.pull_request?.head?.sha=="string"?Wr.payload.pull_request.head.sha:a);let p=l||A;if(d==="query"){let f=[`ref=${i||l?a:p}`],m=i?p:l;m&&f.push(`checksum=${m}`),u&&u!=="."&&f.push(`subdir=${u}`);for(let[g,y]of n)f.push(`${g}=${y}`);return`${c}?${f.join("&")}`}return`${c}#${p}${u&&u!=="."?`:${u}`:""}`}getImageIDFilePath(){return b1.default.join(Re.tmpDir(),this.iidFilename)}resolveImageID(){let e=this.getImageIDFilePath();if(Qu.default.existsSync(e))return Qu.default.readFileSync(e,{encoding:"utf-8"}).trim()}getMetadataFilePath(){return b1.default.join(Re.tmpDir(),this.metadataFilename)}resolveMetadata(){let e=this.getMetadataFilePath();if(!Qu.default.existsSync(e))return;let r=Qu.default.readFileSync(e,{encoding:"utf-8"}).trim();if(r!=="null")return JSON.parse(r)}resolveRef(e){if(!(!e&&(e=this.resolveMetadata(),!e))&&"buildx.build.ref"in e)return e["buildx.build.ref"]}resolveProvenance(e){if(!(!e&&(e=this.resolveMetadata(),!e))&&"buildx.build.provenance"in e)return e["buildx.build.provenance"]}resolveWarnings(e){if(!(!e&&(e=this.resolveMetadata(),!e))&&"buildx.build.warnings"in e)return e["buildx.build.warnings"]}resolveDigest(e){if(!(!e&&(e=this.resolveMetadata(),!e))&&"containerimage.digest"in e)return e["containerimage.digest"]}static resolveSecretString(e){let[r,s]=t.resolveSecret(e,{redact:!0});return`id=${r},src=${s}`}static resolveSecretFile(e){let[r,s]=t.resolveSecret(e,{asFile:!0});return`id=${r},src=${s}`}static resolveSecretEnv(e){let[r,s]=t.parseSecretKvp(e);return`id=${r},env=${s}`}static resolveSecret(e,r){let[s,n]=t.parseSecretKvp(e,r?.redact);if(r?.asFile){if(!Qu.default.existsSync(n))throw new Error(`secret file ${n} not found`);return[s,n]}let i=Re.tmpName({tmpdir:Re.tmpDir()});return Qu.default.writeFileSync(i,n),[s,i]}static getProvenanceInput(e){let r=cc(e);if(!r)return r;try{return uC(e)?`builder-id=${Ve.workflowRunURL(!0)}`:"false"}catch{return t.resolveProvenanceAttrs(r)}}static resolveProvenanceAttrs(e){if(!e)return`builder-id=${Ve.workflowRunURL(!0)}`;let r=rn(e,{relaxColumnCount:!0,skipEmptyLines:!0})[0];for(let s of r)if(s.toString().split(/(?<=^[^=]+?)=/).map(i=>i.trim())[0]=="builder-id")return e;return`${e},builder-id=${Ve.workflowRunURL(!0)}`}static resolveCacheToAttrs(e,r){if(!e)return e;let s="registry",n="",i="",a=rn(e,{relaxColumnCount:!0,skipEmptyLines:!0})[0];for(let c of a){let l=c.toString().split(/(?<=^[^=]+?)=/).map(u=>u.trim());l[0]==="type"?s=l[1]:l[0]==="repository"?n=l[1]:l[0]==="ghtoken"&&(i=l[1])}return s==="gha"&&(n||(e=`${e},repository=${Ve.repository}`),!i&&r&&(e=`${e},ghtoken=${r}`)),e}static hasLocalExporter(e){return t.hasExporterType("local",e)}static hasTarExporter(e){return t.hasExporterType("tar",e)}static hasDockerExporter(e,r){return r||t.hasExporterType("docker",e)}static hasExporterType(e,r){let s=rn(r.join(`
`),{delimiter:",",trim:!0,columns:!1,relaxColumnCount:!0});for(let n of s){if(n.length==1&&!n[0].startsWith("type="))return e=="local";for(let[i,a]of n.map(c=>c.split("=").map(l=>l.trim())))if(i=="type"&&a==e)return!0}return!1}static hasAttestationType(e,r){let s=rn(r,{delimiter:",",trim:!0,columns:!1,relaxColumnCount:!0});for(let n of s)for(let[i,a]of n.map(c=>c.split("=").map(l=>l.trim())))if(i=="type"&&a==e)return!0;return!1}static resolveAttestationAttrs(e){let r=rn(e,{delimiter:",",trim:!0,columns:!1,relaxColumnCount:!0}),s=[];for(let n of r)for(let i of n)try{let a=st.parseBool(i);s.push(`disabled=${!a}`)}catch{s.push(i)}return s.join(",")}static hasGitAuthTokenSecret(e,r){for(let s of e){if(r&&s.startsWith(`GIT_AUTH_TOKEN.${r}=`))return!0;if(s.startsWith("GIT_AUTH_TOKEN="))return!0}return!1}static parseSecretKvp(e,r){let s=e.indexOf("="),n=e.substring(0,s),i=e.substring(s+1);if(n.length==0||i.length==0)throw new Error(`${e} is not a valid secret`);return r&&ki(i),[n,i]}};var w1=w(require("fs"),1),Vie=w(require("path"),1);var D0=class t{static{o(this,"Bake")}buildx;metadataFilename;constructor(e){this.buildx=e?.buildx||new Ue,this.metadataFilename=`bake-metadata-${st.generateRandomString()}.json`}getMetadataFilePath(){return Vie.default.join(Re.tmpDir(),this.metadataFilename)}resolveMetadata(){let e=this.getMetadataFilePath();if(!w1.default.existsSync(e))return;let r=w1.default.readFileSync(e,{encoding:"utf-8"}).trim();if(r!=="null")return JSON.parse(r)}resolveRefs(e){if(!e&&(e=this.resolveMetadata(),!e))return;let r=new Array;for(let s in e)"buildx.build.ref"in e[s]&&r.push(e[s]["buildx.build.ref"]);return r.length>0?r:void 0}resolveWarnings(e){if(!(!e&&(e=this.resolveMetadata(),!e))&&"buildx.build.warnings"in e)return e["buildx.build.warnings"]}async getDefinition(e,r){r=r||{ignoreReturnCode:!0},r.ignoreReturnCode=!0,r.env=Object.assign({},process.env,r.env||{},e.githubToken?{BUILDX_BAKE_GIT_AUTH_TOKEN:e.githubToken}:{});let s=["bake"],n,i=[],a=[...e.files||[],e.source];if(a){for(let l of a.map(u=>u?u.trim():""))if(l.length!=0){if(!st.isValidRef(l)){i.push(l);continue}if(n)throw new Error("Only one remote bake definition can be defined");n=l}}n&&s.push(n);for(let l of i)s.push("--file",l);if(e.overrides)for(let l of e.overrides)s.push("--set",l);if(e.vars)for(let l of e.vars)s.push("--var",l);if(e.allow)for(let l of e.allow)s.push("--allow",l);e.call&&s.push("--call",e.call),e.load&&s.push("--load"),e.noCache&&s.push("--no-cache"),e.provenance&&s.push("--provenance",e.provenance),e.push&&s.push("--push"),e.sbom&&s.push("--sbom",e.sbom);let c=await this.buildx.getCommand([...s,"--print",...e.targets||[]]);return await re.getExecOutput(c.command,c.args,r).then(l=>{if(l.stderr.length>0&&l.exitCode!=0)throw new Error(`cannot parse bake definitions: ${Ue.getErrorMessage(l.stderr)}`);return t.parseDefinition(l.stdout.trim())})}static parseDefinition(e){let r=JSON.parse(e);for(let s in r.target){let n=r.target[s];n.attest&&Array.isArray(n.attest)&&(n.attest=n.attest.map(i=>t.parseAttestEntry(i))),n["cache-from"]&&Array.isArray(n["cache-from"])&&(n["cache-from"]=n["cache-from"].map(i=>t.parseCacheEntry(i))),n["cache-to"]&&Array.isArray(n["cache-to"])&&(n["cache-to"]=n["cache-to"].map(i=>t.parseCacheEntry(i))),n.output&&Array.isArray(n.output)&&(n.output=n.output.map(i=>t.parseExportEntry(i))),n.secret&&Array.isArray(n.secret)&&(n.secret=n.secret.map(i=>t.parseSecretEntry(i))),n.ssh&&Array.isArray(n.ssh)&&(n.ssh=n.ssh.map(i=>t.parseSSHEntry(i)))}return r}static parseAttestEntry(e){if(typeof e!="string")return e;let r={type:""},s=rn(e,{relaxColumnCount:!0,skipEmptyLines:!0})[0];for(let n of s){let[i,a]=n.toString().split(/(?<=^[^=]+?)=/).map(c=>c.trim());switch(i){case"type":r.type=a;break;case"disabled":r.disabled=st.parseBool(a);break;default:r[i]=a}}return r}static parseCacheEntry(e){if(typeof e!="string")return e;let r={type:""},s=rn(e,{relaxColumnCount:!0,skipEmptyLines:!0})[0];if(s.length===1&&!s[0].includes("="))return r.type="registry",r.ref=s[0],r;for(let n of s){let[i,a]=n.toString().split(/(?<=^[^=]+?)=/).map(c=>c.trim());i==="type"?r.type=a:r[i]=a}return r}static parseExportEntry(e){if(typeof e!="string")return e;let r={type:""},s=rn(e,{relaxColumnCount:!0,skipEmptyLines:!0})[0];if(s.length===1&&s[0]===e&&!e.startsWith("type="))return e!=="-"?(r.type="local",r.dest=e,r):(r.type="tar",r.dest=e,r);for(let n of s){let[i,a]=n.toString().split(/(?<=^[^=]+?)=/).map(c=>c.trim());i==="type"?r.type=a:r[i]=a}return r}static parseSecretEntry(e){if(typeof e!="string")return e;let r={},s=rn(e,{relaxColumnCount:!0,skipEmptyLines:!0})[0],n="";for(let i of s){let[a,c]=i.toString().split(/(?<=^[^=]+?)=/).map(l=>l.trim());switch(a){case"type":n=c;break;case"id":r.id=c;break;case"source":case"src":r.src=c;break;case"env":r.env=c;break}}return n==="env"&&!r.env&&(r.env=r.src,r.src=void 0),r}static parseSSHEntry(e){if(typeof e!="string")return e;let r={},[s,n]=e.split("=",2);return r.id=s,n&&(r.paths=n.split(",")),r} Line truncated
`)[0])}static async isHeadDetached(e){return await t.exec(["branch","--show-current"],e).then(r=>r.length==0)}static async getDetachedRef(e){let r=await t.exec(["show","-s","--pretty=%D"],e);B(`detached HEAD ref: ${r}`);let s=r.replace(/^grafted, /,"").trim();if(s==="HEAD")return await t.inferRefFromHead(e);let n=s.match(/^HEAD, (.*)$/);if(!n||!n[1])throw new Error(`Cannot find detached HEAD ref in "${r}"`);let i=n[1].trim();if(i.startsWith("tag: "))return await t.findDetachedTagRef(i,r,e);if(i.match(/^pull\/\d+\/(head|merge)$/))return`refs/${i}`;let c=i.match(/^[^/]+\/[^/]+, (.+)$/);if(c)return`refs/heads/${c[1].trim()}`;let l=i.match(/^[^/]+\/(.+)$/);if(l)return`refs/heads/${l[1].trim()}`;throw new Error(`Unsupported detached HEAD ref in "${r}"`)}static async exec(e=[],r){return await re.getExecOutput("git",e,{cwd:r,ignoreReturnCode:!0,silent:!0}).then(s=>{if(s.stderr.length>0&&s.exitCode!=0)throw new Error(s.stderr);return s.stdout.trim()})}static async inferRefFromHead(e){let r=await t.findContainingRef("refs/heads/",e);if(r)return r;let s=await t.findContainingRef("refs/remotes/",e);if(s){let a=s.match(/^refs\/remotes\/[^/]+\/(.+)$/);return a?`refs/heads/${a[1]}`:s}let n=await t.exec(["tag","--contains","HEAD"],e),[i]=n.split(`
`).map(a=>a.trim()).filter(a=>a.length>0);return i?`refs/tags/${i}`:""}static async findDetachedTagRef(e,r,s){let i=(await t.exec(["for-each-ref","--format=%(refname)","--points-at","HEAD","refs/tags/"],s)).split(`
`).map(a=>a.trim()).filter(a=>a.length>0).sort((a,c)=>c.length-a.length);for(let a of i){let c=`tag: ${a.slice(10)}`;if(e===c||e.startsWith(`${c}, `))return a}if(i.length===1)return i[0];throw new Error(`Cannot find detached tag ref in "${r}"`)}static async findContainingRef(e,r){let s=await t.exec(["for-each-ref","--format=%(refname)","--contains","HEAD","--sort=-committerdate",e],r),[n]=s.split(`
`).map(i=>i.trim()).filter(i=>i.length>0);return n}static async commitDate(e,r){return new Date(await t.exec(["show","-s",'--format="%ci"',e],r))}};var ole=require("crypto"),Mo=w(require("fs"),1),Lo=w(require("path"),1);var Yp=w(P1(),1),ale=w(YU(),1),$p=w(tle(),1);var sle=require("util");var j2=w(P1(),1);var nle=w(gi(),1);var rle="application/vnd.oci.empty.v1+json";var ws=class{static{o(this,"Cosign")}binPath;_version;_versionOnce;constructor(e){this.binPath=e?.binPath||"cosign",this._version="",this._versionOnce=!1}async isAvailable(){let e=await re.getExecOutput(this.binPath,[],{ignoreReturnCode:!0,silent:!0}).then(r=>r.stderr.length>0&&r.exitCode!=0?(B(`Cosign.isAvailable cmd err: ${r.stderr.trim()}`),!1):r.exitCode==0).catch(r=>(B(`Cosign.isAvailable error: ${r}`),!1));return B(`Cosign.isAvailable: ${e}`),e}async version(){return this._versionOnce?this._version:(this._versionOnce=!0,this._version=await re.getExecOutput(this.binPath,["version","--json"],{ignoreReturnCode:!0,silent:!0}).then(e=>{if(e.stderr.length>0&&e.exitCode!=0)throw new Error(e.stderr.trim());return JSON.parse(e.stdout.trim()).gitVersion}),this._version)}async printVersion(){await re.exec(this.binPath,["version","--json"],{failOnStdErr:!1})}static getErrorMessage(e){let r=(0,sle.stripVTControlCharacters)(e).split(/[\r\n]/);for(let s=r.length-1;s>=0;s--){let n=r[s].trim();if(n)return n}return"unknown error"}async versionSatisfies(e,r){let s=r??await this.version();if(!s)return B("Cosign.versionSatisfies false: undefined version"),!1;let n=nle.satisfies(s,e)||/^[0-9a-f]{7}$/.exec(s)!==null;return B(`Cosign.versionSatisfies ${s} statisfies ${e}: ${n}`),n}static parseCommandOutput(e){let r,s,n,i;for(let a of e.split(/\r?\n/)){let c=a.trim();if(!c.startsWith("{")||!c.endsWith("}"))continue;let l;try{l=JSON.parse(c)}catch{continue}if(l&&Array.isArray(l.errors)&&l.errors.length>0&&(i=l.errors),!r&&l&&Array.isArray(l.manifests)&&l.manifests.length>0){let u=l.manifests[0];u?.artifactType===j2.BUNDLE_V03_MEDIA_TYPE&&typeof u.digest=="string"?r=u.digest:u?.artifactType===rle&&typeof u.digest=="string"&&(s=u.digest)}if(!n&&l&&l.mediaType===j2.BUNDLE_V03_MEDIA_TYPE&&(n=l),n&&(r||s)){i=void 0;break}}return{bundle:n,signatureManifestDigest:r||s,errors:i}}};var K2=w(require("fs"),1);var fN=class t{static{o(this,"ImageTools")}buildx;constructor(e){this.buildx=e?.buildx||new Ue}async getCommand(e){return await this.buildx.getCommand(["imagetools",...e])}async getInspectCommand(e){return await this.getCommand(["inspect",...e])}async getCreateCommand(e){return await this.getCommand(["create",...e])}async inspectImage(e){return await this.inspect(e,"{{json .Image}}",r=>{if(typeof r=="object"&&!Array.isArray(r)&&r!==null)return Object.prototype.hasOwnProperty.call(r,"config"),r;throw new Error("Unexpected output format")})}async inspectManifest(e){return await this.inspect(e,"{{json .Manifest}}",r=>{if(typeof r=="object"&&!Array.isArray(r)&&r!==null)return Object.prototype.hasOwnProperty.call(r,"manifests"),r;throw new Error("Unexpected output format")})}async attestationDescriptors(e){let r=await this.inspectManifest(e);if(typeof r!="object"||r===null||!("manifests"in r)||!Array.isArray(r.manifests))throw new Error(`No descriptor found for ${e.name}`);let s=r.manifests.filter(a=>a.annotations?.["vnd.docker.reference.type"]==="attestation-manifest");if(!e.platform)return s;let n=e.platform,i=new Map;for(let a of r.manifests)a.digest&&i.set(a.digest,a);return s.filter(a=>{let c=a.annotations?.["vnd.docker.reference.digest"];if(!c)return!1;let l=i.get(c);return l?l.platform?.os===n.os&&l.platform?.architecture===n.architecture&&(l.platform?.variant??"")===(n.variant??""):!1})}async attestationDigests(e){return(await this.attestationDescriptors(e)).map(r=>r.digest)}async create(e){let r=[],s=Re.tmpName({tmpdir:Re.tmpDir(),template:"imagetools-metadata-XXXXXX"}),n=[],i=[];for(let c of e.sources){if(c.startsWith("cwd://")){let l=c.substring(6);l.length>0&&n.push(l);continue}i.push(c)}if(e.tags)for(let c of e.tags)r.push("--tag",c);if(e.platforms)for(let c of e.platforms)r.push("--platform",c);if(e.annotations)for(let c of e.annotations)r.push("--annotation",c);e.dryRun?r.push("--dry-run"):r.push("--metadata-file",s);for(let c of n)r.push("--file",c);for(let c of i)r.push(c);let a=await this.getCreateCommand(r);if(e.skipExec){S(`[command]${a.command} ${a.args.join(" ")}`),S("Skipped create command");return}return await re.getExecOutput(a.command,a.args,{ignoreReturnCode:!0,silent:e.silent}).then(c=>{if(c.stderr.length>0&&c.exitCode!=0)throw new Error(c.stderr.trim());if(!e.dryRun){if(!K2.default.existsSync(s))return;let l=K2.default.readFileSync(s,{encoding:"utf-8"}).trim();if(l===""||l==="null")return;let u=JSON.parse(l),d=u["containerimage.descriptor"];return d?{digest:u["containerimage.digest"]||d.digest,descriptor:d,imageNames:u["image.name"]?u["image.name"].split(",").map(A=>A.trim()):[]}:void 0}})}async inspect(e,r,s){let n=await this.getInspectCommand([e Line truncated
${a.message}`),await new Promise(u=>setTimeout(u,Math.pow(2,c)*100))}throw a??new Error(`ImageTools inspect command failed for ${e.name}`)}async execInspect(e,r,s){return await re.getExecOutput(e,r,{ignoreReturnCode:!0,silent:!0}).then(n=>{if(n.stderr.length>0&&n.exitCode!=0)throw new Error(n.stderr.trim());return s(JSON.parse(n.stdout))})}static isManifestUnknownError(e){return/(MANIFEST_UNKNOWN|manifest unknown)/i.test(e)||/:\s*not found$/i.test(e)}};var Jp="https://search.sigstore.dev";var ile="slsaprovenance1",Xc=class t{static{o(this,"Sigstore")}cosign;imageTools;constructor(e){this.cosign=e?.cosign||new ws,this.imageTools=e?.imageTools||new fN}async signAttestationManifests(e){if(!await this.cosign.isAvailable())throw new Error("Cosign is required to sign attestation manifests");let r={};try{if(!process.env.ACTIONS_ID_TOKEN_REQUEST_URL)throw new Error('missing "id-token" permission. Please add "permissions: id-token: write" to your workflow.');let s={noTransparencyLog:e.noTransparencyLog,rekorV2:e.rekorV2},n=await this.cosignSigningConfigArgs(s);for(let i of e.imageNames){let a=await this.imageTools.attestationDigests({name:`${i}@${e.imageDigest}`,retryOnManifestUnknown:e.retryOnManifestUnknown,retryLimit:e.retryLimit});for(let c of a){let l=`${i}@${c}`;await Ls(`Signing attestation manifest ${l}`,async()=>{let u=["sign","--yes","--oidc-provider","github-actions","--registry-referrers-mode","oci-1-1",...await this.bundleFormatArgs(),...n];S(`[command]${this.cosign.binPath} ${[...u,l].join(" ")}`);let d=await re.getExecOutput(this.cosign.binPath,["--verbose",...u,l],{ignoreReturnCode:!0,silent:!0,env:Object.assign({},process.env,{COSIGN_EXPERIMENTAL:"1"})}),A=ws.parseCommandOutput(d.stderr.trim());if(d.exitCode!=0)if(A.errors&&A.errors.length>0){let f=A.errors.map(m=>`- [${m.code}] ${m.message} : ${m.detail}`).join(`
`);throw new Error(`Cosign sign command failed with errors:
${p}`)}else throw new Error(`Cosign sign command failed with: ${h.stderr.trim().split(/\r?\n/).filter(p=>p.length>0).pop()??"unknown error"}`);let f=t.parseBundle((0,hB.bundleFromJSON)(d.bundle));f.tlogID&&j(`Uploaded to Rekor transparency log: ${_A}?logIndex=${f.tlogID}`),j(`Signature manifest pushed: https://oci.dag.dev/?referrers=${l}`),r[l]={...f,imageName:o}})}}}catch(s){throw new Error(`Signing BuildKit attestation manifests failed: ${s.message}`)}return r}async verifySignedManifests(e,r){let s={};for(let[i,n]of Object.entries(e))await Vh(`Verifying signature of ${i}`,async()=>{let o=await this.verifyImageAttestation(i,{certificateIdentityRegexp:r.certificateIdentityRegexp,noTransparencyLog:r.noTransparencyLog||!n.tlogID,retryOnManifestUnknown:r.retryOnManifestUnknown});j(`Signature manifest verified: https://oci.dag.dev/?image=${n.imageName}@${o.signatureManifestDigest}`),s[i]=o});return s}async verifyImageAttestations(e,r){let s={},i=await this.imageTools.attestationDigests({name:e,platform:r.platform,retryOnManifestUnknown:r.retryOnManifestUnknown,retryLimit:r.retryLimit});if(i.length===0)throw new Error(`No attestation manifests found for ${e}`);let n=e.split(":",1)[0];for(let o of i){let a=`${n}@${o}`,c=await this.verifyImageAttestation(a,r);j(`Signature manifest verified: https://oci.dag.dev/?image=${n}@${c.signatureManifestDigest}`),s[a]=c}return s}async verifyImageAttestation(e,r){if(!await this.cosign.isAvailable())throw new Error("Cosign is required to verify signed manifests");let s=["verify","--experimental-oci11","--new-bundle-format","--certificate-oidc-issuer","https://token.actions.githubusercontent.com","--certificate-identity-regexp",r.certificateIdentityRegexp];if(r.noTransparencyLog&&s.push("--use-signed-timestamps","--insecure-ignore-tlog"),!r.retryOnManifestUnknown){j(`[command]${this.cosign.binPath} ${[...s,e].join(" ")}`);let o=await ke.getExecOutput(this.cosign.binPath,["--verbose",...s,e],{ignoreReturnCode:!0,silent:!0,env:Object.assign({},process.env,{COSIGN_EXPERIMENTAL:"1"})});if(o.exitCode!==0)throw new Error(`Cosign verify command failed with: ${o.stderr.trim().split(/\r?\n/).filter(c=>c.length>0).pop()??"unknown error"}`);let a=mh.parseCommandOutput(o.stderr.trim());return{cosignArgs:s,signatureManifestDigest:a.signatureManifestDigest}}let i=r.retryLimit??15,n;j(`[command]${this.cosign.binPath} ${[...s,e].join(" ")}`);for(let o=0;o<i;o++){let a=await ke.getExecOutput(this.cosign.binPath,["--verbose",...s,e],{ignoreReturnCode:!0,silent:!0,env:Object.assign({},process.env,{COSIGN_EXPERIMENTAL:"1"})}),c=mh.parseCommandOutput(a.stderr.trim());if(a.exitCode===0)return{cosignArgs:s,signatureManifestDigest:c.signatureManifestDigest};if(c.errors&&c.errors.length>0){let l=c.errors.map(u=>`- [${u.code}] ${u.message} : ${u.detail}`).join(`
`);if(n=new Error(`Cosign verify command failed with errors:
${l}`),c.errors.some(u=>u.code==="MANIFEST_UNKNOWN"))j(`Cosign verify command failed with MANIFEST_UNKNOWN, retrying attempt ${o+1}/${i}...
${l}`),await new Promise(u=>setTimeout(u,Math.pow(2,o)*100));else throw n}else throw new Error(`Cosign verify command failed with: ${a.stderr.trim().split(/\r?\n/).filter(l=>l.length>0).pop()??"unknown error"}`)}throw n}async signProvenanceBlobs(e){let r={};try{if(!process.env.ACTIONS_ID_TOKEN_REQUEST_URL)throw new Error('missing "id-token" permission. Please add "permissions: id-token: write" to your workflow.');let s=this.signingEndpoints(e.noTransparencyLog);j(`Using Sigstore signing endpoint: ${s.fulcioURL}`);let i=t.getProvenanceBlobs(e);for(let n of Object.keys(i))await Vh(`Signing ${n}`,async()=>{let o=i[n],a=rf.default.join(rf.default.dirname(n),`${e.name??"provenance"}.sigstore.json`),c=t.getProvenanceSubjects(o);if(c.length===0){Ro(`No subjects found in provenance ${n}, skip signing.`);return}let l=await t.signPayload({data:o,type:D1e},s),u=t.parseBundle(l);j("Provenance blob signed for:");for(let h of c){let[d,f]=Object.entries(h.digest)[0]||[];j(` - ${h.name} (${d}:${f})`)}u.tlogID&&j(`Attestation signature uploaded to Rekor transparency log: ${_A}?logIndex=${u.tlogID}`),j(`Writing Sigstore bundle to: ${a}`),Ml.default.writeFileSync(a,JSON.stringify(u.payload,null,2),{encoding:"utf-8"}),r[n]={...u,bundlePath:a,subjects:c}})}catch(s){throw new Error(`Signing BuildKit provenance blobs failed: ${s.message}`)}return r}async verifySignedArtifacts(e,r){let s={};if(!await this.cosign.isAvailable())throw new Error("Cosign is required to verify signed artifacts");for(let[i,n]of Object.entries(e)){let o=rf.default.dirname(i);await Vh(`Verifying signature bundle ${n.bundlePath}`,async()=>{for(let a of n.subjects){let c=rf.default.join(o,a.name);j(`Verifying signed artifact ${c}`);let l=["verify-blob-attestation","--new-bundle-format","--certificate-oidc-issuer","https://token.actions.githubusercontent.com","--certificate-identity-regexp",r.certificateIdentityRegexp,"--type",r.predicateType??UQt];(r.noTransparencyLog||!n.tlogID)&&l.push("--use-signed-timestamps","--insecure-ignore-tlog");let u=await ke.getExecOutput(this.cosign.binPath,[...l,"--bundle",n.bundlePath,c],{ignoreReturnCode:!0});if(u.stderr.length>0&&u.exitCode!=0)throw new Error(u.stderr);s[c]={bundlePath:n.bundlePath,cosignArgs:l}}})}return s}async verifyArtifact(e,r,s){j("Verifying keyless verification bundle signature");let i=JSON.parse(Ml.default.readFileSync(r,"utf-8")),n=(0,hB.bundleFromJSON)(i);j("Fetching Sigstore TUF trusted root metadata");let o=await F1e.getTrustedRoot(),a=(0,DE.toTrustMaterial)(o);try{j("Verifying artifact signature");let c=(0,DE.toSignedEntity)(n,Ml.default.readFileSync(e)),l=t.parseCertificate(n),u=n.verificationMaterial.tlogEntries,h=u.length>0?u[0].logIndex:void 0;if(s?.subjectAlternativeName&&s?.subjectAlternativeName instanceof RegExp){let p=l.subjectAltName?.replace(/^uri:/i,"");if(p){if(!p.match(s.subjectAlternativeName))throw new Error(`Signing certificate subjectAlternativeName "${p}" does not match expected pattern`)}else throw new Error("Signing certificate does not contain subjectAltName")}let f=new DE.Verifier(a).verify(c,{subjectAlternativeName:s?.subjectAlternativeName&&typeof s.subjectAlternativeName=="string"?s.subjectAlternativeName:void 0,extensions:s?.issuer?{issuer:s.issuer}:void 0});return z(`Sigstore.verifyArtifact signer: ${JSON.stringify(f)}`),{payload:i,certificate:l.toString(),tlogID:h}}catch(c){throw new Error(`Failed to verify artifact signature: ${c}`)}}signingEndpoints(e){return e=t.noTransparencyLog(e),j(`Upload to transparency log: ${e?"disabled":"enabled"}`),{fulcioURL:k1e,rekorURL:e?void 0:M1e,tsaServerURL:L1e}}static noTransparencyLog(e){return e??Pt.context.payload.repository?.private}static getProvenanceBlobs(e){let r=rf.default.join(e.localExportDir,"provenance.json");if(Ml.default.existsSync(r))return{[r]:Ml.default.readFileSync(r)};let s=Ml.default.readdirSync(e.localExportDir,{withFileTypes:!0}),i=s.filter(n=>n.isDirectory());if(i.length>0&&i.length===s.length&&i.every(n=>Ml.default.existsSync(rf.default.join(e.localExportDir,n.name,"provenance.json")))){let n={};for(let o of i){let a=rf.default.join(e.localExportDir,o.name,"provenance.json");n[a]=Ml.default.readFileSync(a)}return n}throw new Error(`No valid provenance.json found in ${e.localExportDir}`)}static getProvenanceSubjects(e){return JSON.parse(e.toString()).subject.map(s=>({name:s.name,digest:s.digest}))}static async signPayload(e,r,s,i){let n=[],o=new Ll.FulcioSigner({identityProvider:new Ll.CIContextProvider("sigstore"),fulcioBaseURL:r.fulcioURL,timeout:s,retry:i});return r.rekorURL&&n.push(new Ll.RekorWitness({rekorBaseURL:r.rekorURL,fetchOnConflict:!0,timeout:s,retry:i})),r.tsaServerURL&&n.push(new Ll.TSAWitness({tsaBaseURL:r.tsaServerURL,timeout:s,retry:i})),new Ll.DSSEBundleBuilder({signer:o,witnesses:n}).create(e)}static parseBundle(e){let r=t.parseCertificate(e),s=e.verificationMaterial.tlogEntries,i=s.length>0?s[0].logIndex:void 0;return{payload:(0,hB.bundleToJSON)(e),certificate:r.toString(),tlogID:i}} Line truncated
`)){let[l,...u]=c.split(":"),h=l.toLowerCase(),d=u.map(f=>f.trim()).join(":");if(l.length!=0)switch(!0){case h=="name":s=void 0,r.name==null?r.name=d:(n&&i.gcPolicy&&(i.gcPolicy.push(n),n=void 0),i.name&&r.nodes.push(i),i={name:d});break;case h=="driver":s=void 0,r.driver=d;break;case h=="last activity":s=void 0,r.lastActivity=new Date(d);break;case h=="endpoint":s=void 0,i.endpoint=d;break;case h=="driver options":s=void 0,i["driver-opts"]=(d.match(/([a-zA-Z0-9_.]+)="([^"]*)"/g)||[]).map(f=>f.replace(/^(.*)="(.*)"$/g,"$1=$2"));break;case h=="status":s=void 0,i.status=d;break;case h=="buildkit daemon flags":case h=="flags":s=void 0,i["buildkitd-flags"]=d;break;case h=="buildkit version":case h=="buildkit":s=void 0,i.buildkit=d;break;case h=="platforms":{if(s=void 0,!d)break;let f=[];if(d.includes("*"))for(let p of d.split(", "))p.includes("*")&&f.push(p.replace(/\*/g,""));else f=d.split(", ");i.platforms=f.join(",");break}case h=="features":s="features",i.features={};break;case h=="labels":s="label",i.labels={};break;case h=="devices":s="devices",i.devices=i.devices||[];break;case h.startsWith("gc policy rule#"):s="gcpolicy",i.gcPolicy&&n&&(i.gcPolicy.push(n),n=void 0);break;case h.startsWith("file#"):s="file",a=l.split("#")[1],i.files=i.files||{},i.files[a]="";break;default:switch(s&&s!=="devices"&&i.devices&&o&&(i.devices.push(o),o=void 0),s||""){case"features":{i.features=i.features||{},i.features[l.trim()]=!!d;break}case"label":{i.labels=i.labels||{},i.labels[l.trim()]=d;break}case"devices":{switch(h.trim()){case"name":{i.devices&&o&&i.devices.push(o),o={},o.name=d;break}case"on-demand":{o&&d&&(o.onDemand=d=="true");break}case"automatically allowed":{o&&d&&(o.autoAllow=d=="true");break}case"annotations":{o&&(o.annotations=o.annotations||{});break}default:o&&o.annotations&&(o.annotations[l.trim()]=d)}break}case"gcpolicy":{switch(i.gcPolicy=i.gcPolicy||[],n=n||{},h.trim()){case"all":{n.all=d=="true";break}case"filters":{d&&(n.filter=d.split(","));break}case"keep duration":{n.keepDuration=d;break}case"keep bytes":{n.keepBytes=d;break}case"reserved space":{n.reservedSpace=d;break}case"max used space":{n.maxUsedSpace=d;break}case"min free space":{n.minFreeSpace=d;break}}break}case"file":{a&&i.files&&(i.files[a].length>0&&(i.files[a]+=`
`),i.files[a]+=c.replace(/^\s>\s?/,""));break}}}}return o&&i.devices&&i.devices.push(o),n&&i.gcPolicy&&i.gcPolicy.push(n),i.name&&r.nodes.push(i),r}};var q1e=O(Va(),1);var dD=O(require("fs"),1);var fD=class{resolveFromString(e){return this.resolve(e,!1)}resolveFromFile(e){return this.resolve(e,!0)}resolve(e,r){if(r){if(!dD.default.existsSync(e))throw new Error(`config file ${e} not found`);e=dD.default.readFileSync(e,{encoding:"utf-8"})}let s=Ct.tmpName({tmpdir:Ct.tmpDir()});return dD.default.writeFileSync(s,e),s}};var pD=class{buildx;config;constructor(e){this.config=new fD,this.buildx=e?.buildx||new zt}async getVersion(e){if(!e.buildkit&&e.name)try{return await this.getVersionWithinImage(e.name)}catch(r){Ro(r)}return e.buildkit}async getVersionWithinImage(e){return z(`BuildKit.getVersionWithinImage nodeName: ${e}`),cs.getExecOutput(["inspect","--format","{{.Config.Image}}",`${zt.containerNamePrefix}${e}`],{ignoreReturnCode:!0,silent:!0}).then(r=>{if(r.exitCode==0&&r.stdout.length>0)return z(`BuildKit.getVersionWithinImage image: ${r.stdout.trim()}`),cs.getExecOutput(["run","--rm",r.stdout.trim(),"--version"],{ignoreReturnCode:!0,silent:!0}).then(s=>{if(s.exitCode==0&&s.stdout.length>0)return`${r.stdout.trim()} => ${s.stdout.trim()}`;if(s.stderr.length>0)throw new Error(r.stderr.trim());return s.stdout.trim()});if(r.stderr.length>0)throw new Error(r.stderr.trim());return r.stdout.trim()})}async versionSatisfies(e,r,s){s||(s=await new ME({buildx:this.buildx}).inspect(e));for(let i of s.nodes){let n=i.buildkit;if(z(`BuildKit.versionSatisfies ${n}: ${r}`),!n)try{n=await this.getVersionWithinImage(i.name||"")}catch{return z(`BuildKit.versionSatisfies ${i.name}: can't get version`),!1}if(z(`BuildKit.versionSatisfies ${i.name}: version ${n}`),s.driver=="docker"&&!n.endsWith("-moby")||!q1e.satisfies(n.replace(/-moby$/,""),r))return!1}return!0}};var AD=class t{_version;_versionOnce;_standalone;constructor(e){this._standalone=e?.standalone,this._version="",this._versionOnce=!1}async isStandalone(){let e=this._standalone??!await cs.isAvailable();return z(`Compose.isStandalone: ${e}`),e}async getCommand(e){let r=await this.isStandalone();return{command:r?"compose":"docker",args:r?e:["compose",...e]}}async isAvailable(){let e=await this.getCommand([]),r=await ke.getExecOutput(e.command,e.args,{ignoreReturnCode:!0,silent:!0}).then(s=>s.stderr.length>0&&s.exitCode!=0?(z(`Compose.isAvailable cmd err: ${s.stderr.trim()}`),!1):s.exitCode==0).catch(s=>(z(`Compose.isAvailable error: ${s}`),!1));return z(`Compose.isAvailable: ${r}`),r}async version(){if(this._versionOnce)return this._version;this._versionOnce=!0;let e=await this.getCommand(["version"]);return this._version=await ke.getExecOutput(e.command,e.args,{ignoreReturnCode:!0,silent:!0}).then(r=>{if(r.stderr.length>0&&r.exitCode!=0)throw new Error(r.stderr.trim());return t.parseVersion(r.stdout.trim())}),this._version}async printVersion(){let e=await this.getCommand(["version"]);await ke.exec(e.command,e.args,{failOnStdErr:!1})}static parseVersion(e){let r=/\sv?([0-9a-f]{7}|[0-9.]+)/.exec(e);if(!r)throw new Error("Cannot parse compose version");return r[1]}};var yh=O(require("fs"),1),Fl=O(require("os"),1),LE=O(require("path"),1);var gD=O(Va(),1),OW=O(require("util"),1);var mD=class t{standalone;githubToken;constructor(e){this.standalone=e?.standalone,this.githubToken=e?.githubToken||process.env.GITHUB_TOKEN}async download(e,r){let s=await t.getDownloadVersion(e);z(`Install.download version: ${s.version}`);let i=await t.getRelease(s,this.githubToken);z(`Install.download release tag name: ${i.tag_name}`);let n=await this.vspec(i.tag_name);z(`Install.download vspec: ${n}`);let o=gD.clean(n)||"";if(!gD.valid(o))throw new Error(`Invalid Compose version "${n}".`);let a=new Cs({htcName:s.key!="official"?`compose-dl-bin-${s.key}`:"compose-dl-bin",htcVersion:n,baseCacheDir:LE.default.join(Fl.default.homedir(),".bin","docker-compose"),cacheFile:Fl.default.platform()=="win32"?"docker-compose.exe":"docker-compose",ghaNoCache:r}),c=await a.find();if(c)return j(`Compose binary found in ${c}`),c;let l=OW.format(s.downloadURL,n,this.filename());j(`Downloading ${l}`);let u=await Qo(l,void 0,this.githubToken);z(`Install.download htcDownloadPath: ${u}`);let h=await a.save(u);return j(`Cached to ${h}`),h}async installStandalone(e,r){j("Standalone mode"),r=r||Ct.tmpDir();let s=LE.default.join(r,"compose-bin-standalone");yh.default.existsSync(s)||yh.default.mkdirSync(s,{recursive:!0});let i=Fl.default.platform()=="win32"?"compose.exe":"compose",n=LE.default.join(s,i);return yh.default.copyFileSync(e,n),j("Fixing perms"),yh.default.chmodSync(n,"0755"),Ac(s),j("Added Compose to PATH"),j(`Binary path: ${n}`),n}async installPlugin(e,r){j("Docker plugin mode"),r=r||cs.configDir;let s=LE.default.join(r,"cli-plugins");yh.default.existsSync(s)||yh.default.mkdirSync(s,{recursive:!0});let i=Fl.default.platform()=="win32"?"docker-compose.exe":"docker-compose",n=LE.default.join(s,i);return yh.default. Line truncated
${f}`)}else throw new Error(`Cosign sign command failed with: ${ws.getErrorMessage(d.stderr)}`);let p=t.parseBundle((0,Yp.bundleFromJSON)(A.bundle));p.tlogID&&await this.logTransparencyUpload(p.tlogID,s),S(`Signature manifest pushed: https://oci.dag.dev/?referrers=${l}`),r[l]={...p,imageName:i}})}}}catch(s){throw new Error(`Signing BuildKit attestation manifests failed: ${s.message}`)}return r}async verifySignedManifests(e,r){let s={};for(let[n,i]of Object.entries(e))await Ls(`Verifying signature of ${n}`,async()=>{let a=await this.verifyImageAttestation(n,{certificateIdentityRegexp:r.certificateIdentityRegexp,noTransparencyLog:r.noTransparencyLog||!i.tlogID,retryOnManifestUnknown:r.retryOnManifestUnknown,retryLimit:r.retryLimit});S(`Signature manifest verified: https://oci.dag.dev/?image=${i.imageName}@${a.signatureManifestDigest}`),s[n]=a});return s}async verifyImageAttestations(e,r){let s={},n=await this.imageTools.attestationDigests({name:e,platform:r.platform,retryOnManifestUnknown:r.retryOnManifestUnknown,retryLimit:r.retryLimit});if(n.length===0)throw new Error(`No attestation manifests found for ${e}`);let i=e.split(":",1)[0];for(let a of n){let c=`${i}@${a}`,l=await this.verifyImageAttestation(c,r);S(`Signature manifest verified: https://oci.dag.dev/?image=${i}@${l.signatureManifestDigest}`),s[c]=l}return s}async verifyImageAttestation(e,r){if(!await this.cosign.isAvailable())throw new Error("Cosign is required to verify signed manifests");let s=["verify","--experimental-oci11",...await this.bundleFormatArgs(),"--certificate-oidc-issuer","https://token.actions.githubusercontent.com","--certificate-identity-regexp",r.certificateIdentityRegexp];if(r.noTransparencyLog&&s.push("--use-signed-timestamps","--insecure-ignore-tlog"),!r.retryOnManifestUnknown){S(`[command]${this.cosign.binPath} ${[...s,e].join(" ")}`);let a=await re.getExecOutput(this.cosign.binPath,["--verbose",...s,e],{ignoreReturnCode:!0,silent:!0,env:Object.assign({},process.env,{COSIGN_EXPERIMENTAL:"1"})});if(a.exitCode!==0)throw new Error(`Cosign verify command failed with: ${ws.getErrorMessage(a.stderr)}`);let c=ws.parseCommandOutput(a.stderr.trim());return{cosignArgs:s,signatureManifestDigest:c.signatureManifestDigest}}let n=r.retryLimit??15,i;S(`[command]${this.cosign.binPath} ${[...s,e].join(" ")}`);for(let a=0;a<n;a++){let c=await re.getExecOutput(this.cosign.binPath,["--verbose",...s,e],{ignoreReturnCode:!0,silent:!0,env:Object.assign({},process.env,{COSIGN_EXPERIMENTAL:"1"})}),l=ws.parseCommandOutput(c.stderr.trim());if(c.exitCode===0)return{cosignArgs:s,signatureManifestDigest:l.signatureManifestDigest};if(l.errors&&l.errors.length>0){let u=l.errors.map(d=>`- [${d.code}] ${d.message} : ${d.detail}`).join(`
`);if(i=new Error(`Cosign verify command failed with errors:
${u}`),l.errors.some(d=>d.code==="MANIFEST_UNKNOWN"))S(`Cosign verify command failed with MANIFEST_UNKNOWN, retrying attempt ${a+1}/${n}...
${u}`),await new Promise(d=>setTimeout(d,Math.pow(2,a)*100));else throw i}else throw new Error(`Cosign verify command failed with: ${ws.getErrorMessage(c.stderr)}`)}throw i}async signProvenanceBlobs(e){if(!await this.cosign.isAvailable())throw new Error("Cosign is required to sign provenance blobs");let r={};try{if(!process.env.ACTIONS_ID_TOKEN_REQUEST_URL)throw new Error('missing "id-token" permission. Please add "permissions: id-token: write" to your workflow.');let s={noTransparencyLog:e.noTransparencyLog,rekorV2:e.rekorV2},n=await this.cosignSigningConfigArgs(s),i=t.getProvenanceBlobs(e);for(let a of Object.keys(i))await Ls(`Signing ${a}`,async()=>{let c=i[a],l=Lo.default.join(Lo.default.dirname(a),`${e.name??"provenance"}.sigstore.json`),u=t.getProvenanceSubjects(c);if(u.length===0){ct(`No subjects found in provenance ${a}, skip signing.`);return}let d=Lo.default.join(Lo.default.dirname(a),u[0].name),A=["attest-blob","--yes","--oidc-provider","github-actions",...await this.bundleFormatArgs(),"--statement",a,"--type",ile,"--bundle",l,...n];S(`[command]${this.cosign.binPath} ${[...A,d].join(" ")}`);let p=await re.getExecOutput(this.cosign.binPath,["--verbose",...A,d],{ignoreReturnCode:!0,silent:!0,env:Object.assign({},process.env,{COSIGN_EXPERIMENTAL:"1"})}),f=ws.parseCommandOutput(p.stderr.trim());if(p.exitCode!=0)if(f.errors&&f.errors.length>0){let g=f.errors.map(y=>`- [${y.code}] ${y.message} : ${y.detail}`).join(`
`);throw new Error(`Cosign attest-blob command failed with errors:
${g}`)}else throw new Error(`Cosign attest-blob command failed with: ${ws.getErrorMessage(p.stderr)}`);let m=t.parseBundle((0,Yp.bundleFromJSON)(JSON.parse(Mo.default.readFileSync(l,{encoding:"utf-8"}))));S("Provenance blob signed for:");for(let g of u){let[y,E]=Object.entries(g.digest)[0]||[];S(` - ${g.name} (${y}:${E})`)}m.tlogID&&await this.logTransparencyUpload(m.tlogID,s),S(`Sigstore bundle written to: ${l}`),r[a]={...m,bundlePath:l,subjects:u}})}catch(s){throw new Error(`Signing BuildKit provenance blobs failed: ${s.message}`)}return r}async verifySignedArtifacts(e,r){let s={};if(!await this.cosign.isAvailable())throw new Error("Cosign is required to verify signed artifacts");for(let[n,i]of Object.entries(e)){let a=Lo.default.dirname(n);await Ls(`Verifying signature bundle ${i.bundlePath}`,async()=>{for(let c of i.subjects){let l=Lo.default.join(a,c.name);S(`Verifying signed artifact ${l}`);let u=["verify-blob-attestation",...await this.bundleFormatArgs(),"--certificate-oidc-issuer","https://token.actions.githubusercontent.com","--certificate-identity-regexp",r.certificateIdentityRegexp,"--type",r.predicateType??ile];(r.noTransparencyLog||!i.tlogID)&&u.push("--use-signed-timestamps","--insecure-ignore-tlog");let d=await re.getExecOutput(this.cosign.binPath,[...u,"--bundle",i.bundlePath,l],{ignoreReturnCode:!0});if(d.stderr.length>0&&d.exitCode!=0)throw new Error(d.stderr);s[l]={bundlePath:i.bundlePath,cosignArgs:u}}})}return s}async verifyArtifact(e,r,s){S("Verifying keyless verification bundle signature");let n=JSON.parse(Mo.default.readFileSync(r,"utf-8")),i=(0,Yp.bundleFromJSON)(n);S("Fetching Sigstore TUF trusted root metadata");let a=await ale.getTrustedRoot({retry:{retries:5}}),c=(0,$p.toTrustMaterial)(a);try{S("Verifying artifact signature");let l=(0,$p.toSignedEntity)(i,Mo.default.readFileSync(e)),u=t.parseCertificate(i),d=i.verificationMaterial.tlogEntries,A=d.length>0?d[0].logIndex:void 0,f=new $p.Verifier(c).verify(l,{subjectAlternativeName:s?.subjectAlternativeName,extensions:s?.issuer?{issuer:s.issuer}:void 0});return B(`Sigstore.verifyArtifact signer: ${JSON.stringify(f)}`),{payload:n,certificate:u.toString(),tlogID:A}}catch(l){throw new Error(`Failed to verify artifact signature: ${l}`)}}static noTransparencyLog(e){return e??Ve.context.payload.repository?.private??!1}async cosignSigningConfigArgs(e){let r=[],s=t.noTransparencyLog(e.noTransparencyLog);if(S(`Upload to transparency log: ${s?"disabled":"enabled"}`),await this.cosign.versionSatisfies(">=3.0.4")){let n=await this.useRekorV2(e);await Ls("Creating Sigstore protobuf signing config",async()=>{let i=Re.tmpName({template:"signing-config-XXXXXX.json",tmpdir:Re.tmpDir()}),a=["signing-config","create",n?"--with-default-rekor-v2=true":"--with-default-services=true",`--out=${i}`];s&&a.push("--no-default-rekor=true"),await re.exec(this.cosign.binPath,a,{env:Object.assign({},process.env,{COSIGN_EXPERIMENTAL:"1"})}),S(JSON.stringify(JSON.parse(Mo.default.readFileSync(i,{encoding:"utf-8"})),null,2)),r.push(`--signing-config=${i}`)})}else r.push("--use-signing-config"),s&&r.push("--tlog-upload=false");return r}async logTransparencyUpload(e,r){if(await this.useRekorV2(r)){S(`Attestation signature uploaded to Rekor v2 transparency log with index ${e}`);return}S(`Attestation signature uploaded to Rekor transparency log: ${Jp}?logIndex=${e}`)}async useRekorV2(e){return e.rekorV2===!0&&!t.noTransparencyLog(e.noTransparencyLog)&&await this.cosign.versionSatisfies(">=3.1.1")}static getProvenanceBlobs(e){let r=Lo.default.join(e.localExportDir,"provenance.json");if(Mo.default.existsSync(r))return{[r]:Mo.default.readFileSync(r)};let s=Mo.default.readdirSync(e.localExportDir,{withFileTypes:!0}),n=s.filter(i=>i.isDirectory());if(n.length>0&&n.length===s.length&&n.every(i=>Mo.default.existsSync(Lo.default.join(e.localExportDir,i.name,"provenance.json")))){let i={};for(let a of n){let c=Lo.default.join(e.localExportDir,a.name,"provenance.json");i[c]=Mo.default.readFileSync(c)}return i}throw new Error(`No valid provenance.json found in ${e.localExportDir}`)}static getProvenanceSubjects(e){return JSON.parse(e.toString()).subject.map(s=>({name:s.name,digest:s.digest}))}static parseBundle(e){let r=t.parseCertificate(e),s=e.verificationMaterial.tlogEntries,n=s.length>0?s[0].logIndex:void 0;return{payload:(0,Yp.bundleToJSON)(e),certificate:r.toString(),tlogID:n}}static parseCertificate(e){let r;switch(e.verificationMaterial.content.$case){case"x509CertificateChain":r=e.verificationMaterial.content.x509CertificateChain.certificates[0].rawBytes;break;case"certificate":r=e.verificationMaterial.content.certificate.rawBytes;break;default:throw new Error("Bundle must contain an x509 certificate")}return new ole.X509Certificate(r)}async bundleFormatArgs(){return await this.cosign.versionSatisfies(">=3.1.1")?[]:["--new-bundle-format"]}};var hN=class t{static{o(this,"Install")}standalone;githubToken;sigstore;constructor(e){this.standalone=e?.standalone,this.githubToke Line truncated
`)){let[u,...d]=l.split(":"),A=u.toLowerCase(),p=d.map(f=>f.trim()).join(":");if(u.length!=0)switch(!0){case A=="name":s=void 0,r.name==null?r.name=p:(i&&n.gcPolicy&&(n.gcPolicy.push(i),i=void 0),n.name&&r.nodes.push(n),n={name:p});break;case A=="driver":s=void 0,r.driver=p;break;case A=="last activity":s=void 0,r.lastActivity=new Date(p);break;case A=="endpoint":s=void 0,n.endpoint=p;break;case A=="driver options":s=void 0,n["driver-opts"]=(p.match(/([a-zA-Z0-9_.]+)="([^"]*)"/g)||[]).map(f=>f.replace(/^(.*)="(.*)"$/g,"$1=$2"));break;case A=="status":s=void 0,n.status=p;break;case A=="buildkit daemon flags":case A=="flags":s=void 0,n["buildkitd-flags"]=p;break;case A=="buildkit version":case A=="buildkit":s=void 0,n.buildkit=p;break;case A=="platforms":{if(s=void 0,!p)break;let f=[];if(p.includes("*"))for(let m of p.split(", "))m.includes("*")&&f.push(m.replace(/\*/g,""));else f=p.split(", ");n.platforms=f.join(",");break}case A=="features":s="features",n.features={};break;case A=="labels":s="label",n.labels={};break;case A=="devices":s="devices",n.devices=n.devices||[];break;case A.startsWith("gc policy rule#"):s="gcpolicy",n.gcPolicy&&i&&(n.gcPolicy.push(i),i=void 0);break;case A.startsWith("file#"):s="file",c=u.split("#")[1],n.files=n.files||{},n.files[c]="";break;default:switch(s&&s!=="devices"&&n.devices&&a&&(n.devices.push(a),a=void 0),s||""){case"features":{n.features=n.features||{},n.features[u.trim()]=!!p;break}case"label":{n.labels=n.labels||{},n.labels[u.trim()]=p;break}case"devices":{switch(A.trim()){case"name":{n.devices&&a&&n.devices.push(a),a={},a.name=p;break}case"on-demand":{a&&p&&(a.onDemand=p=="true");break}case"automatically allowed":{a&&p&&(a.autoAllow=p=="true");break}case"annotations":{a&&(a.annotations=a.annotations||{});break}default:a&&a.annotations&&(a.annotations[u.trim()]=p)}break}case"gcpolicy":{switch(n.gcPolicy=n.gcPolicy||[],i=i||{},A.trim()){case"all":{i.all=p=="true";break}case"filters":{p&&(i.filter=p.split(","));break}case"keep duration":{i.keepDuration=p;break}case"keep bytes":{i.keepBytes=p;break}case"reserved space":{i.reservedSpace=p;break}case"max used space":{i.maxUsedSpace=p;break}case"min free space":{i.minFreeSpace=p;break}}break}case"file":{c&&n.files&&(n.files[c].length>0&&(n.files[c]+=`
`),n.files[c]+=l.replace(/^\s>\s?/,""));break}}}}return a&&n.devices&&n.devices.push(a),i&&n.gcPolicy&&n.gcPolicy.push(i),n.name&&r.nodes.push(n),r}};var cle=w(gi(),1);var mN=w(require("fs"),1);var gN=class{static{o(this,"Config")}resolveFromString(e){return this.resolve(e,!1)}resolveFromFile(e){return this.resolve(e,!0)}resolve(e,r){if(r){if(!mN.default.existsSync(e))throw new Error(`config file ${e} not found`);e=mN.default.readFileSync(e,{encoding:"utf-8"})}let s=Re.tmpName({tmpdir:Re.tmpDir()});return mN.default.writeFileSync(s,e),s}};var EN=class{static{o(this,"BuildKit")}buildx;config;constructor(e){this.config=new gN,this.buildx=e?.buildx||new Ue}async getVersion(e){if(!e.buildkit&&e.name)try{return await this.getVersionWithinImage(e.name)}catch(r){ct(r)}return e.buildkit}async getVersionWithinImage(e){return B(`BuildKit.getVersionWithinImage nodeName: ${e}`),tr.getExecOutput(["inspect","--format","{{.Config.Image}}",`${Ue.containerNamePrefix}${e}`],{ignoreReturnCode:!0,silent:!0}).then(r=>{if(r.exitCode==0&&r.stdout.length>0)return B(`BuildKit.getVersionWithinImage image: ${r.stdout.trim()}`),tr.getExecOutput(["run","--rm",r.stdout.trim(),"--version"],{ignoreReturnCode:!0,silent:!0}).then(s=>{if(s.exitCode==0&&s.stdout.length>0)return`${r.stdout.trim()} => ${s.stdout.trim()}`;if(s.stderr.length>0)throw new Error(r.stderr.trim());return s.stdout.trim()});if(r.stderr.length>0)throw new Error(r.stderr.trim());return r.stdout.trim()})}async versionSatisfies(e,r,s){s||(s=await new jp({buildx:this.buildx}).inspect(e));for(let n of s.nodes){let i=n.buildkit;if(B(`BuildKit.versionSatisfies ${i}: ${r}`),!i)try{i=await this.getVersionWithinImage(n.name||"")}catch{return B(`BuildKit.versionSatisfies ${n.name}: can't get version`),!1}if(B(`BuildKit.versionSatisfies ${n.name}: version ${i}`),s.driver=="docker"&&!i.endsWith("-moby")||!cle.satisfies(i.replace(/-moby$/,""),r))return!1}return!0}};var yN=class t{static{o(this,"Compose")}_version;_versionOnce;_standalone;constructor(e){this._standalone=e?.standalone,this._version="",this._versionOnce=!1}async isStandalone(){let e=this._standalone??!await tr.isAvailable();return B(`Compose.isStandalone: ${e}`),e}async getCommand(e){let r=await this.isStandalone();return{command:r?"compose":"docker",args:r?e:["compose",...e]}}async isAvailable(){let e=await this.getCommand([]),r=await re.getExecOutput(e.command,e.args,{ignoreReturnCode:!0,silent:!0}).then(s=>s.stderr.length>0&&s.exitCode!=0?(B(`Compose.isAvailable cmd err: ${s.stderr.trim()}`),!1):s.exitCode==0).catch(s=>(B(`Compose.isAvailable error: ${s}`),!1));return B(`Compose.isAvailable: ${r}`),r}async version(){if(this._versionOnce)return this._version;this._versionOnce=!0;let e=await this.getCommand(["version"]);return this._version=await re.getExecOutput(e.command,e.args,{ignoreReturnCode:!0,silent:!0}).then(r=>{if(r.stderr.length>0&&r.exitCode!=0)throw new Error(r.stderr.trim());return t.parseVersion(r.stdout.trim())}),this._version}async printVersion(){let e=await this.getCommand(["version"]);await re.exec(e.command,e.args,{failOnStdErr:!1})}static parseVersion(e){let r=/\sv?([0-9a-f]{7}|[0-9.]+)/.exec(e);if(!r)throw new Error("Cannot parse compose version");return r[1]}};var Ma=w(require("fs"),1),Uo=w(require("os"),1),Kp=w(require("path"),1);var IN=w(gi(),1),Z2=w(require("util"),1);var CN=class t{static{o(this,"Install")}standalone;githubToken;constructor(e){this.standalone=e?.standalone,this.githubToken=e?.githubToken||process.env.GITHUB_TOKEN}async download(e,r){let s=await t.getDownloadVersion(e);B(`Install.download version: ${s.version}`);let n=await t.getRelease(s,this.githubToken);B(`Install.download release tag name: ${n.tag_name}`);let i=await this.vspec(n.tag_name);B(`Install.download vspec: ${i}`);let a=IN.clean(i)||"";if(!IN.valid(a))throw new Error(`Invalid Compose version "${i}".`);let c=new dr({htcName:s.key!="official"?`compose-dl-bin-${s.key}`:"compose-dl-bin",htcVersion:i,baseCacheDir:Kp.default.join(Uo.default.homedir(),".bin","docker-compose"),cacheFile:Uo.default.platform()=="win32"?"docker-compose.exe":"docker-compose",ghaNoCache:r}),l=await c.find();if(l)return S(`Compose binary found in ${l}`),l;let u=Z2.format(s.downloadURL,i,this.filename());S(`Downloading ${u}`);let d=await hn(u,void 0,this.githubToken);B(`Install.download htcDownloadPath: ${d}`);let A=await c.save(d);return S(`Cached to ${A}`),A}async installStandalone(e,r){S("Standalone mode"),r=r||Re.tmpDir();let s=Kp.default.join(r,"compose-bin-standalone");Ma.default.existsSync(s)||Ma.default.mkdirSync(s,{recursive:!0});let n=Uo.default.platform()=="win32"?"compose.exe":"compose",i=Kp.default.join(s,n);return Ma.default.copyFileSync(e,i),S("Fixing perms"),Ma.default.chmodSync(i,"0755"),Oi(s),S("Added Compose to PATH"),S(`Binary path: ${i}`),i}async installPlugin(e,r){S("Docker plugin mode"),r=r||tr.configDir;let s=Kp.default.join(r,"cli-plugins");Ma.default.existsSync(s)||Ma.default.mkdirSync(s,{recursive:!0});let n=Uo.default Line truncated
# syntax=docker/dockerfile:1
ARG GO_VERSION="1.24"
@@ -222,7 +199,7 @@ EOT
FROM scratch
COPY --from=builder /out /
`;var yD=class t{githubToken;buildx;sigstore;constructor(e){this.githubToken=e?.githubToken||process.env.GITHUB_TOKEN,this.buildx=e?.buildx||new zt,this.sigstore=e?.sigstore||new sf}async download(e){let r=await t.getDownloadVersion(e.version);z(`Install.download version: ${r.version}`);let s=await t.getRelease(r,this.githubToken);z(`Install.download release tag name: ${s.tag_name}`);let i=await this.vspec(s.tag_name);z(`Install.download vspec: ${i}`);let n=FE.clean(i)||"";if(!FE.valid(n))throw new Error(`Invalid Cosign version "${i}".`);let o=new Cs({htcName:"cosign-dl-bin",htcVersion:i,baseCacheDir:UE.default.join(tc.default.homedir(),".bin"),cacheFile:tc.default.platform()=="win32"?"cosign.exe":"cosign",ghaNoCache:e.ghaNoCache}),a=await o.find();if(a)return j(`Cosign binary found in ${a}`),a;let c=DW.format(r.downloadURL,i,this.filename());j(`Downloading ${c}`);let l=await Qo(c,void 0,this.githubToken);z(`Install.download htcDownloadPath: ${l}`),e.verifySignature&&FE.satisfies(i,">=3.0.1")&&await this.verifySignature(l,c);let u=await o.save(l,e.skipState);return j(`Cached to ${u}`),u}async build(e,r,s){let i=await this.vspec(e);z(`Install.build vspec: ${i}`);let n=new Cs({htcName:"cosign-build-bin",htcVersion:i,baseCacheDir:UE.default.join(tc.default.homedir(),".bin"),cacheFile:tc.default.platform()=="win32"?"cosign.exe":"cosign",ghaNoCache:r}),o=await n.find();if(o)return j(`Cosign binary found in ${o}`),o;let a=UE.default.join(Ct.tmpDir(),"cosign-build-cache"),c=await this.buildCommand(e,a),l=await ke.getExecOutput(c.command,c.args,{ignoreReturnCode:!0,input:Buffer.from(G1e)}).then(h=>{if(h.stderr.length>0&&h.exitCode!=0)throw new Error(`build failed with: ${h.stderr.match(/(.*)\s*$/)?.[0]?.trim()??"unknown error"}`);return`${a}/cosign`}),u=await n.save(l,s);return j(`Cached to ${u}`),u}async install(e,r){r=r||Ct.tmpDir();let s=UE.default.join(r,"cosign-bin");dB.default.existsSync(s)||dB.default.mkdirSync(s,{recursive:!0});let i=tc.default.platform()=="win32"?"cosign.exe":"cosign",n=UE.default.join(s,i);return dB.default.copyFileSync(e,n),j("Fixing perms"),dB.default.chmodSync(n,"0755"),Ac(s),j("Added Cosign to PATH"),j(`Binary path: ${n}`),n}async buildCommand(e,r){let s=await new zt({standalone:!0}).isAvailable(),i=await new zt({standalone:!1}).isAvailable(),n=!1;if(await this.buildx.isStandalone()&&s)z("Install.buildCommand: Buildx standalone found, build with it"),n=!0;else if(!await this.buildx.isStandalone()&&i)z("Install.buildCommand: Buildx plugin found, build with it"),n=!1;else if(s)z("Install.buildCommand: Buildx plugin not found, but standalone found so trying to build with it"),n=!0;else if(i)z("Install.buildCommand: Buildx standalone not found, but plugin found so trying to build with it"),n=!1;else throw new Error(`Neither buildx standalone or plugin have been found to build from ref ${e}`);let o=["build","--platform","local","--build-arg","BUILDKIT_CONTEXT_KEEP_GIT_DIR=1","--output",`type=local,dest=${r}`];return process.env.GIT_AUTH_TOKEN&&o.push("--secret","id=GIT_AUTH_TOKEN"),o.push("-f-",e),await new zt({standalone:n}).getCommand(o)}async verifySignature(e,r){let s=`${r}.sigstore.json`;j(`Downloading keyless verification bundle at ${s}`);let i=await Qo(s,void 0,this.githubToken);z(`Install.verifySignature bundlePath: ${i}`);let n=await this.sigstore.verifyArtifact(e,i,{subjectAlternativeName:"keyless@projectsigstore.iam.gserviceaccount.com",issuer:"https://accounts.google.com"});j(`Cosign binary signature verified! ${n.tlogID?`${_A}?logIndex=${n.tlogID}`:""}`)}filename(){let e;switch(tc.default.arch()){case"x64":{e="amd64";break}case"ppc64":{e="ppc64le";break}default:{e=tc.default.arch();break}}let r=tc.default.platform()=="win32"?"windows":tc.default.platform(),s=tc.default.platform()=="win32"?".exe":"";return DW.format("cosign-%s-%s%s",r,e,s)}async vspec(e){if(!Xt.isValidRef(e)){let l=e.replace(/^v+|v+$/g,"");return j(`Use ${l} version spec cache key for ${e}`),l}let[r,s]=e.split("#");s.length==0&&(s="master");let i;s.match(/^[0-9a-fA-F]{40}$/)?i=s:i=await sy.remoteSha(r,s,process.env.GIT_AUTH_TOKEN);let[n,o]=r.substring(19).split("/"),a=`${n}/${Xt.trimSuffix(o,".git")}/${i}`,c=Xt.hash(a);return j(`Use ${c} version spec cache key for ${a}`),c}static async getDownloadVersion(e){return{version:e,downloadURL:"https://github.com/sigstore/cosign/releases/download/v%s/%s",contentOpts:{owner:"docker",repo:"actions-toolkit",ref:"main",path:".github/cosign-releases.json"}}}static async getRelease(e,r){let i=await new Pt({token:r}).releases("Cosign",e.contentOpts);if(!i[e.version])throw new Error(`Cannot find Cosign release ${e.version} in releases JSON`);return i[e.version]}};var H1e=O(Va(),1);var ED=class{binPath;_version;_versionOnce;constructor(e){this.binPath=e?.binPath||"regctl",this._version="",this._versionOnce=!1}async blobGet(e){return await ke.getExecOutput(this.binPath,["blob","get",e.repository,e.digest],{ignoreReturnCode:!0,silent:!0}).then(r=>{if(r.stderr.length>0&&r.exitCod Line truncated
`;var BN=class t{static{o(this,"Install")}githubToken;buildx;sigstore;constructor(e){this.githubToken=e?.githubToken||process.env.GITHUB_TOKEN,this.buildx=e?.buildx||new Ue,this.sigstore=e?.sigstore||new Xc}async download(e){let r=await t.getDownloadVersion(e.version);B(`Install.download version: ${r.version}`);let s=await t.getRelease(r,this.githubToken);B(`Install.download release tag name: ${s.tag_name}`);let n=await this.vspec(s.tag_name);B(`Install.download vspec: ${n}`);let i=Zp.clean(n)||"";if(!Zp.valid(i))throw new Error(`Invalid Cosign version "${n}".`);let a=new dr({htcName:"cosign-dl-bin",htcVersion:n,baseCacheDir:Xp.default.join(Ci.default.homedir(),".bin"),cacheFile:Ci.default.platform()=="win32"?"cosign.exe":"cosign",ghaNoCache:e.ghaNoCache}),c=await a.find();if(c)return S(`Cosign binary found in ${c}`),c;let l=eq.format(r.downloadURL,n,this.filename());S(`Downloading ${l}`);let u=await hn(l,void 0,this.githubToken);B(`Install.download htcDownloadPath: ${u}`),e.verifySignature&&Zp.satisfies(n,">=3.0.1")&&await this.verifySignature(u,l);let d=await a.save(u,e.skipState);return S(`Cached to ${d}`),d}async build(e,r,s){let n=await this.vspec(e);B(`Install.build vspec: ${n}`);let i=new dr({htcName:"cosign-build-bin",htcVersion:n,baseCacheDir:Xp.default.join(Ci.default.homedir(),".bin"),cacheFile:Ci.default.platform()=="win32"?"cosign.exe":"cosign",ghaNoCache:r}),a=await i.find();if(a)return S(`Cosign binary found in ${a}`),a;let c=Xp.default.join(Re.tmpDir(),"cosign-build-cache"),l=await this.buildCommand(e,c),u=await re.getExecOutput(l.command,l.args,{ignoreReturnCode:!0,input:Buffer.from(lle)}).then(A=>{if(A.stderr.length>0&&A.exitCode!=0)throw new Error(`build failed with: ${Ue.getErrorMessage(A.stderr)}`);return`${c}/cosign`}),d=await i.save(u,s);return S(`Cached to ${d}`),d}async install(e,r){r=r||Re.tmpDir();let s=Xp.default.join(r,"cosign-bin");rE.default.existsSync(s)||rE.default.mkdirSync(s,{recursive:!0});let n=Ci.default.platform()=="win32"?"cosign.exe":"cosign",i=Xp.default.join(s,n);return rE.default.copyFileSync(e,i),S("Fixing perms"),rE.default.chmodSync(i,"0755"),Oi(s),S("Added Cosign to PATH"),S(`Binary path: ${i}`),i}async buildCommand(e,r){let s=await new Ue({standalone:!0}).isAvailable(),n=await new Ue({standalone:!1}).isAvailable(),i=!1;if(await this.buildx.isStandalone()&&s)B("Install.buildCommand: Buildx standalone found, build with it"),i=!0;else if(!await this.buildx.isStandalone()&&n)B("Install.buildCommand: Buildx plugin found, build with it"),i=!1;else if(s)B("Install.buildCommand: Buildx plugin not found, but standalone found so trying to build with it"),i=!0;else if(n)B("Install.buildCommand: Buildx standalone not found, but plugin found so trying to build with it"),i=!1;else throw new Error(`Neither buildx standalone or plugin have been found to build from ref ${e}`);let a=["build","--platform","local","--build-arg","BUILDKIT_CONTEXT_KEEP_GIT_DIR=1","--output",`type=local,dest=${r}`];return process.env.GIT_AUTH_TOKEN&&a.push("--secret","id=GIT_AUTH_TOKEN"),a.push("-f-",e),await new Ue({standalone:i}).getCommand(a)}async verifySignature(e,r){let s=`${r}.sigstore.json`;S(`Downloading keyless verification bundle at ${s}`);let n=await hn(s,void 0,this.githubToken);B(`Install.verifySignature bundlePath: ${n}`);let i=await this.sigstore.verifyArtifact(e,n,{subjectAlternativeName:"keyless@projectsigstore.iam.gserviceaccount.com",issuer:"https://accounts.google.com"});S(`Cosign binary signature verified! ${i.tlogID?`${Jp}?logIndex=${i.tlogID}`:""}`)}filename(){let e;switch(Ci.default.arch()){case"x64":{e="amd64";break}case"ppc64":{e="ppc64le";break}default:{e=Ci.default.arch();break}}let r=Ci.default.platform()=="win32"?"windows":Ci.default.platform(),s=Ci.default.platform()=="win32"?".exe":"";return eq.format("cosign-%s-%s%s",r,e,s)}async vspec(e){if(!st.isValidRef(e)){let u=e.replace(/^v+|v+$/g,"");return S(`Use ${u} version spec cache key for ${e}`),u}let[r,s]=e.split("#");s.length==0&&(s="master");let n;s.match(/^[0-9a-fA-F]{40}$/)?n=s:n=await hp.remoteSha(r,s,process.env.GIT_AUTH_TOKEN);let[i,a]=r.substring(19).split("/"),c=`${i}/${st.trimSuffix(a,".git")}/${n}`,l=st.hash(c);return S(`Use ${l} version spec cache key for ${c}`),l}static async getDownloadVersion(e){return{version:e,downloadURL:"https://github.com/sigstore/cosign/releases/download/v%s/%s",contentOpts:{owner:"docker",repo:"actions-toolkit",ref:"main",path:".github/cosign-releases.json"}}}static async getRelease(e,r){let n=await new Ve({token:r}).releases("Cosign",e.contentOpts);if(!n[e.version])throw new Error(`Cannot find Cosign release ${e.version} in releases JSON`);return n[e.version]}};var ule=w(gi(),1);var bN=class{static{o(this,"Regctl")}binPath;_version;_versionOnce;constructor(e){this.binPath=e?.binPath||"regctl",this._version="",this._versionOnce=!1}async blobGet(e){return await re.getExecOutput(this.binPath,["blob","get",e.repository,e.digest],{ignoreReturnCode:!0,silent:!0}).then(r=>{if(r.stder Line truncated
/*! Bundled license information:
undici/lib/web/fetch/body.js:
@@ -240,44 +217,6 @@ tmp/lib/tmp.js:
* MIT Licensed
*)
negotiator/index.js:
(*!
* negotiator
* Copyright(c) 2012 Federico Romero
* Copyright(c) 2012-2014 Isaac Z. Schlueter
* Copyright(c) 2015 Douglas Christopher Wilson
* MIT Licensed
*)
imurmurhash/imurmurhash.js:
(**
* @preserve
* JS Implementation of incremental MurmurHash3 (r150) (as of May 10, 2013)
*
* @author <a href="mailto:jensyt@gmail.com">Jens Taylor</a>
* @see http://github.com/homebrewing/brauhaus-diff
* @author <a href="mailto:gary.court@gmail.com">Gary Court</a>
* @see http://github.com/garycourt/murmurhash-js
* @author <a href="mailto:aappleby@gmail.com">Austin Appleby</a>
* @see http://sites.google.com/site/murmurhash/
*)
make-fetch-happen/lib/fetch.js:
make-fetch-happen/lib/fetch.js:
(**
* @license
* Copyright (c) 2010-2012 Mikeal Rogers
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
* http://www.apache.org/licenses/LICENSE-2.0
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an "AS
* IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language
* governing permissions and limitations under the License.
*)
@octokit/request-error/dist-src/index.js:
(* v8 ignore else -- @preserve -- Bug with vitest coverage where it sees an else branch that doesn't exist *)
Generated Vendored
+4 -4
View File
@@ -1,7 +1,7 @@
{
"version": 3,
"sources": ["../node_modules/tunnel/lib/tunnel.js", "../node_modules/tunnel/index.js", "../node_modules/undici/lib/core/symbols.js", "../node_modules/undici/lib/core/errors.js", "../node_modules/undici/lib/core/constants.js", "../node_modules/undici/lib/core/tree.js", "../node_modules/undici/lib/core/util.js", "../node_modules/undici/lib/core/diagnostics.js", "../node_modules/undici/lib/core/request.js", "../node_modules/undici/lib/dispatcher/dispatcher.js", "../node_modules/undici/lib/dispatcher/dispatcher-base.js", "../node_modules/undici/lib/util/timers.js", "../node_modules/undici/lib/core/connect.js", "../node_modules/undici/lib/llhttp/utils.js", "../node_modules/undici/lib/llhttp/constants.js", "../node_modules/undici/lib/llhttp/llhttp-wasm.js", "../node_modules/undici/lib/llhttp/llhttp_simd-wasm.js", "../node_modules/undici/lib/web/fetch/constants.js", "../node_modules/undici/lib/web/fetch/global.js", "../node_modules/undici/lib/web/fetch/data-url.js", "../node_modules/undici/lib/web/fetch/webidl.js", "../node_modules/undici/lib/web/fetch/util.js", "../node_modules/undici/lib/web/fetch/symbols.js", "../node_modules/undici/lib/web/fetch/file.js", "../node_modules/undici/lib/web/fetch/formdata.js", "../node_modules/undici/lib/web/fetch/formdata-parser.js", "../node_modules/undici/lib/web/fetch/body.js", "../node_modules/undici/lib/dispatcher/client-h1.js", "../node_modules/undici/lib/dispatcher/client-h2.js", "../node_modules/undici/lib/handler/redirect-handler.js", "../node_modules/undici/lib/interceptor/redirect-interceptor.js", "../node_modules/undici/lib/dispatcher/client.js", "../node_modules/undici/lib/dispatcher/fixed-queue.js", "../node_modules/undici/lib/dispatcher/pool-stats.js", "../node_modules/undici/lib/dispatcher/pool-base.js", "../node_modules/undici/lib/dispatcher/pool.js", "../node_modules/undici/lib/dispatcher/balanced-pool.js", "../node_modules/undici/lib/dispatcher/agent.js", "../node_modules/undici/lib/dispatcher/proxy-agent.js", "../node_modules/undici/lib/dispatcher/env-http-proxy-agent.js", "../node_modules/undici/lib/handler/retry-handler.js", "../node_modules/undici/lib/dispatcher/retry-agent.js", "../node_modules/undici/lib/api/readable.js", "../node_modules/undici/lib/api/util.js", "../node_modules/undici/lib/api/api-request.js", "../node_modules/undici/lib/api/abort-signal.js", "../node_modules/undici/lib/api/api-stream.js", "../node_modules/undici/lib/api/api-pipeline.js", "../node_modules/undici/lib/api/api-upgrade.js", "../node_modules/undici/lib/api/api-connect.js", "../node_modules/undici/lib/api/index.js", "../node_modules/undici/lib/mock/mock-errors.js", "../node_modules/undici/lib/mock/mock-symbols.js", "../node_modules/undici/lib/mock/mock-utils.js", "../node_modules/undici/lib/mock/mock-interceptor.js", "../node_modules/undici/lib/mock/mock-client.js", "../node_modules/undici/lib/mock/mock-pool.js", "../node_modules/undici/lib/mock/pluralizer.js", "../node_modules/undici/lib/mock/pending-interceptors-formatter.js", "../node_modules/undici/lib/mock/mock-agent.js", "../node_modules/undici/lib/global.js", "../node_modules/undici/lib/handler/decorator-handler.js", "../node_modules/undici/lib/interceptor/redirect.js", "../node_modules/undici/lib/interceptor/retry.js", "../node_modules/undici/lib/interceptor/dump.js", "../node_modules/undici/lib/interceptor/dns.js", "../node_modules/undici/lib/web/fetch/headers.js", "../node_modules/undici/lib/web/fetch/response.js", "../node_modules/undici/lib/web/fetch/dispatcher-weakref.js", "../node_modules/undici/lib/web/fetch/request.js", "../node_modules/undici/lib/web/fetch/index.js", "../node_modules/undici/lib/web/fileapi/symbols.js", "../node_modules/undici/lib/web/fileapi/progressevent.js", "../node_modules/undici/lib/web/fileapi/encoding.js", "../node_modules/undici/lib/web/fileapi/util.js", "../node_modules/undici/lib/web/fileapi/filereader.js", "../node_modules/undici/lib/web/cache/symbols.js", "../node_modules/undici/lib/web/cache/util.js", "../node_modules/undici/lib/web/cache/cache.js", "../node_modules/undici/lib/web/cache/cachestorage.js", "../node_modules/undici/lib/web/cookies/constants.js", "../node_modules/undici/lib/web/cookies/util.js", "../node_modules/undici/lib/web/cookies/parse.js", "../node_modules/undici/lib/web/cookies/index.js", "../node_modules/undici/lib/web/websocket/events.js", "../node_modules/undici/lib/web/websocket/constants.js", "../node_modules/undici/lib/web/websocket/symbols.js", "../node_modules/undici/lib/web/websocket/util.js", "../node_modules/undici/lib/web/websocket/frame.js", "../node_modules/undici/lib/web/websocket/connection.js", "../node_modules/undici/lib/web/websocket/permessage-deflate.js", "../node_modules/undici/lib/web/websocket/receiver.js", "../node_modules/undici/lib/web/websocket/sender.js", "../node_modules/undici/lib/web/websocket/websocket.js", "../node_modules/undici/lib/web/eventsource/util.js", "../node_modules/undici/lib/web/eventsource/eventsource-stream.js",Line truncated
"sourcesContent": ["'use strict';\n\nvar net = require('net');\nvar tls = require('tls');\nvar http = require('http');\nvar https = require('https');\nvar events = require('events');\nvar assert = require('assert');\nvar util = require('util');\n\n\nexports.httpOverHttp = httpOverHttp;\nexports.httpsOverHttp = httpsOverHttp;\nexports.httpOverHttps = httpOverHttps;\nexports.httpsOverHttps = httpsOverHttps;\n\n\nfunction httpOverHttp(options) {\n var agent = new TunnelingAgent(options);\n agent.request = http.request;\n return agent;\n}\n\nfunction httpsOverHttp(options) {\n var agent = new TunnelingAgent(options);\n agent.request = http.request;\n agent.createSocket = createSecureSocket;\n agent.defaultPort = 443;\n return agent;\n}\n\nfunction httpOverHttps(options) {\n var agent = new TunnelingAgent(options);\n agent.request = https.request;\n return agent;\n}\n\nfunction httpsOverHttps(options) {\n var agent = new TunnelingAgent(options);\n agent.request = https.request;\n agent.createSocket = createSecureSocket;\n agent.defaultPort = 443;\n return agent;\n}\n\n\nfunction TunnelingAgent(options) {\n var self = this;\n self.options = options || {};\n self.proxyOptions = self.options.proxy || {};\n self.maxSockets = self.options.maxSockets || http.Agent.defaultMaxSockets;\n self.requests = [];\n self.sockets = [];\n\n self.on('free', function onFree(socket, host, port, localAddress) {\n var options = toOptions(host, port, localAddress);\n for (var i = 0, len = self.requests.length; i < len; ++i) {\n var pending = self.requests[i];\n if (pending.host === options.host && pending.port === options.port) {\n // Detect the request to connect same origin server,\n // reuse the connection.\n self.requests.splice(i, 1);\n pending.request.onSocket(socket);\n return;\n }\n }\n socket.destroy();\n self.removeSocket(socket);\n });\n}\nutil.inherits(TunnelingAgent, events.EventEmitter);\n\nTunnelingAgent.prototype.addRequest = function addRequest(req, host, port, localAddress) {\n var self = this;\n var options = mergeOptions({request: req}, self.options, toOptions(host, port, localAddress));\n\n if (self.sockets.length >= this.maxSockets) {\n // We are over limit so we'll add it to the queue.\n self.requests.push(options);\n return;\n }\n\n // If we are under maxSockets create a new one.\n self.createSocket(options, function(socket) {\n socket.on('free', onFree);\n socket.on('close', onCloseOrRemove);\n socket.on('agentRemove', onCloseOrRemove);\n req.onSocket(socket);\n\n function onFree() {\n self.emit('free', socket, options);\n }\n\n function onCloseOrRemove(err) {\n self.removeSocket(socket);\n socket.removeListener('free', onFree);\n socket.removeListener('close', onCloseOrRemove);\n socket.removeListener('agentRemove', onCloseOrRemove);\n }\n });\n};\n\nTunnelingAgent.prototype.createSocket = function createSocket(options, cb) {\n var self = this;\n var placeholder = {};\n self.sockets.push(placeholder);\n\n var connectOptions = mergeOptions({}, self.proxyOptions, {\n method: 'CONNECT',\n path: options.host + ':' + options.port,\n agent: false,\n headers: {\n host: options.host + ':' + options.port\n }\n });\n if (options.localAddress) {\n connectOptions.localAddress = options.localAddress;\n }\n if (connectOptions.proxyAuth) {\n connectOptions.headers = connectOptions.headers || {};\n connectOptions.headers['Proxy-Authorization'] = 'Basic ' +\n new Buffer(connectOptions.proxyAuth).toString('base64');\n }\n\n debug('making CONNECT request');\n var connectReq = self.request(connectOptions);\n connectReq.useChunkedEncodingByDefault = false; // for v0.6\n connectReq.once('response', onResponse); // for v0.6\n connectReq.once('upgrade', onUpgrade); // for v0.6\n connectReq.once('connect', onConnect); // for v0.7 or later\n connectReq.once('error', onError);\n connectReq.end();\n\n function onResponse(res) {\n // Very hacky. This is necessary to avoid http-parser leaks.\n res.upgrade = true;\n }\n\n function onUpgrade(res, socket, head) {\n // Hacky.\n process.nextTick(function() {\n onConnect(res, socket, head);\n });\n }\n\n function onConnect(res, socket, head) {\n connectReq.removeAllListeners();\n socket.removeAllListeners();\n\n if (res.statusCode !== 200) {\n debug('tunneling socket could not be established, statusCode=%d',\n res.statusCode);\n socket.destroy();\n var error = new Error('tunneling socket could not be established, ' +\n 'statusCode=' + res.statusCode);\n error.code = 'ECONNRESET';\n options.request.emit('error', error);\n self.removeSocket(placeholder);\n return;\n }\n if (head.length > 0) {\n debug('got illegal response body from proxy');\n socket.destroy();\n var error = new Error('Line truncated
"mappings": "ioBAAA,IAAAA,GAAAC,EAAAC,IAAA,cAEA,IAAIC,IAAM,QAAQ,KAAK,EACnBC,IAAM,QAAQ,KAAK,EACnBC,GAAO,QAAQ,MAAM,EACrBC,GAAQ,QAAQ,OAAO,EACvBC,IAAS,QAAQ,QAAQ,EACzBC,IAAS,QAAQ,QAAQ,EACzBC,IAAO,QAAQ,MAAM,EAGzBP,GAAQ,aAAeQ,IACvBR,GAAQ,cAAgBS,IACxBT,GAAQ,cAAgBU,IACxBV,GAAQ,eAAiBW,IAGzB,SAASH,IAAaI,EAAS,CAC7B,IAAIC,EAAQ,IAAIC,GAAeF,CAAO,EACtC,OAAAC,EAAM,QAAUV,GAAK,QACdU,CACT,CAEA,SAASJ,IAAcG,EAAS,CAC9B,IAAIC,EAAQ,IAAIC,GAAeF,CAAO,EACtC,OAAAC,EAAM,QAAUV,GAAK,QACrBU,EAAM,aAAeE,GACrBF,EAAM,YAAc,IACbA,CACT,CAEA,SAASH,IAAcE,EAAS,CAC9B,IAAIC,EAAQ,IAAIC,GAAeF,CAAO,EACtC,OAAAC,EAAM,QAAUT,GAAM,QACfS,CACT,CAEA,SAASF,IAAeC,EAAS,CAC/B,IAAIC,EAAQ,IAAIC,GAAeF,CAAO,EACtC,OAAAC,EAAM,QAAUT,GAAM,QACtBS,EAAM,aAAeE,GACrBF,EAAM,YAAc,IACbA,CACT,CAGA,SAASC,GAAeF,EAAS,CAC/B,IAAII,EAAO,KACXA,EAAK,QAAUJ,GAAW,CAAC,EAC3BI,EAAK,aAAeA,EAAK,QAAQ,OAAS,CAAC,EAC3CA,EAAK,WAAaA,EAAK,QAAQ,YAAcb,GAAK,MAAM,kBACxDa,EAAK,SAAW,CAAC,EACjBA,EAAK,QAAU,CAAC,EAEhBA,EAAK,GAAG,OAAQ,SAAgBC,EAAQC,EAAMC,EAAMC,EAAc,CAEhE,QADIR,EAAUS,GAAUH,EAAMC,EAAMC,CAAY,EACvCE,EAAI,EAAGC,EAAMP,EAAK,SAAS,OAAQM,EAAIC,EAAK,EAAED,EAAG,CACxD,IAAIE,EAAUR,EAAK,SAASM,CAAC,EAC7B,GAAIE,EAAQ,OAASZ,EAAQ,MAAQY,EAAQ,OAASZ,EAAQ,KAAM,CAGlEI,EAAK,SAAS,OAAOM,EAAG,CAAC,EACzBE,EAAQ,QAAQ,SAASP,CAAM,EAC/B,MACF,CACF,CACAA,EAAO,QAAQ,EACfD,EAAK,aAAaC,CAAM,CAC1B,CAAC,CACH,CACAV,IAAK,SAASO,GAAgBT,IAAO,YAAY,EAEjDS,GAAe,UAAU,WAAa,SAAoBW,EAAKP,EAAMC,EAAMC,EAAc,CACvF,IAAIJ,EAAO,KACPJ,EAAUc,GAAa,CAAC,QAASD,CAAG,EAAGT,EAAK,QAASK,GAAUH,EAAMC,EAAMC,CAAY,CAAC,EAE5F,GAAIJ,EAAK,QAAQ,QAAU,KAAK,WAAY,CAE1CA,EAAK,SAAS,KAAKJ,CAAO,EAC1B,MACF,CAGAI,EAAK,aAAaJ,EAAS,SAASK,EAAQ,CAC1CA,EAAO,GAAG,OAAQU,CAAM,EACxBV,EAAO,GAAG,QAASW,CAAe,EAClCX,EAAO,GAAG,cAAeW,CAAe,EACxCH,EAAI,SAASR,CAAM,EAEnB,SAASU,GAAS,CAChBX,EAAK,KAAK,OAAQC,EAAQL,CAAO,CACnC,CAEA,SAASgB,EAAgBC,EAAK,CAC5Bb,EAAK,aAAaC,CAAM,EACxBA,EAAO,eAAe,OAAQU,CAAM,EACpCV,EAAO,eAAe,QAASW,CAAe,EAC9CX,EAAO,eAAe,cAAeW,CAAe,CACtD,CACF,CAAC,CACH,EAEAd,GAAe,UAAU,aAAe,SAAsBF,EAASkB,EAAI,CACzE,IAAId,EAAO,KACPe,EAAc,CAAC,EACnBf,EAAK,QAAQ,KAAKe,CAAW,EAE7B,IAAIC,EAAiBN,GAAa,CAAC,EAAGV,EAAK,aAAc,CACvD,OAAQ,UACR,KAAMJ,EAAQ,KAAO,IAAMA,EAAQ,KACnC,MAAO,GACP,QAAS,CACP,KAAMA,EAAQ,KAAO,IAAMA,EAAQ,IACrC,CACF,CAAC,EACGA,EAAQ,eACVoB,EAAe,aAAepB,EAAQ,cAEpCoB,EAAe,YACjBA,EAAe,QAAUA,EAAe,SAAW,CAAC,EACpDA,EAAe,QAAQ,qBAAqB,EAAI,SAC5C,IAAI,OAAOA,EAAe,SAAS,EAAE,SAAS,QAAQ,GAG5DC,GAAM,wBAAwB,EAC9B,IAAIC,EAAalB,EAAK,QAAQgB,CAAc,EAC5CE,EAAW,4BAA8B,GACzCA,EAAW,KAAK,WAAYC,CAAU,EACtCD,EAAW,KAAK,UAAWE,CAAS,EACpCF,EAAW,KAAK,UAAWG,CAAS,EACpCH,EAAW,KAAK,QAASI,CAAO,EAChCJ,EAAW,IAAI,EAEf,SAASC,EAAWI,EAAK,CAEvBA,EAAI,QAAU,EAChB,CAEA,SAASH,EAAUG,EAAKtB,EAAQuB,EAAM,CAEpC,QAAQ,SAAS,UAAW,CAC1BH,EAAUE,EAAKtB,EAAQuB,CAAI,CAC7B,CAAC,CACH,CAEA,SAASH,EAAUE,EAAKtB,EAAQuB,EAAM,CAIpC,GAHAN,EAAW,mBAAmB,EAC9BjB,EAAO,mBAAmB,EAEtBsB,EAAI,aAAe,IAAK,CAC1BN,GAAM,2DACJM,EAAI,UAAU,EAChBtB,EAAO,QAAQ,EACf,IAAIwB,EAAQ,IAAI,MAAM,yDACJF,EAAI,UAAU,EAChCE,EAAM,KAAO,aACb7B,EAAQ,QAAQ,KAAK,QAAS6B,CAAK,EACnCzB,EAAK,aAAae,CAAW,EAC7B,MACF,CACA,GAAIS,EAAK,OAAS,EAAG,CACnBP,GAAM,sCAAsC,EAC5ChB,EAAO,QAAQ,EACf,IAAIwB,EAAQ,IAAI,MAAM,sCAAsC,EAC5DA,EAAM,KAAO,aACb7B,EAAQ,QAAQ,KAAK,QAAS6B,CAAK,EACnCzB,EAAK,aAAae,CAAW,EAC7B,MACF,CACA,OAAAE,GAAM,sCAAsC,EAC5CjB,EAAK,QAAQA,EAAK,QAAQ,QAAQe,CAAW,CAAC,EAAId,EAC3Ca,EAAGb,CAAM,CAClB,CAEA,SAASqB,EAAQI,EAAO,CACtBR,EAAW,mBAAmB,EAE9BD,GAAM;AAAA,EACAS,EAAM,QAASA,EAAM,KAAK,EAChC,IAAID,EAAQ,IAAI,MAAM,oDACWC,EAAM,OAAO,EAC9CD,EAAM,KAAO,aACb7B,EAAQ,QAAQ,KAAK,QAAS6B,CAAK,EACnCzB,EAAK,aAAae,CAAW,CAC/B,CACF,EAEAjB,GAAe,UAAU,aAAe,SAAsBG,EAAQ,CACpE,IAAI0B,EAAM,KAAK,QAAQ,QAAQ1B,CAAM,EACrC,GAAI0B,IAAQ,GAGZ,MAAK,QAAQ,OAAOA,EAAK,CAAC,EAE1B,IAAInB,EAAU,KAAK,SAAS,MAAM,EAC9BA,GAGF,KAAK,aAAaA,EAAS,SAASP,EAAQ,CAC1CO,EAAQ,QAAQ,SAASP,CAAM,CACjC,CAAC,EAEL,EAEA,SAASF,GAAmBH,EAASkB,EAAI,CACvC,IAAId,EAAO,KACXF,GAAe,UAAU,aAAa,KAAKE,EAAMJ,EAAS,SAASK,EAAQ,CACzE,IAAI2B,EAAahC,EAAQ,QAAQ,UAAU,MAAM,EAC7CiC,EAAanB,GAAa,CAAC,EAAGV,EAAK,QAAS,CAC9C,OAAQC,EACR,WAAY2B,EAAaA,EAAW,QAAQ,OAAQ,EAAE,EAAIhC,EAAQ,IACpE,CAAC,EAGGkC,EAAe5C,IAAI,QAAQ,EAAG2C,CAAU,EAC5C7B,EAAK,QAAQA,EAAK,QAAQ,QAAQC,CAAM,CAAC,EAAI6B,EAC7ChB,EAAGgB,CAAY,CACjB,CAAC,CACH,CAGA,SAASzB,GAAUH,EAAMC,EAAMC,EAAc,CAC3C,OAAI,OAAOF,GAAS,SACX,CACL,KAAMA,EACN,KAAMC,EACN,aAAcC,CAChB,EAEKF,CACT,CAEA,SAASQ,GAAaqB,EAAQ,CAC5B,QAASzB,EAAI,EAAGC,EAAM,UAAU,OAAQD,EAAIC,EAAK,EAAED,EAAG,CACpD,IAAI0B,EAAY,UAAU1B,CAAC,EAC3B,GAAI,OAAO0B,GAAc,SAEvB,QADIC,EAAO,OAAO,KAAKD,CAAS,EACvBE,EAAI,EAAGC,EAASF,EAAK,OAAQC,EAAIC,EAAQ,EAAED,EAAG,CACrD,IAAIE,EAAIH,EAAKC,CAAC,EACVF,EAAUI,CAAC,IAAM,SACnBL,EAAOK,CAAC,EAAIJ,EAAUI,CAAC,EAE3B,CAEJ,CACA,OAAOL,CACT,CAGA,IAAId,GACA,QAAQ,IAAI,YAAc,aAAa,KAAK,QAAQ,IAAI,UAAU,EACpEA,GAAQ,UAAW,CACjB,IAAIoB,EAAO,MAAM,UAAU,MAAM,KAAK,SAAS,EAC3C,OAAOA,EAAK,CAAC,GAAM,SACrBA,EAAK,CAAC,EAAI,WAAaA,EAAK,CAAC,EAE7BA,EAAK,QAAQ,SAAS,EAExB,QAAQ,MAAM,MAAM,QAASA,CAAI,CACnC,EAEApB,GAAQ,UAAW,CAAC,EAEtBjC,GAAQ,MAAQiC,KCvQhB,IAAAqB,GAAAC,EAAA,CAAAC,IAAAC,KAAA,CAAAA,GAAO,QAAU,OCAjB,IAAAC,GAAAC,EAAA,CAAAC,IAAAC,KAAA,CAAAA,GAAO,QAAU,CACf,OAAQ,OAAO,OAAO,EACtB,SAAU,OAAO,SAAS,EAC1B,UAAW,OAAO,UAAU,EAC5B,KAAM,OAAO,KAAK,EAClB,SAAULine truncated
"names": ["require_tunnel", "__commonJSMin", "exports", "net", "tls", "http", "https", "events", "assert", "util", "httpOverHttp", "httpsOverHttp", "httpOverHttps", "httpsOverHttps", "options", "agent", "TunnelingAgent", "createSecureSocket", "self", "socket", "host", "port", "localAddress", "toOptions", "i", "len", "pending", "req", "mergeOptions", "onFree", "onCloseOrRemove", "err", "cb", "placeholder", "connectOptions", "debug", "connectReq", "onResponse", "onUpgrade", "onConnect", "onError", "res", "head", "error", "cause", "pos", "hostHeader", "tlsOptions", "secureSocket", "target", "overrides", "keys", "j", "keyLen", "k", "args", "require_tunnel", "__commonJSMin", "exports", "module", "require_symbols", "__commonJSMin", "exports", "module", "require_errors", "__commonJSMin", "exports", "module", "kUndiciError", "UndiciError", "message", "instance", "kConnectTimeoutError", "ConnectTimeoutError", "kHeadersTimeoutError", "HeadersTimeoutError", "kHeadersOverflowError", "HeadersOverflowError", "kBodyTimeoutError", "BodyTimeoutError", "kResponseStatusCodeError", "ResponseStatusCodeError", "statusCode", "headers", "body", "kInvalidArgumentError", "InvalidArgumentError", "kInvalidReturnValueError", "InvalidReturnValueError", "kAbortError", "AbortError", "kRequestAbortedError", "RequestAbortedError", "kInformationalError", "InformationalError", "kRequestContentLengthMismatchError", "RequestContentLengthMismatchError", "kResponseContentLengthMismatchError", "ResponseContentLengthMismatchError", "kClientDestroyedError", "ClientDestroyedError", "kClientClosedError", "ClientClosedError", "kSocketError", "SocketError", "socket", "kNotSupportedError", "NotSupportedError", "kBalancedPoolMissingUpstreamError", "BalancedPoolMissingUpstreamError", "kHTTPParserError", "HTTPParserError", "code", "data", "kResponseExceededMaxSizeError", "ResponseExceededMaxSizeError", "kRequestRetryError", "RequestRetryError", "kResponseError", "ResponseError", "kSecureProxyConnectionError", "SecureProxyConnectionError", "cause", "options", "kMessageSizeExceededError", "MessageSizeExceededError", "require_constants", "__commonJSMin", "exports", "module", "headerNameLowerCasedRecord", "wellknownHeaderNames", "i", "key", "lowerCasedKey", "require_tree", "__commonJSMin", "exports", "module", "wellknownHeaderNames", "headerNameLowerCasedRecord", "TstNode", "_TstNode", "key", "value", "index", "length", "node", "code", "keylength", "TernarySearchTree", "tree", "i", "require_util", "__commonJSMin", "exports", "module", "assert", "kDestroyed", "kBodyUsed", "kListeners", "kBody", "IncomingMessage", "stream", "net", "Blob", "nodeUtil", "stringify", "EE", "InvalidArgumentError", "headerNameLowerCasedRecord", "tree", "nodeMajor", "nodeMinor", "v", "BodyAsyncIterable", "body", "wrapRequestBody", "isStream", "bodyLength", "isIterable", "nop", "obj", "isBlobLike", "object", "sTag", "buildURL", "url", "queryParams", "stringified", "isValidPort", "port", "value", "isHttpOrHttpsPrefixed", "parseURL", "origin", "path", "parseOrigin", "getHostname", "host", "idx", "getServerName", "servername", "deepClone", "isAsyncIterable", "state", "isBuffer", "isDestroyed", "destroy", "err", "KEEPALIVE_TIMEOUT_EXPR", "parseKeepAliveTimeout", "val", "m", "headerNameToString", "bufferToLowerCasedHeaderName", "parseHeaders", "headers", "i", "key", "headersValue", "x", "parseRawHeaders", "len", "ret", "hasContentLength", "contentDispositionIdx", "kLen", "n", "buffer", "validateHandler", "handler", "method", "upgrade", "isDisturbed", "isErrored", "isReadable", "getSocketInfo", "socket", "ReadableStreamFrom", "iterable", "iterator", "controller", "done", "buf", "reason", "isFormDataLike", "addAbortListener", "signal", "listener", "hasToWellFormed", "hasIsWellFormed", "toUSVString", "isUSVString", "isTokenCharCode", "c", "isValidHTTPToken", "characters", "headerCharRegex", "isValidHeaderValue", "parseRangeHeader", "range", "addListener", "name", "removeAllListeners", "errorRequest", "client", "request", "kEnumerableProperty", "normalizedMethodRecordsBase", "normalizedMethodRecords", "require_diagnostics", "__commonJSMin", "exports", "module", "diagnosticsChannel", "util", "undiciDebugLog", "fetchDebuglog", "websocketDebuglog", "isClientSet", "channels", "debuglog", "evt", "version", "protocol", "port", "host", "error", "method", "path", "origin", "statusCode", "address", "websocket", "code", "reason", "err", "require_request", "__commonJSMin", "exports", "module", "InvalidArgumentError", "NotSupportedError", "assert", "isValidHTTPToken", "isValidHeaderValue", "isStream", "destroy", "isBuffer", "isFormDataLike", "isIterable", "isBlobLike", "buildURL", "validateHandler", "getServerName", "normalizedMethodRecords", "channels", "headerNameLowerCasedRecord", "invalidPathRegex", "kHandler", "Request", "origin", "path", "method", "body", "headers", "query", "idempotent", "blocking", "upgrade", "headersTimeout", "bodyTimeout", "reset", "throwOnError", "expectContinue", "servername",Line truncated
"sources": ["../node_modules/tunnel/lib/tunnel.js", "../node_modules/tunnel/index.js", "../node_modules/undici/lib/core/symbols.js", "../node_modules/undici/lib/core/errors.js", "../node_modules/undici/lib/core/constants.js", "../node_modules/undici/lib/core/tree.js", "../node_modules/undici/lib/core/util.js", "../node_modules/undici/lib/core/diagnostics.js", "../node_modules/undici/lib/core/request.js", "../node_modules/undici/lib/dispatcher/dispatcher.js", "../node_modules/undici/lib/dispatcher/dispatcher-base.js", "../node_modules/undici/lib/util/timers.js", "../node_modules/undici/lib/core/connect.js", "../node_modules/undici/lib/llhttp/utils.js", "../node_modules/undici/lib/llhttp/constants.js", "../node_modules/undici/lib/llhttp/llhttp-wasm.js", "../node_modules/undici/lib/llhttp/llhttp_simd-wasm.js", "../node_modules/undici/lib/web/fetch/constants.js", "../node_modules/undici/lib/web/fetch/global.js", "../node_modules/undici/lib/web/fetch/data-url.js", "../node_modules/undici/lib/web/fetch/webidl.js", "../node_modules/undici/lib/web/fetch/util.js", "../node_modules/undici/lib/web/fetch/symbols.js", "../node_modules/undici/lib/web/fetch/file.js", "../node_modules/undici/lib/web/fetch/formdata.js", "../node_modules/undici/lib/web/fetch/formdata-parser.js", "../node_modules/undici/lib/web/fetch/body.js", "../node_modules/undici/lib/dispatcher/client-h1.js", "../node_modules/undici/lib/dispatcher/client-h2.js", "../node_modules/undici/lib/handler/redirect-handler.js", "../node_modules/undici/lib/interceptor/redirect-interceptor.js", "../node_modules/undici/lib/dispatcher/client.js", "../node_modules/undici/lib/dispatcher/fixed-queue.js", "../node_modules/undici/lib/dispatcher/pool-stats.js", "../node_modules/undici/lib/dispatcher/pool-base.js", "../node_modules/undici/lib/dispatcher/pool.js", "../node_modules/undici/lib/dispatcher/balanced-pool.js", "../node_modules/undici/lib/dispatcher/agent.js", "../node_modules/undici/lib/dispatcher/proxy-agent.js", "../node_modules/undici/lib/dispatcher/env-http-proxy-agent.js", "../node_modules/undici/lib/handler/retry-handler.js", "../node_modules/undici/lib/dispatcher/retry-agent.js", "../node_modules/undici/lib/api/readable.js", "../node_modules/undici/lib/api/util.js", "../node_modules/undici/lib/api/api-request.js", "../node_modules/undici/lib/api/abort-signal.js", "../node_modules/undici/lib/api/api-stream.js", "../node_modules/undici/lib/api/api-pipeline.js", "../node_modules/undici/lib/api/api-upgrade.js", "../node_modules/undici/lib/api/api-connect.js", "../node_modules/undici/lib/api/index.js", "../node_modules/undici/lib/mock/mock-errors.js", "../node_modules/undici/lib/mock/mock-symbols.js", "../node_modules/undici/lib/mock/mock-utils.js", "../node_modules/undici/lib/mock/mock-interceptor.js", "../node_modules/undici/lib/mock/mock-client.js", "../node_modules/undici/lib/mock/mock-pool.js", "../node_modules/undici/lib/mock/pluralizer.js", "../node_modules/undici/lib/mock/pending-interceptors-formatter.js", "../node_modules/undici/lib/mock/mock-agent.js", "../node_modules/undici/lib/global.js", "../node_modules/undici/lib/handler/decorator-handler.js", "../node_modules/undici/lib/interceptor/redirect.js", "../node_modules/undici/lib/interceptor/retry.js", "../node_modules/undici/lib/interceptor/dump.js", "../node_modules/undici/lib/interceptor/dns.js", "../node_modules/undici/lib/web/fetch/headers.js", "../node_modules/undici/lib/web/fetch/response.js", "../node_modules/undici/lib/web/fetch/dispatcher-weakref.js", "../node_modules/undici/lib/web/fetch/request.js", "../node_modules/undici/lib/web/fetch/index.js", "../node_modules/undici/lib/web/fileapi/symbols.js", "../node_modules/undici/lib/web/fileapi/progressevent.js", "../node_modules/undici/lib/web/fileapi/encoding.js", "../node_modules/undici/lib/web/fileapi/util.js", "../node_modules/undici/lib/web/fileapi/filereader.js", "../node_modules/undici/lib/web/cache/symbols.js", "../node_modules/undici/lib/web/cache/util.js", "../node_modules/undici/lib/web/cache/cache.js", "../node_modules/undici/lib/web/cache/cachestorage.js", "../node_modules/undici/lib/web/cookies/constants.js", "../node_modules/undici/lib/web/cookies/util.js", "../node_modules/undici/lib/web/cookies/parse.js", "../node_modules/undici/lib/web/cookies/index.js", "../node_modules/undici/lib/web/websocket/events.js", "../node_modules/undici/lib/web/websocket/constants.js", "../node_modules/undici/lib/web/websocket/symbols.js", "../node_modules/undici/lib/web/websocket/util.js", "../node_modules/undici/lib/web/websocket/frame.js", "../node_modules/undici/lib/web/websocket/connection.js", "../node_modules/undici/lib/web/websocket/permessage-deflate.js", "../node_modules/undici/lib/web/websocket/receiver.js", "../node_modules/undici/lib/web/websocket/sender.js", "../node_modules/undici/lib/web/websocket/websocket.js", "../node_modules/undici/lib/web/eventsource/util.js", "../node_modules/undici/lib/web/eventsource/eventsource-stream.js",Line truncated
"sourcesContent": ["'use strict';\n\nvar net = require('net');\nvar tls = require('tls');\nvar http = require('http');\nvar https = require('https');\nvar events = require('events');\nvar assert = require('assert');\nvar util = require('util');\n\n\nexports.httpOverHttp = httpOverHttp;\nexports.httpsOverHttp = httpsOverHttp;\nexports.httpOverHttps = httpOverHttps;\nexports.httpsOverHttps = httpsOverHttps;\n\n\nfunction httpOverHttp(options) {\n var agent = new TunnelingAgent(options);\n agent.request = http.request;\n return agent;\n}\n\nfunction httpsOverHttp(options) {\n var agent = new TunnelingAgent(options);\n agent.request = http.request;\n agent.createSocket = createSecureSocket;\n agent.defaultPort = 443;\n return agent;\n}\n\nfunction httpOverHttps(options) {\n var agent = new TunnelingAgent(options);\n agent.request = https.request;\n return agent;\n}\n\nfunction httpsOverHttps(options) {\n var agent = new TunnelingAgent(options);\n agent.request = https.request;\n agent.createSocket = createSecureSocket;\n agent.defaultPort = 443;\n return agent;\n}\n\n\nfunction TunnelingAgent(options) {\n var self = this;\n self.options = options || {};\n self.proxyOptions = self.options.proxy || {};\n self.maxSockets = self.options.maxSockets || http.Agent.defaultMaxSockets;\n self.requests = [];\n self.sockets = [];\n\n self.on('free', function onFree(socket, host, port, localAddress) {\n var options = toOptions(host, port, localAddress);\n for (var i = 0, len = self.requests.length; i < len; ++i) {\n var pending = self.requests[i];\n if (pending.host === options.host && pending.port === options.port) {\n // Detect the request to connect same origin server,\n // reuse the connection.\n self.requests.splice(i, 1);\n pending.request.onSocket(socket);\n return;\n }\n }\n socket.destroy();\n self.removeSocket(socket);\n });\n}\nutil.inherits(TunnelingAgent, events.EventEmitter);\n\nTunnelingAgent.prototype.addRequest = function addRequest(req, host, port, localAddress) {\n var self = this;\n var options = mergeOptions({request: req}, self.options, toOptions(host, port, localAddress));\n\n if (self.sockets.length >= this.maxSockets) {\n // We are over limit so we'll add it to the queue.\n self.requests.push(options);\n return;\n }\n\n // If we are under maxSockets create a new one.\n self.createSocket(options, function(socket) {\n socket.on('free', onFree);\n socket.on('close', onCloseOrRemove);\n socket.on('agentRemove', onCloseOrRemove);\n req.onSocket(socket);\n\n function onFree() {\n self.emit('free', socket, options);\n }\n\n function onCloseOrRemove(err) {\n self.removeSocket(socket);\n socket.removeListener('free', onFree);\n socket.removeListener('close', onCloseOrRemove);\n socket.removeListener('agentRemove', onCloseOrRemove);\n }\n });\n};\n\nTunnelingAgent.prototype.createSocket = function createSocket(options, cb) {\n var self = this;\n var placeholder = {};\n self.sockets.push(placeholder);\n\n var connectOptions = mergeOptions({}, self.proxyOptions, {\n method: 'CONNECT',\n path: options.host + ':' + options.port,\n agent: false,\n headers: {\n host: options.host + ':' + options.port\n }\n });\n if (options.localAddress) {\n connectOptions.localAddress = options.localAddress;\n }\n if (connectOptions.proxyAuth) {\n connectOptions.headers = connectOptions.headers || {};\n connectOptions.headers['Proxy-Authorization'] = 'Basic ' +\n new Buffer(connectOptions.proxyAuth).toString('base64');\n }\n\n debug('making CONNECT request');\n var connectReq = self.request(connectOptions);\n connectReq.useChunkedEncodingByDefault = false; // for v0.6\n connectReq.once('response', onResponse); // for v0.6\n connectReq.once('upgrade', onUpgrade); // for v0.6\n connectReq.once('connect', onConnect); // for v0.7 or later\n connectReq.once('error', onError);\n connectReq.end();\n\n function onResponse(res) {\n // Very hacky. This is necessary to avoid http-parser leaks.\n res.upgrade = true;\n }\n\n function onUpgrade(res, socket, head) {\n // Hacky.\n process.nextTick(function() {\n onConnect(res, socket, head);\n });\n }\n\n function onConnect(res, socket, head) {\n connectReq.removeAllListeners();\n socket.removeAllListeners();\n\n if (res.statusCode !== 200) {\n debug('tunneling socket could not be established, statusCode=%d',\n res.statusCode);\n socket.destroy();\n var error = new Error('tunneling socket could not be established, ' +\n 'statusCode=' + res.statusCode);\n error.code = 'ECONNRESET';\n options.request.emit('error', error);\n self.removeSocket(placeholder);\n return;\n }\n if (head.length > 0) {\n debug('got illegal response body from proxy');\n socket.destroy();\n var error = new Error('Line truncated
"mappings": "ipBAAA,IAAAA,GAAAC,EAAAC,IAAA,cAEA,IAAIC,IAAM,QAAQ,KAAK,EACnBC,IAAM,QAAQ,KAAK,EACnBC,GAAO,QAAQ,MAAM,EACrBC,GAAQ,QAAQ,OAAO,EACvBC,IAAS,QAAQ,QAAQ,EACzBC,IAAS,QAAQ,QAAQ,EACzBC,IAAO,QAAQ,MAAM,EAGzBP,GAAQ,aAAeQ,IACvBR,GAAQ,cAAgBS,IACxBT,GAAQ,cAAgBU,IACxBV,GAAQ,eAAiBW,IAGzB,SAASH,IAAaI,EAAS,CAC7B,IAAIC,EAAQ,IAAIC,GAAeF,CAAO,EACtC,OAAAC,EAAM,QAAUV,GAAK,QACdU,CACT,CAJSE,EAAAP,IAAA,gBAMT,SAASC,IAAcG,EAAS,CAC9B,IAAIC,EAAQ,IAAIC,GAAeF,CAAO,EACtC,OAAAC,EAAM,QAAUV,GAAK,QACrBU,EAAM,aAAeG,GACrBH,EAAM,YAAc,IACbA,CACT,CANSE,EAAAN,IAAA,iBAQT,SAASC,IAAcE,EAAS,CAC9B,IAAIC,EAAQ,IAAIC,GAAeF,CAAO,EACtC,OAAAC,EAAM,QAAUT,GAAM,QACfS,CACT,CAJSE,EAAAL,IAAA,iBAMT,SAASC,IAAeC,EAAS,CAC/B,IAAIC,EAAQ,IAAIC,GAAeF,CAAO,EACtC,OAAAC,EAAM,QAAUT,GAAM,QACtBS,EAAM,aAAeG,GACrBH,EAAM,YAAc,IACbA,CACT,CANSE,EAAAJ,IAAA,kBAST,SAASG,GAAeF,EAAS,CAC/B,IAAIK,EAAO,KACXA,EAAK,QAAUL,GAAW,CAAC,EAC3BK,EAAK,aAAeA,EAAK,QAAQ,OAAS,CAAC,EAC3CA,EAAK,WAAaA,EAAK,QAAQ,YAAcd,GAAK,MAAM,kBACxDc,EAAK,SAAW,CAAC,EACjBA,EAAK,QAAU,CAAC,EAEhBA,EAAK,GAAG,OAAQF,EAAA,SAAgBG,EAAQC,EAAMC,EAAMC,EAAc,CAEhE,QADIT,EAAUU,GAAUH,EAAMC,EAAMC,CAAY,EACvCE,EAAI,EAAGC,EAAMP,EAAK,SAAS,OAAQM,EAAIC,EAAK,EAAED,EAAG,CACxD,IAAIE,EAAUR,EAAK,SAASM,CAAC,EAC7B,GAAIE,EAAQ,OAASb,EAAQ,MAAQa,EAAQ,OAASb,EAAQ,KAAM,CAGlEK,EAAK,SAAS,OAAOM,EAAG,CAAC,EACzBE,EAAQ,QAAQ,SAASP,CAAM,EAC/B,MACF,CACF,CACAA,EAAO,QAAQ,EACfD,EAAK,aAAaC,CAAM,CAC1B,EAdgB,SAcf,CACH,CAvBSH,EAAAD,GAAA,kBAwBTP,IAAK,SAASO,GAAgBT,IAAO,YAAY,EAEjDS,GAAe,UAAU,WAAaC,EAAA,SAAoBW,EAAKP,EAAMC,EAAMC,EAAc,CACvF,IAAIJ,EAAO,KACPL,EAAUe,GAAa,CAAC,QAASD,CAAG,EAAGT,EAAK,QAASK,GAAUH,EAAMC,EAAMC,CAAY,CAAC,EAE5F,GAAIJ,EAAK,QAAQ,QAAU,KAAK,WAAY,CAE1CA,EAAK,SAAS,KAAKL,CAAO,EAC1B,MACF,CAGAK,EAAK,aAAaL,EAAS,SAASM,EAAQ,CAC1CA,EAAO,GAAG,OAAQU,CAAM,EACxBV,EAAO,GAAG,QAASW,CAAe,EAClCX,EAAO,GAAG,cAAeW,CAAe,EACxCH,EAAI,SAASR,CAAM,EAEnB,SAASU,GAAS,CAChBX,EAAK,KAAK,OAAQC,EAAQN,CAAO,CACnC,CAFSG,EAAAa,EAAA,UAIT,SAASC,EAAgBC,EAAK,CAC5Bb,EAAK,aAAaC,CAAM,EACxBA,EAAO,eAAe,OAAQU,CAAM,EACpCV,EAAO,eAAe,QAASW,CAAe,EAC9CX,EAAO,eAAe,cAAeW,CAAe,CACtD,CALSd,EAAAc,EAAA,kBAMX,CAAC,CACH,EA5BsC,cA8BtCf,GAAe,UAAU,aAAeC,EAAA,SAAsBH,EAASmB,EAAI,CACzE,IAAId,EAAO,KACPe,EAAc,CAAC,EACnBf,EAAK,QAAQ,KAAKe,CAAW,EAE7B,IAAIC,EAAiBN,GAAa,CAAC,EAAGV,EAAK,aAAc,CACvD,OAAQ,UACR,KAAML,EAAQ,KAAO,IAAMA,EAAQ,KACnC,MAAO,GACP,QAAS,CACP,KAAMA,EAAQ,KAAO,IAAMA,EAAQ,IACrC,CACF,CAAC,EACGA,EAAQ,eACVqB,EAAe,aAAerB,EAAQ,cAEpCqB,EAAe,YACjBA,EAAe,QAAUA,EAAe,SAAW,CAAC,EACpDA,EAAe,QAAQ,qBAAqB,EAAI,SAC5C,IAAI,OAAOA,EAAe,SAAS,EAAE,SAAS,QAAQ,GAG5DC,GAAM,wBAAwB,EAC9B,IAAIC,EAAalB,EAAK,QAAQgB,CAAc,EAC5CE,EAAW,4BAA8B,GACzCA,EAAW,KAAK,WAAYC,CAAU,EACtCD,EAAW,KAAK,UAAWE,CAAS,EACpCF,EAAW,KAAK,UAAWG,CAAS,EACpCH,EAAW,KAAK,QAASI,CAAO,EAChCJ,EAAW,IAAI,EAEf,SAASC,EAAWI,EAAK,CAEvBA,EAAI,QAAU,EAChB,CAHSzB,EAAAqB,EAAA,cAKT,SAASC,EAAUG,EAAKtB,EAAQuB,EAAM,CAEpC,QAAQ,SAAS,UAAW,CAC1BH,EAAUE,EAAKtB,EAAQuB,CAAI,CAC7B,CAAC,CACH,CALS1B,EAAAsB,EAAA,aAOT,SAASC,EAAUE,EAAKtB,EAAQuB,EAAM,CAIpC,GAHAN,EAAW,mBAAmB,EAC9BjB,EAAO,mBAAmB,EAEtBsB,EAAI,aAAe,IAAK,CAC1BN,GAAM,2DACJM,EAAI,UAAU,EAChBtB,EAAO,QAAQ,EACf,IAAIwB,EAAQ,IAAI,MAAM,yDACJF,EAAI,UAAU,EAChCE,EAAM,KAAO,aACb9B,EAAQ,QAAQ,KAAK,QAAS8B,CAAK,EACnCzB,EAAK,aAAae,CAAW,EAC7B,MACF,CACA,GAAIS,EAAK,OAAS,EAAG,CACnBP,GAAM,sCAAsC,EAC5ChB,EAAO,QAAQ,EACf,IAAIwB,EAAQ,IAAI,MAAM,sCAAsC,EAC5DA,EAAM,KAAO,aACb9B,EAAQ,QAAQ,KAAK,QAAS8B,CAAK,EACnCzB,EAAK,aAAae,CAAW,EAC7B,MACF,CACA,OAAAE,GAAM,sCAAsC,EAC5CjB,EAAK,QAAQA,EAAK,QAAQ,QAAQe,CAAW,CAAC,EAAId,EAC3Ca,EAAGb,CAAM,CAClB,CA3BSH,EAAAuB,EAAA,aA6BT,SAASC,EAAQI,EAAO,CACtBR,EAAW,mBAAmB,EAE9BD,GAAM;AAAA,EACAS,EAAM,QAASA,EAAM,KAAK,EAChC,IAAID,EAAQ,IAAI,MAAM,oDACWC,EAAM,OAAO,EAC9CD,EAAM,KAAO,aACb9B,EAAQ,QAAQ,KAAK,QAAS8B,CAAK,EACnCzB,EAAK,aAAae,CAAW,CAC/B,CAVSjB,EAAAwB,EAAA,UAWX,EAnFwC,gBAqFxCzB,GAAe,UAAU,aAAeC,EAAA,SAAsBG,EAAQ,CACpE,IAAI0B,EAAM,KAAK,QAAQ,QAAQ1B,CAAM,EACrC,GAAI0B,IAAQ,GAGZ,MAAK,QAAQ,OAAOA,EAAK,CAAC,EAE1B,IAAInB,EAAU,KAAK,SAAS,MAAM,EAC9BA,GAGF,KAAK,aAAaA,EAAS,SAASP,EAAQ,CAC1CO,EAAQ,QAAQ,SAASP,CAAM,CACjC,CAAC,EAEL,EAfwC,gBAiBxC,SAASF,GAAmBJ,EAASmB,EAAI,CACvC,IAAId,EAAO,KACXH,GAAe,UAAU,aAAa,KAAKG,EAAML,EAAS,SAASM,EAAQ,CACzE,IAAI2B,EAAajC,EAAQ,QAAQ,UAAU,MAAM,EAC7CkC,EAAanB,GAAa,CAAC,EAAGV,EAAK,QAAS,CAC9C,OAAQC,EACR,WAAY2B,EAAaA,EAAW,QAAQ,OAAQ,EAAE,EAAIjC,EAAQ,IACpE,CAAC,EAGGmC,EAAe7C,IAAI,QAAQ,EAAG4C,CAAU,EAC5C7B,EAAK,QAAQA,EAAK,QAAQ,QAAQC,CAAM,CAAC,EAAI6B,EAC7ChB,EAAGgB,CAAY,CACjB,CAAC,CACH,CAdShC,EAAAC,GAAA,sBAiBT,SAASM,GAAUH,EAAMC,EAAMC,EAAc,CAC3C,OAAI,OAAOF,GAAS,SACX,CACL,KAAMA,EACN,KAAMC,EACN,aAAcC,CAChB,EAEKF,CACT,CATSJ,EAAAO,GAAA,aAWT,SAASK,GAAaqB,EAAQ,CAC5B,QAASzB,EAAI,EAAGC,EAAM,UAAU,OAAQD,EAAIC,EAAK,EAAED,EAAG,CACpD,IAAI0B,EAAY,UAAU1B,CAAC,EAC3B,GAAI,OAAO0B,GAAc,SAEvB,QADIC,EAAO,OAAO,KAAKD,CAAS,EACvBE,EAAI,EAAGC,EAASF,EAAK,OAAQC,EAAIC,EAAQ,EAAED,EAAG,CACrD,IAAIE,EAAIH,EAAKC,CAAC,EACVF,EAAUI,CAAC,IAAM,SACnBL,EAAOK,CAAC,EAAIJ,EAAUI,CAAC,EAE3B,CAEJ,CACA,OAAOL,CACT,CAdSjC,EAAAY,GAAA,gBAiBT,IAAIO,GACA,QAAQ,IAAI,YAAc,aAAa,KAAK,QAAQ,IAAI,UAAU,EACpEA,GAAQnB,EAAA,UAAW,CACjB,IAAIuC,EAAO,MAAM,UAAU,MAAM,KAAK,SAAS,EAC3C,OAAOA,EAAK,CAAC,GAAM,SACrBA,EAAK,CAAC,EAAI,WALine truncated
"names": ["require_tunnel", "__commonJSMin", "exports", "net", "tls", "http", "https", "events", "assert", "util", "httpOverHttp", "httpsOverHttp", "httpOverHttps", "httpsOverHttps", "options", "agent", "TunnelingAgent", "__name", "createSecureSocket", "self", "socket", "host", "port", "localAddress", "toOptions", "i", "len", "pending", "req", "mergeOptions", "onFree", "onCloseOrRemove", "err", "cb", "placeholder", "connectOptions", "debug", "connectReq", "onResponse", "onUpgrade", "onConnect", "onError", "res", "head", "error", "cause", "pos", "hostHeader", "tlsOptions", "secureSocket", "target", "overrides", "keys", "j", "keyLen", "k", "args", "require_tunnel", "__commonJSMin", "exports", "module", "require_symbols", "__commonJSMin", "exports", "module", "require_errors", "__commonJSMin", "exports", "module", "kUndiciError", "UndiciError", "__name", "message", "instance", "kConnectTimeoutError", "ConnectTimeoutError", "kHeadersTimeoutError", "HeadersTimeoutError", "kHeadersOverflowError", "HeadersOverflowError", "kBodyTimeoutError", "BodyTimeoutError", "kResponseStatusCodeError", "ResponseStatusCodeError", "statusCode", "headers", "body", "kInvalidArgumentError", "InvalidArgumentError", "kInvalidReturnValueError", "InvalidReturnValueError", "kAbortError", "AbortError", "kRequestAbortedError", "RequestAbortedError", "kInformationalError", "InformationalError", "kRequestContentLengthMismatchError", "RequestContentLengthMismatchError", "kResponseContentLengthMismatchError", "ResponseContentLengthMismatchError", "kClientDestroyedError", "ClientDestroyedError", "kClientClosedError", "ClientClosedError", "kSocketError", "SocketError", "socket", "kNotSupportedError", "NotSupportedError", "kBalancedPoolMissingUpstreamError", "BalancedPoolMissingUpstreamError", "kHTTPParserError", "HTTPParserError", "code", "data", "kResponseExceededMaxSizeError", "ResponseExceededMaxSizeError", "kRequestRetryError", "RequestRetryError", "kResponseError", "ResponseError", "kSecureProxyConnectionError", "SecureProxyConnectionError", "cause", "options", "kMessageSizeExceededError", "MessageSizeExceededError", "require_constants", "__commonJSMin", "exports", "module", "headerNameLowerCasedRecord", "wellknownHeaderNames", "i", "key", "lowerCasedKey", "require_tree", "__commonJSMin", "exports", "module", "wellknownHeaderNames", "headerNameLowerCasedRecord", "TstNode", "_TstNode", "__name", "key", "value", "index", "length", "node", "code", "keylength", "TernarySearchTree", "tree", "i", "require_util", "__commonJSMin", "exports", "module", "assert", "kDestroyed", "kBodyUsed", "kListeners", "kBody", "IncomingMessage", "stream", "net", "Blob", "nodeUtil", "stringify", "EE", "InvalidArgumentError", "headerNameLowerCasedRecord", "tree", "nodeMajor", "nodeMinor", "v", "BodyAsyncIterable", "__name", "body", "wrapRequestBody", "isStream", "bodyLength", "isIterable", "nop", "obj", "isBlobLike", "object", "sTag", "buildURL", "url", "queryParams", "stringified", "isValidPort", "port", "value", "isHttpOrHttpsPrefixed", "parseURL", "origin", "path", "parseOrigin", "getHostname", "host", "idx", "getServerName", "servername", "deepClone", "isAsyncIterable", "state", "isBuffer", "isDestroyed", "destroy", "err", "KEEPALIVE_TIMEOUT_EXPR", "parseKeepAliveTimeout", "val", "m", "headerNameToString", "bufferToLowerCasedHeaderName", "parseHeaders", "headers", "i", "key", "headersValue", "x", "parseRawHeaders", "len", "ret", "hasContentLength", "contentDispositionIdx", "kLen", "n", "buffer", "validateHandler", "handler", "method", "upgrade", "isDisturbed", "isErrored", "isReadable", "getSocketInfo", "socket", "ReadableStreamFrom", "iterable", "iterator", "controller", "done", "buf", "reason", "isFormDataLike", "addAbortListener", "signal", "listener", "hasToWellFormed", "hasIsWellFormed", "toUSVString", "isUSVString", "isTokenCharCode", "c", "isValidHTTPToken", "characters", "headerCharRegex", "isValidHeaderValue", "parseRangeHeader", "range", "addListener", "name", "removeAllListeners", "errorRequest", "client", "request", "kEnumerableProperty", "normalizedMethodRecordsBase", "normalizedMethodRecords", "require_diagnostics", "__commonJSMin", "exports", "module", "diagnosticsChannel", "util", "undiciDebugLog", "fetchDebuglog", "websocketDebuglog", "isClientSet", "channels", "debuglog", "evt", "version", "protocol", "port", "host", "error", "method", "path", "origin", "statusCode", "address", "websocket", "code", "reason", "err", "require_request", "__commonJSMin", "exports", "module", "InvalidArgumentError", "NotSupportedError", "assert", "isValidHTTPToken", "isValidHeaderValue", "isStream", "destroy", "isBuffer", "isFormDataLike", "isIterable", "isBlobLike", "buildURL", "validateHandler", "getServerName", "normalizedMethodRecords", "channels", "headerNameLowerCasedRecord", "invalidPathRegex", "kHandler", "Request", "__name", "origin", "path", "method", "body", "headers", "query", "idempotent", "blocking", "upgrade", "headersTimeout", "bodyTimeout", "resetLine truncated
}
Generated Vendored
+18 -666
View File
@@ -3,11 +3,10 @@ https://www.npmjs.com/package/generate-license-file
The following npm packages may be included in this product:
- @sigstore/bundle@4.0.0
- @sigstore/core@3.2.1
- @sigstore/bundle@5.0.0
- @sigstore/core@4.0.1
- @sigstore/protobuf-specs@0.5.0
- @sigstore/sign@4.1.1
- @sigstore/tuf@4.0.2
- @sigstore/tuf@5.0.0
These packages each contain the following license:
@@ -217,7 +216,7 @@ Apache License
The following npm package may be included in this product:
- @docker/actions-toolkit@0.91.0
- @docker/actions-toolkit@0.100.0
This package contains the following license:
@@ -1793,7 +1792,7 @@ SOFTWARE.
The following npm package may be included in this product:
- js-yaml@4.1.1
- js-yaml@5.4.2
This package contains the following license:
@@ -1821,46 +1820,11 @@ THE SOFTWARE.
-----------
The following npm package may be included in this product:
- negotiator@1.0.0
This package contains the following license:
(The MIT License)
Copyright (c) 2012-2014 Federico Romero
Copyright (c) 2012-2014 Isaac Z. Schlueter
Copyright (c) 2014-2015 Douglas Christopher Wilson
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
'Software'), to deal in the Software without restriction, including
without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Software, and to
permit persons to whom the Software is furnished to do so, subject to
the following conditions:
The above copyright notice and this permission notice shall be
included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-----------
The following npm packages may be included in this product:
- agent-base@7.1.1
- agent-base@7.1.4
- https-proxy-agent@7.0.4
- https-proxy-agent@7.0.6
- socks-proxy-agent@8.0.3
These packages each contain the following license:
@@ -2061,10 +2025,8 @@ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH RE
The following npm packages may be included in this product:
- lru-cache@11.2.6
- minipass@7.1.3
- path-scurry@1.11.1
- path-scurry@2.0.2
These packages each contain the following license:
@@ -2129,7 +2091,7 @@ software or this license, under any kind of legal claim.***
The following npm packages may be included in this product:
- jackspeak@3.4.3
- minimatch@10.2.4
- minimatch@10.2.5
These packages each contain the following license:
@@ -2237,35 +2199,6 @@ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLI
-----------
The following npm package may be included in this product:
- @npmcli/fs@5.0.0
This package contains the following license:
<!-- This file is automatically added by @npmcli/template-oss. Do not edit. -->
ISC License
Copyright npm, Inc.
Permission to use, copy, modify, and/or distribute this
software for any purpose with or without fee is hereby
granted, provided that the above copyright notice and this
permission notice appear in all copies.
THE SOFTWARE IS PROVIDED "AS IS" AND NPM DISCLAIMS ALL
WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO
EVENT SHALL NPM BE LIABLE FOR ANY SPECIAL, DIRECT,
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE
USE OR PERFORMANCE OF THIS SOFTWARE.
-----------
The following npm package may be included in this product:
- argparse@2.0.1
@@ -2561,12 +2494,11 @@ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-----------
The following npm packages may be included in this product:
The following npm package may be included in this product:
- glob@13.0.6
- package-json-from-dist@1.0.1
These packages each contain the following license:
This package contains the following license:
All packages under `src/` are licensed according to the terms in
their respective `LICENSE` or `LICENSE.md` files.
@@ -2700,7 +2632,7 @@ END OF TERMS AND CONDITIONS
The following npm package may be included in this product:
- @sigstore/verify@3.1.1
- @sigstore/verify@4.1.2
This package contains the following license:
@@ -2708,39 +2640,6 @@ Apache-2.0
-----------
The following npm package may be included in this product:
- sprintf-js@1.1.3
This package contains the following license:
Copyright (c) 2007-present, Alexandru Mărășteanu <hello@alexei.ro>
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in the
documentation and/or other materials provided with the distribution.
* Neither the name of this software nor the names of its contributors may be
used to endorse or promote products derived from this software without
specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR
ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-----------
The following npm package may be included in this product:
- async@3.2.5
@@ -2769,63 +2668,6 @@ THE SOFTWARE.
-----------
The following npm package may be included in this product:
- iconv-lite@0.7.2
This package contains the following license:
Copyright (c) 2011 Alexander Shtuchkin
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
"Software"), to deal in the Software without restriction, including
without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Software, and to
permit persons to whom the Software is furnished to do so, subject to
the following conditions:
The above copyright notice and this permission notice shall be
included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-----------
The following npm package may be included in this product:
- ip-address@9.0.5
This package contains the following license:
Copyright (C) 2011 by Beau Gunderson
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
-----------
The following npm package may be included in this product:
- @gar/promise-retry@1.0.3
@@ -3037,34 +2879,6 @@ OTHER DEALINGS IN THE SOFTWARE.
-----------
The following npm package may be included in this product:
- @gar/promise-retry@1.0.2
This package contains the following license:
Copyright (c) 2014 IndigoUnited
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is furnished
to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
-----------
The following npm package may be included in this product:
- archiver-utils@5.0.2
@@ -3311,24 +3125,6 @@ THE SOFTWARE.
-----------
The following npm package may be included in this product:
- http-cache-semantics@4.1.1
This package contains the following license:
Copyright 2016-2018 Kornel Lesiński
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-----------
The following npm packages may be included in this product:
- emoji-regex@8.0.0
@@ -3388,20 +3184,6 @@ IN THE SOFTWARE.
-----------
The following npm package may be included in this product:
- unique-filename@5.0.0
This package contains the following license:
Copyright npm, Inc
Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies.
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-----------
The following npm package may be included in this product:
- lodash@4.18.1
@@ -3458,183 +3240,12 @@ terms above.
-----------
The following npm package may be included in this product:
- @npmcli/agent@4.0.0
This package contains the following license:
ISC
-----------
The following npm package may be included in this product:
- cacache@20.0.3
This package contains the following license:
ISC License
Copyright (c) npm, Inc.
Permission to use, copy, modify, and/or distribute this software for
any purpose with or without fee is hereby granted, provided that the
above copyright notice and this permission notice appear in all copies.
THE SOFTWARE IS PROVIDED "AS IS" AND THE COPYRIGHT HOLDER DISCLAIMS
ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED
WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE
COPYRIGHT HOLDER BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR
CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS
OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE
USE OR PERFORMANCE OF THIS SOFTWARE.
-----------
The following npm packages may be included in this product:
- make-fetch-happen@15.0.4
- make-fetch-happen@15.0.6
These packages each contain the following license:
ISC License
Copyright 2017-2022 (c) npm, Inc.
Permission to use, copy, modify, and/or distribute this software for
any purpose with or without fee is hereby granted, provided that the
above copyright notice and this permission notice appear in all copies.
THE SOFTWARE IS PROVIDED "AS IS" AND THE COPYRIGHT HOLDER DISCLAIMS
ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED
WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE
COPYRIGHT HOLDER BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR
CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS
OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE
USE OR PERFORMANCE OF THIS SOFTWARE.
-----------
The following npm package may be included in this product:
- ssri@13.0.1
This package contains the following license:
ISC License
Copyright 2021 (c) npm, Inc.
Permission to use, copy, modify, and/or distribute this software for
any purpose with or without fee is hereby granted, provided that the
above copyright notice and this permission notice appear in all copies.
THE SOFTWARE IS PROVIDED "AS IS" AND THE COPYRIGHT HOLDER DISCLAIMS
ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED
WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE
COPYRIGHT HOLDER BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR
CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS
OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE
USE OR PERFORMANCE OF THIS SOFTWARE.
-----------
The following npm package may be included in this product:
- jsbn@1.1.0
This package contains the following license:
Licensing
---------
This software is covered under the following copyright:
/*
* Copyright (c) 2003-2005 Tom Wu
* All Rights Reserved.
*
* Permission is hereby granted, free of charge, to any person obtaining
* a copy of this software and associated documentation files (the
* "Software"), to deal in the Software without restriction, including
* without limitation the rights to use, copy, modify, merge, publish,
* distribute, sublicense, and/or sell copies of the Software, and to
* permit persons to whom the Software is furnished to do so, subject to
* the following conditions:
*
* The above copyright notice and this permission notice shall be
* included in all copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS-IS" AND WITHOUT WARRANTY OF ANY KIND,
* EXPRESS, IMPLIED OR OTHERWISE, INCLUDING WITHOUT LIMITATION, ANY
* WARRANTY OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.
*
* IN NO EVENT SHALL TOM WU BE LIABLE FOR ANY SPECIAL, INCIDENTAL,
* INDIRECT OR CONSEQUENTIAL DAMAGES OF ANY KIND, OR ANY DAMAGES WHATSOEVER
* RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER OR NOT ADVISED OF
* THE POSSIBILITY OF DAMAGE, AND ON ANY THEORY OF LIABILITY, ARISING OUT
* OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*
* In addition, the following condition applies:
*
* All redistributions must retain an intact copy of this copyright notice
* and disclaimer.
*/
Address all questions regarding this license to:
Tom Wu
tjw@cs.Stanford.EDU
-----------
The following npm package may be included in this product:
- minizlib@3.1.0
This package contains the following license:
Minizlib was created by Isaac Z. Schlueter.
It is a derivative work of the Node.js project.
"""
Copyright (c) 2017-2023 Isaac Z. Schlueter and Contributors
Copyright (c) 2017-2023 Node.js contributors. All rights reserved.
Copyright (c) 2017-2023 Joyent, Inc. and other Node contributors. All rights reserved.
Permission is hereby granted, free of charge, to any person obtaining a
copy of this software and associated documentation files (the "Software"),
to deal in the Software without restriction, including without limitation
the rights to use, copy, modify, merge, publish, distribute, sublicense,
and/or sell copies of the Software, and to permit persons to whom the
Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
"""
-----------
The following npm packages may be included in this product:
- @nodable/entities@2.1.0
- binary@0.3.0
- browserify-zlib@0.1.4
- eastasianwidth@0.2.0
- imurmurhash@0.1.4
- is-gzip@1.0.0
- isarray@1.0.0
- xml-naming@0.1.0
@@ -3678,7 +3289,7 @@ USE OR OTHER DEALINGS IN THE SOFTWARE.
The following npm packages may be included in this product:
- brace-expansion@1.1.15
- brace-expansion@1.1.18
- brace-expansion@2.1.1
These packages each contain the following license:
@@ -3828,36 +3439,6 @@ SOFTWARE.
-----------
The following npm package may be included in this product:
- safer-buffer@2.1.2
This package contains the following license:
MIT License
Copyright (c) 2018 Nikita Skovoroda <chalkerx@gmail.com>
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
-----------
The following npm package may be included in this product:
- @octokit/plugin-retry@8.1.0
@@ -3921,8 +3502,8 @@ SOFTWARE.
The following npm packages may be included in this product:
- @tufjs/canonical-json@2.0.0
- @tufjs/models@4.1.0
- tuf-js@4.1.0
- @tufjs/models@5.0.0
- tuf-js@6.0.0
These packages each contain the following license:
@@ -4043,36 +3624,6 @@ SOFTWARE.
-----------
The following npm package may be included in this product:
- @npmcli/redact@4.0.0
This package contains the following license:
MIT License
Copyright (c) 2024 npm
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
-----------
The following npm package may be included in this product:
- fast-xml-builder@1.2.0
@@ -4123,7 +3674,7 @@ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLI
The following npm package may be included in this product:
- undici@6.26.0
- undici@6.27.0
This package contains the following license:
@@ -4156,7 +3707,6 @@ The following npm packages may be included in this product:
- ansi-regex@6.0.1
- ansi-styles@6.2.1
- is-stream@2.0.1
- p-map@7.0.4
- string-width@5.1.2
- strip-ansi@7.1.0
- wrap-ansi@7.0.0
@@ -4537,30 +4087,6 @@ IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-----------
The following npm package may be included in this product:
- minipass@3.3.6
This package contains the following license:
The ISC License
Copyright (c) 2017-2022 npm, Inc., Isaac Z. Schlueter, and Contributors
Permission to use, copy, modify, and/or distribute this software for any
purpose with or without fee is hereby granted, provided that the above
copyright notice and this permission notice appear in all copies.
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR
IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-----------
The following npm package may be included in this product:
- minipass@7.1.0
@@ -4585,54 +4111,6 @@ IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-----------
The following npm package may be included in this product:
- minipass-collect@2.0.1
This package contains the following license:
The ISC License
Copyright (c) 2019-2023 Isaac Z. Schlueter and Contributors
Permission to use, copy, modify, and/or distribute this software for any
purpose with or without fee is hereby granted, provided that the above
copyright notice and this permission notice appear in all copies.
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR
IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-----------
The following npm package may be included in this product:
- proc-log@6.1.0
This package contains the following license:
The ISC License
Copyright (c) GitHub, Inc.
Permission to use, copy, modify, and/or distribute this software for any
purpose with or without fee is hereby granted, provided that the above
copyright notice and this permission notice appear in all copies.
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR
IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-----------
The following npm package may be included in this product:
- inherits@2.0.4
@@ -4659,21 +4137,14 @@ PERFORMANCE OF THIS SOFTWARE.
The following npm packages may be included in this product:
- fs-minipass@3.0.3
- isexe@2.0.0
- lru-cache@6.0.0
- minimatch@3.1.5
- minipass-flush@1.0.5
- minipass-pipeline@1.2.4
- minipass-sized@2.0.0
- once@1.4.0
- semver@7.5.4
- semver@7.7.3
- semver@7.7.4
- semver@7.8.1
- semver@7.8.5
- which@2.0.2
- wrappy@1.0.2
- yallist@4.0.0
These packages each contain the following license:
@@ -4695,30 +4166,6 @@ IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-----------
The following npm package may be included in this product:
- unique-slug@6.0.0
This package contains the following license:
The ISC License
Copyright npm, Inc
Permission to use, copy, modify, and/or distribute this software for any
purpose with or without fee is hereby granted, provided that the above
copyright notice and this permission notice appear in all copies.
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR
IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-----------
The following npm package may be included in this product:
- buffer-crc32@1.0.0
@@ -4813,7 +4260,7 @@ THE SOFTWARE.
The following npm package may be included in this product:
- csv-parse@6.2.1
- csv-parse@7.0.2
This package contains the following license:
@@ -4871,64 +4318,6 @@ THE SOFTWARE.
-----------
The following npm package may be included in this product:
- socks@2.8.3
This package contains the following license:
The MIT License (MIT)
Copyright (c) 2013 Josh Glazebrook
Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to deal in
the Software without restriction, including without limitation the rights to
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
the Software, and to permit persons to whom the Software is furnished to do so,
subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-----------
The following npm package may be included in this product:
- smart-buffer@4.2.0
This package contains the following license:
The MIT License (MIT)
Copyright (c) 2013-2017 Josh Glazebrook
Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to deal in
the Software without restriction, including without limitation the rights to
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
the Software, and to permit persons to whom the Software is furnished to do so,
subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-----------
The following npm package may be included in this product:
- base64-js@1.5.1
@@ -4961,7 +4350,7 @@ THE SOFTWARE.
The following npm package may be included in this product:
- tmp@0.2.6
- tmp@0.2.7
This package contains the following license:
@@ -4997,7 +4386,7 @@ The following npm packages may be included in this product:
- pump@2.0.1
- pumpify@1.5.1
- tar-stream@3.1.7
- tar-stream@3.2.0
- tar-stream@3.2.1
These packages each contain the following license:
@@ -5513,47 +4902,10 @@ THE SOFTWARE.
-----------
The following npm package may be included in this product:
- minipass-fetch@5.0.2
This package contains the following license:
The MIT License (MIT)
Copyright (c) Isaac Z. Schlueter and Contributors
Copyright (c) 2016 David Frank
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
---
Note: This is a derivative work based on "node-fetch" by David Frank,
modified and distributed under the terms of the MIT license above.
https://github.com/bitinn/node-fetch
-----------
The following npm packages may be included in this product:
- @actions/artifact@6.2.1
- @actions/cache@6.0.1
- @actions/cache@6.2.0
- @actions/core@3.0.0
- @actions/core@3.0.1
- @actions/exec@3.0.0
+4 -4
View File
@@ -4,7 +4,7 @@
"type": "module",
"main": "src/main.ts",
"scripts": {
"build": "esbuild src/main.ts --bundle --platform=node --target=node24 --format=cjs --outfile=dist/index.cjs --sourcemap --minify && yarn run license",
"build": "esbuild src/main.ts --bundle --platform=node --target=node24 --format=cjs --outfile=dist/index.cjs --sourcemap --minify --keep-names && yarn run license",
"lint": "eslint --max-warnings=0 .",
"format": "eslint --fix .",
"test": "vitest run",
@@ -21,10 +21,10 @@
],
"author": "Docker Inc.",
"license": "Apache-2.0",
"packageManager": "yarn@4.9.2",
"packageManager": "yarn@4.15.0",
"dependencies": {
"@actions/core": "^3.0.0",
"@docker/actions-toolkit": "^0.91.0"
"@actions/core": "^3.0.1",
"@docker/actions-toolkit": "^0.100.0"
},
"devDependencies": {
"@eslint/js": "^9.39.3",
+286 -250
View File
@@ -2,7 +2,7 @@
# Manual changes might be lost - proceed with caution!
__metadata:
version: 8
version: 10
cacheKey: 10
"@aashutoshrathi/word-wrap@npm:^1.2.3":
@@ -34,9 +34,9 @@ __metadata:
languageName: node
linkType: hard
"@actions/cache@npm:^6.0.1":
version: 6.0.1
resolution: "@actions/cache@npm:6.0.1"
"@actions/cache@npm:^6.2.0":
version: 6.2.0
resolution: "@actions/cache@npm:6.2.0"
dependencies:
"@actions/core": "npm:^3.0.1"
"@actions/exec": "npm:^3.0.0"
@@ -47,7 +47,7 @@ __metadata:
"@azure/storage-blob": "npm:^12.31.0"
"@protobuf-ts/runtime-rpc": "npm:^2.11.1"
semver: "npm:^7.7.4"
checksum: 10/05d2c18210fa3b583765d734e9dce6532c76d271805929608ee35f56dd3064e1d30f007400e3a275f74a7ad3e454cf0051b6eab4f15a9669dac081d811ee9d10
checksum: 10/b2b3d219d3458b6b7e8f47ff6a83a0566f0b3cd5b257e307636d2147f892e595ce8cecbc0675590a57d0eb4d4d73564d08d28753baa50934ad59a65cbee2d8fa
languageName: node
linkType: hard
@@ -437,40 +437,32 @@ __metadata:
languageName: node
linkType: hard
"@docker/actions-toolkit@npm:^0.91.0":
version: 0.91.0
resolution: "@docker/actions-toolkit@npm:0.91.0"
"@docker/actions-toolkit@npm:^0.100.0":
version: 0.100.0
resolution: "@docker/actions-toolkit@npm:0.100.0"
dependencies:
"@actions/artifact": "npm:^6.2.1"
"@actions/cache": "npm:^6.0.1"
"@actions/cache": "npm:^6.2.0"
"@actions/core": "npm:^3.0.1"
"@actions/exec": "npm:^3.0.0"
"@actions/github": "npm:^9.1.1"
"@actions/http-client": "npm:^4.0.1"
"@actions/io": "npm:^3.0.2"
"@actions/tool-cache": "npm:^4.0.0"
"@sigstore/bundle": "npm:^4.0.0"
"@sigstore/sign": "npm:^4.1.1"
"@sigstore/tuf": "npm:^4.0.2"
"@sigstore/verify": "npm:^3.1.1"
"@sigstore/bundle": "npm:^5.0.0"
"@sigstore/tuf": "npm:^5.0.0"
"@sigstore/verify": "npm:^4.1.2"
async-retry: "npm:^1.3.3"
csv-parse: "npm:^6.2.1"
csv-parse: "npm:^7.0.2"
gunzip-maybe: "npm:^1.4.2"
handlebars: "npm:^4.7.9"
he: "npm:^1.2.0"
js-yaml: "npm:^4.1.1"
js-yaml: "npm:^5.4.1"
jwt-decode: "npm:^4.0.0"
semver: "npm:^7.8.1"
tar-stream: "npm:^3.2.0"
tmp: "npm:^0.2.6"
checksum: 10/31ab0d572e716a765fa4db963a342c9c313460839f9a32c06045e07d47dda314e1dbd50f5f3bed7d4e4caa0f9e0b95d28abce3b4d59bfa54cea3f7d9408e5497
languageName: node
linkType: hard
"@esbuild/aix-ppc64@npm:0.27.3":
version: 0.27.3
resolution: "@esbuild/aix-ppc64@npm:0.27.3"
conditions: os=aix & cpu=ppc64
semver: "npm:^7.8.5"
tar-stream: "npm:^3.2.1"
tmp: "npm:^0.2.7"
checksum: 10/74eaa1afb1887ed2974e403870205889844d42eb527550309819fd24b80484b92ebf95ba4ee01eef607b66acd655a8457fc25a6d27ff2f81e842705ff98b1976
languageName: node
linkType: hard
@@ -481,10 +473,10 @@ __metadata:
languageName: node
linkType: hard
"@esbuild/android-arm64@npm:0.27.3":
version: 0.27.3
resolution: "@esbuild/android-arm64@npm:0.27.3"
conditions: os=android & cpu=arm64
"@esbuild/aix-ppc64@npm:0.28.1":
version: 0.28.1
resolution: "@esbuild/aix-ppc64@npm:0.28.1"
conditions: os=aix & cpu=ppc64
languageName: node
linkType: hard
@@ -495,10 +487,10 @@ __metadata:
languageName: node
linkType: hard
"@esbuild/android-arm@npm:0.27.3":
version: 0.27.3
resolution: "@esbuild/android-arm@npm:0.27.3"
conditions: os=android & cpu=arm
"@esbuild/android-arm64@npm:0.28.1":
version: 0.28.1
resolution: "@esbuild/android-arm64@npm:0.28.1"
conditions: os=android & cpu=arm64
languageName: node
linkType: hard
@@ -509,10 +501,10 @@ __metadata:
languageName: node
linkType: hard
"@esbuild/android-x64@npm:0.27.3":
version: 0.27.3
resolution: "@esbuild/android-x64@npm:0.27.3"
conditions: os=android & cpu=x64
"@esbuild/android-arm@npm:0.28.1":
version: 0.28.1
resolution: "@esbuild/android-arm@npm:0.28.1"
conditions: os=android & cpu=arm
languageName: node
linkType: hard
@@ -523,10 +515,10 @@ __metadata:
languageName: node
linkType: hard
"@esbuild/darwin-arm64@npm:0.27.3":
version: 0.27.3
resolution: "@esbuild/darwin-arm64@npm:0.27.3"
conditions: os=darwin & cpu=arm64
"@esbuild/android-x64@npm:0.28.1":
version: 0.28.1
resolution: "@esbuild/android-x64@npm:0.28.1"
conditions: os=android & cpu=x64
languageName: node
linkType: hard
@@ -537,10 +529,10 @@ __metadata:
languageName: node
linkType: hard
"@esbuild/darwin-x64@npm:0.27.3":
version: 0.27.3
resolution: "@esbuild/darwin-x64@npm:0.27.3"
conditions: os=darwin & cpu=x64
"@esbuild/darwin-arm64@npm:0.28.1":
version: 0.28.1
resolution: "@esbuild/darwin-arm64@npm:0.28.1"
conditions: os=darwin & cpu=arm64
languageName: node
linkType: hard
@@ -551,10 +543,10 @@ __metadata:
languageName: node
linkType: hard
"@esbuild/freebsd-arm64@npm:0.27.3":
version: 0.27.3
resolution: "@esbuild/freebsd-arm64@npm:0.27.3"
conditions: os=freebsd & cpu=arm64
"@esbuild/darwin-x64@npm:0.28.1":
version: 0.28.1
resolution: "@esbuild/darwin-x64@npm:0.28.1"
conditions: os=darwin & cpu=x64
languageName: node
linkType: hard
@@ -565,10 +557,10 @@ __metadata:
languageName: node
linkType: hard
"@esbuild/freebsd-x64@npm:0.27.3":
version: 0.27.3
resolution: "@esbuild/freebsd-x64@npm:0.27.3"
conditions: os=freebsd & cpu=x64
"@esbuild/freebsd-arm64@npm:0.28.1":
version: 0.28.1
resolution: "@esbuild/freebsd-arm64@npm:0.28.1"
conditions: os=freebsd & cpu=arm64
languageName: node
linkType: hard
@@ -579,10 +571,10 @@ __metadata:
languageName: node
linkType: hard
"@esbuild/linux-arm64@npm:0.27.3":
version: 0.27.3
resolution: "@esbuild/linux-arm64@npm:0.27.3"
conditions: os=linux & cpu=arm64
"@esbuild/freebsd-x64@npm:0.28.1":
version: 0.28.1
resolution: "@esbuild/freebsd-x64@npm:0.28.1"
conditions: os=freebsd & cpu=x64
languageName: node
linkType: hard
@@ -593,10 +585,10 @@ __metadata:
languageName: node
linkType: hard
"@esbuild/linux-arm@npm:0.27.3":
version: 0.27.3
resolution: "@esbuild/linux-arm@npm:0.27.3"
conditions: os=linux & cpu=arm
"@esbuild/linux-arm64@npm:0.28.1":
version: 0.28.1
resolution: "@esbuild/linux-arm64@npm:0.28.1"
conditions: os=linux & cpu=arm64
languageName: node
linkType: hard
@@ -607,10 +599,10 @@ __metadata:
languageName: node
linkType: hard
"@esbuild/linux-ia32@npm:0.27.3":
version: 0.27.3
resolution: "@esbuild/linux-ia32@npm:0.27.3"
conditions: os=linux & cpu=ia32
"@esbuild/linux-arm@npm:0.28.1":
version: 0.28.1
resolution: "@esbuild/linux-arm@npm:0.28.1"
conditions: os=linux & cpu=arm
languageName: node
linkType: hard
@@ -621,10 +613,10 @@ __metadata:
languageName: node
linkType: hard
"@esbuild/linux-loong64@npm:0.27.3":
version: 0.27.3
resolution: "@esbuild/linux-loong64@npm:0.27.3"
conditions: os=linux & cpu=loong64
"@esbuild/linux-ia32@npm:0.28.1":
version: 0.28.1
resolution: "@esbuild/linux-ia32@npm:0.28.1"
conditions: os=linux & cpu=ia32
languageName: node
linkType: hard
@@ -635,10 +627,10 @@ __metadata:
languageName: node
linkType: hard
"@esbuild/linux-mips64el@npm:0.27.3":
version: 0.27.3
resolution: "@esbuild/linux-mips64el@npm:0.27.3"
conditions: os=linux & cpu=mips64el
"@esbuild/linux-loong64@npm:0.28.1":
version: 0.28.1
resolution: "@esbuild/linux-loong64@npm:0.28.1"
conditions: os=linux & cpu=loong64
languageName: node
linkType: hard
@@ -649,10 +641,10 @@ __metadata:
languageName: node
linkType: hard
"@esbuild/linux-ppc64@npm:0.27.3":
version: 0.27.3
resolution: "@esbuild/linux-ppc64@npm:0.27.3"
conditions: os=linux & cpu=ppc64
"@esbuild/linux-mips64el@npm:0.28.1":
version: 0.28.1
resolution: "@esbuild/linux-mips64el@npm:0.28.1"
conditions: os=linux & cpu=mips64el
languageName: node
linkType: hard
@@ -663,10 +655,10 @@ __metadata:
languageName: node
linkType: hard
"@esbuild/linux-riscv64@npm:0.27.3":
version: 0.27.3
resolution: "@esbuild/linux-riscv64@npm:0.27.3"
conditions: os=linux & cpu=riscv64
"@esbuild/linux-ppc64@npm:0.28.1":
version: 0.28.1
resolution: "@esbuild/linux-ppc64@npm:0.28.1"
conditions: os=linux & cpu=ppc64
languageName: node
linkType: hard
@@ -677,10 +669,10 @@ __metadata:
languageName: node
linkType: hard
"@esbuild/linux-s390x@npm:0.27.3":
version: 0.27.3
resolution: "@esbuild/linux-s390x@npm:0.27.3"
conditions: os=linux & cpu=s390x
"@esbuild/linux-riscv64@npm:0.28.1":
version: 0.28.1
resolution: "@esbuild/linux-riscv64@npm:0.28.1"
conditions: os=linux & cpu=riscv64
languageName: node
linkType: hard
@@ -691,10 +683,10 @@ __metadata:
languageName: node
linkType: hard
"@esbuild/linux-x64@npm:0.27.3":
version: 0.27.3
resolution: "@esbuild/linux-x64@npm:0.27.3"
conditions: os=linux & cpu=x64
"@esbuild/linux-s390x@npm:0.28.1":
version: 0.28.1
resolution: "@esbuild/linux-s390x@npm:0.28.1"
conditions: os=linux & cpu=s390x
languageName: node
linkType: hard
@@ -705,10 +697,10 @@ __metadata:
languageName: node
linkType: hard
"@esbuild/netbsd-arm64@npm:0.27.3":
version: 0.27.3
resolution: "@esbuild/netbsd-arm64@npm:0.27.3"
conditions: os=netbsd & cpu=arm64
"@esbuild/linux-x64@npm:0.28.1":
version: 0.28.1
resolution: "@esbuild/linux-x64@npm:0.28.1"
conditions: os=linux & cpu=x64
languageName: node
linkType: hard
@@ -719,10 +711,10 @@ __metadata:
languageName: node
linkType: hard
"@esbuild/netbsd-x64@npm:0.27.3":
version: 0.27.3
resolution: "@esbuild/netbsd-x64@npm:0.27.3"
conditions: os=netbsd & cpu=x64
"@esbuild/netbsd-arm64@npm:0.28.1":
version: 0.28.1
resolution: "@esbuild/netbsd-arm64@npm:0.28.1"
conditions: os=netbsd & cpu=arm64
languageName: node
linkType: hard
@@ -733,10 +725,10 @@ __metadata:
languageName: node
linkType: hard
"@esbuild/openbsd-arm64@npm:0.27.3":
version: 0.27.3
resolution: "@esbuild/openbsd-arm64@npm:0.27.3"
conditions: os=openbsd & cpu=arm64
"@esbuild/netbsd-x64@npm:0.28.1":
version: 0.28.1
resolution: "@esbuild/netbsd-x64@npm:0.28.1"
conditions: os=netbsd & cpu=x64
languageName: node
linkType: hard
@@ -747,10 +739,10 @@ __metadata:
languageName: node
linkType: hard
"@esbuild/openbsd-x64@npm:0.27.3":
version: 0.27.3
resolution: "@esbuild/openbsd-x64@npm:0.27.3"
conditions: os=openbsd & cpu=x64
"@esbuild/openbsd-arm64@npm:0.28.1":
version: 0.28.1
resolution: "@esbuild/openbsd-arm64@npm:0.28.1"
conditions: os=openbsd & cpu=arm64
languageName: node
linkType: hard
@@ -761,10 +753,10 @@ __metadata:
languageName: node
linkType: hard
"@esbuild/openharmony-arm64@npm:0.27.3":
version: 0.27.3
resolution: "@esbuild/openharmony-arm64@npm:0.27.3"
conditions: os=openharmony & cpu=arm64
"@esbuild/openbsd-x64@npm:0.28.1":
version: 0.28.1
resolution: "@esbuild/openbsd-x64@npm:0.28.1"
conditions: os=openbsd & cpu=x64
languageName: node
linkType: hard
@@ -775,10 +767,10 @@ __metadata:
languageName: node
linkType: hard
"@esbuild/sunos-x64@npm:0.27.3":
version: 0.27.3
resolution: "@esbuild/sunos-x64@npm:0.27.3"
conditions: os=sunos & cpu=x64
"@esbuild/openharmony-arm64@npm:0.28.1":
version: 0.28.1
resolution: "@esbuild/openharmony-arm64@npm:0.28.1"
conditions: os=openharmony & cpu=arm64
languageName: node
linkType: hard
@@ -789,10 +781,10 @@ __metadata:
languageName: node
linkType: hard
"@esbuild/win32-arm64@npm:0.27.3":
version: 0.27.3
resolution: "@esbuild/win32-arm64@npm:0.27.3"
conditions: os=win32 & cpu=arm64
"@esbuild/sunos-x64@npm:0.28.1":
version: 0.28.1
resolution: "@esbuild/sunos-x64@npm:0.28.1"
conditions: os=sunos & cpu=x64
languageName: node
linkType: hard
@@ -803,10 +795,10 @@ __metadata:
languageName: node
linkType: hard
"@esbuild/win32-ia32@npm:0.27.3":
version: 0.27.3
resolution: "@esbuild/win32-ia32@npm:0.27.3"
conditions: os=win32 & cpu=ia32
"@esbuild/win32-arm64@npm:0.28.1":
version: 0.28.1
resolution: "@esbuild/win32-arm64@npm:0.28.1"
conditions: os=win32 & cpu=arm64
languageName: node
linkType: hard
@@ -817,10 +809,10 @@ __metadata:
languageName: node
linkType: hard
"@esbuild/win32-x64@npm:0.27.3":
version: 0.27.3
resolution: "@esbuild/win32-x64@npm:0.27.3"
conditions: os=win32 & cpu=x64
"@esbuild/win32-ia32@npm:0.28.1":
version: 0.28.1
resolution: "@esbuild/win32-ia32@npm:0.28.1"
conditions: os=win32 & cpu=ia32
languageName: node
linkType: hard
@@ -831,6 +823,13 @@ __metadata:
languageName: node
linkType: hard
"@esbuild/win32-x64@npm:0.28.1":
version: 0.28.1
resolution: "@esbuild/win32-x64@npm:0.28.1"
conditions: os=win32 & cpu=x64
languageName: node
linkType: hard
"@eslint-community/eslint-utils@npm:^4.8.0, @eslint-community/eslint-utils@npm:^4.9.1":
version: 4.9.1
resolution: "@eslint-community/eslint-utils@npm:4.9.1"
@@ -928,27 +927,37 @@ __metadata:
languageName: node
linkType: hard
"@gar/promise-retry@npm:^1.0.2":
"@gar/promise-retry@npm:^1.0.2, @gar/promise-retry@npm:^1.0.3":
version: 1.0.3
resolution: "@gar/promise-retry@npm:1.0.3"
checksum: 10/0d13ea3bb1025755e055648f6e290d2a7e0c87affaf552218f09f66b3fcd9ea9d5c9cc5fe2aa6e285e1530437768e40f9448fe9a86f4f3417b216dcf488d3d1a
languageName: node
linkType: hard
"@humanfs/core@npm:^0.19.1":
version: 0.19.1
resolution: "@humanfs/core@npm:0.19.1"
checksum: 10/270d936be483ab5921702623bc74ce394bf12abbf57d9145a69e8a0d1c87eb1c768bd2d93af16c5705041e257e6d9cc7529311f63a1349f3678abc776fc28523
"@humanfs/core@npm:^0.19.2":
version: 0.19.2
resolution: "@humanfs/core@npm:0.19.2"
dependencies:
"@humanfs/types": "npm:^0.15.0"
checksum: 10/c6c0273721ec8df3d36a57c390a11a168d0a2f513d78bceb25165bded4fcb73609b1a317edc6c8f331cefd4b47285dde0b1e6679e08ef7f062232ec14fe05312
languageName: node
linkType: hard
"@humanfs/node@npm:^0.16.6":
version: 0.16.7
resolution: "@humanfs/node@npm:0.16.7"
version: 0.16.8
resolution: "@humanfs/node@npm:0.16.8"
dependencies:
"@humanfs/core": "npm:^0.19.1"
"@humanfs/core": "npm:^0.19.2"
"@humanfs/types": "npm:^0.15.0"
"@humanwhocodes/retry": "npm:^0.4.0"
checksum: 10/b3633d3dce898592cac515ba5e6693c78e6be92863541d3eaf2c009b10f52b2fa62ff6e6e06f240f2447ddbe7b5f1890bc34e9308470675c876eee207553a08d
checksum: 10/ed01b3c066d9cec7526d139b9e71ca00ee4a30b3b5f5f5c198eb069c3509a3e167e180ba7e1e5a83b9571e906c4908bd20402b47586887452311af7354995e95
languageName: node
linkType: hard
"@humanfs/types@npm:^0.15.0":
version: 0.15.0
resolution: "@humanfs/types@npm:0.15.0"
checksum: 10/dea3cc7fd8f8d4d088ed8d0a9921cf12bd8e1cdf40a6133106b03a6e2aebcc9a6f1771b3643b7ec71baae90d08245db34069dfcc861da8d678662741e6c3c986
languageName: node
linkType: hard
@@ -1640,10 +1649,12 @@ __metadata:
languageName: node
linkType: hard
"@sigstore/core@npm:^3.1.0":
version: 3.1.0
resolution: "@sigstore/core@npm:3.1.0"
checksum: 10/c7a2e2d32f52494b40d9c469bc2241cc5d14d5f93fa028f099dcfe403443713f90ef3178684ee11c32e078a4b9fad79500746dfef10f10044c7fa00c909f3760
"@sigstore/bundle@npm:^5.0.0":
version: 5.0.0
resolution: "@sigstore/bundle@npm:5.0.0"
dependencies:
"@sigstore/protobuf-specs": "npm:^0.5.0"
checksum: 10/9d86dd7f8086832fff2a36ce84bd38a895fe951a8848963c1dddf1d0eb4d14394c94626fc53c4173f42be5ee8d7319b593ce3a77491e8b1497349c653decba90
languageName: node
linkType: hard
@@ -1654,6 +1665,13 @@ __metadata:
languageName: node
linkType: hard
"@sigstore/core@npm:^4.0.1":
version: 4.0.1
resolution: "@sigstore/core@npm:4.0.1"
checksum: 10/2d8961554cfa7293a7a506ed950da677f707436042166848d94b5c0558dee62194df3bcbfb31648d78e00aa5f28d1813ca04cccef7fa6ed50544cfbf2feb453b
languageName: node
linkType: hard
"@sigstore/protobuf-specs@npm:^0.5.0":
version: 0.5.0
resolution: "@sigstore/protobuf-specs@npm:0.5.0"
@@ -1661,20 +1679,6 @@ __metadata:
languageName: node
linkType: hard
"@sigstore/sign@npm:^4.1.0":
version: 4.1.0
resolution: "@sigstore/sign@npm:4.1.0"
dependencies:
"@sigstore/bundle": "npm:^4.0.0"
"@sigstore/core": "npm:^3.1.0"
"@sigstore/protobuf-specs": "npm:^0.5.0"
make-fetch-happen: "npm:^15.0.3"
proc-log: "npm:^6.1.0"
promise-retry: "npm:^2.0.1"
checksum: 10/e5441d4cacf0f203f329e96bb7a3ca77682cfdf90d6448ad368344056fd8d55c01742e2b636545d55364490a87988f767f2b23168b2d9cc52ef3d8fe9e9496aa
languageName: node
linkType: hard
"@sigstore/sign@npm:^4.1.1":
version: 4.1.1
resolution: "@sigstore/sign@npm:4.1.1"
@@ -1689,16 +1693,6 @@ __metadata:
languageName: node
linkType: hard
"@sigstore/tuf@npm:^4.0.1":
version: 4.0.1
resolution: "@sigstore/tuf@npm:4.0.1"
dependencies:
"@sigstore/protobuf-specs": "npm:^0.5.0"
tuf-js: "npm:^4.1.0"
checksum: 10/1a9725aa95eba55badf24442fe8a71c6d68f8b7d17a6b2a5e4b5590117f0181881b3485cfa57ea375b7c3a38421dbffdfcbe86e6623d903e17e3a8359837e268
languageName: node
linkType: hard
"@sigstore/tuf@npm:^4.0.2":
version: 4.0.2
resolution: "@sigstore/tuf@npm:4.0.2"
@@ -1709,14 +1703,13 @@ __metadata:
languageName: node
linkType: hard
"@sigstore/verify@npm:^3.1.0":
version: 3.1.0
resolution: "@sigstore/verify@npm:3.1.0"
"@sigstore/tuf@npm:^5.0.0":
version: 5.0.0
resolution: "@sigstore/tuf@npm:5.0.0"
dependencies:
"@sigstore/bundle": "npm:^4.0.0"
"@sigstore/core": "npm:^3.1.0"
"@sigstore/protobuf-specs": "npm:^0.5.0"
checksum: 10/c85713cc326236ef39608e4b061c1192306fd3edd7a1334237d5d53dbb132f04e3f9d3cfd4bb2d521bf0c95a9f98945a748c97ecb06e5f36cfd09488a0d3d73f
tuf-js: "npm:^6.0.0"
checksum: 10/74723623c8383a22f755a1eca03d1c0f481d2624e8c5607422af8fe1d2847b2f478513c471693fdd37b24a7c2a17782cabef592a76431b3a54ab328716510303
languageName: node
linkType: hard
@@ -1731,6 +1724,17 @@ __metadata:
languageName: node
linkType: hard
"@sigstore/verify@npm:^4.1.2":
version: 4.1.2
resolution: "@sigstore/verify@npm:4.1.2"
dependencies:
"@sigstore/bundle": "npm:^5.0.0"
"@sigstore/core": "npm:^4.0.1"
"@sigstore/protobuf-specs": "npm:^0.5.0"
checksum: 10/a888502f3623e03a47939432ecd3ee441258aafbea2b952b32b872d73b5d14c437b49aee7979538c7b7c9673c7d7951d600a4b12b8242a3402fc83ace38bad12
languageName: node
linkType: hard
"@standard-schema/spec@npm:^1.0.0":
version: 1.1.0
resolution: "@standard-schema/spec@npm:1.1.0"
@@ -1755,6 +1759,16 @@ __metadata:
languageName: node
linkType: hard
"@tufjs/models@npm:5.0.0":
version: 5.0.0
resolution: "@tufjs/models@npm:5.0.0"
dependencies:
"@tufjs/canonical-json": "npm:2.0.0"
minimatch: "npm:^10.2.1"
checksum: 10/94946c22b44d1f4c5d493270640af9fc7ad9868ec1450403d68829f9eee7da0626f307b6782e6688f35a8e28845f52f4c0941bb16e77712c353fb35952cfac27
languageName: node
linkType: hard
"@types/chai@npm:^5.2.2":
version: 5.2.3
resolution: "@types/chai@npm:5.2.3"
@@ -2422,12 +2436,12 @@ __metadata:
linkType: hard
"brace-expansion@npm:^1.1.7":
version: 1.1.15
resolution: "brace-expansion@npm:1.1.15"
version: 1.1.18
resolution: "brace-expansion@npm:1.1.18"
dependencies:
balanced-match: "npm:^1.0.0"
concat-map: "npm:0.0.1"
checksum: 10/f2a950034e670523cc186da61aabe3beab74b1b8a7c74a756bf6b172dad1917312f255d9ec46906c9f0cab530868095d8c143918576930dd0e1323c3803850f1
checksum: 10/b55a3c03239b8d2127c7cbb3408c9ad3a556a8c303bf3064df78bfb7c093160fc8f6e0a32e42a850a78eba12f29ccf6ef997690b9acf945d242c56c61c4aa977
languageName: node
linkType: hard
@@ -2763,10 +2777,10 @@ __metadata:
languageName: node
linkType: hard
"csv-parse@npm:^6.2.1":
version: 6.2.1
resolution: "csv-parse@npm:6.2.1"
checksum: 10/7fbde1225c6df6aaea01a202934e1f15ce16ed55e544ead0d066b0c4dc9ae1a2fc881b412889cbf115cd74cbf14ea17388b394e8a31e05cb412dd7dc6114bebd
"csv-parse@npm:^7.0.2":
version: 7.0.2
resolution: "csv-parse@npm:7.0.2"
checksum: 10/66158491d25b2070908c6d28130c1d439bec0e0d1ab3fad372973909e573bcc85a46ca317ae410f0178157f272112e3741b164aaf850d8241128c30ea2137670
languageName: node
linkType: hard
@@ -2814,8 +2828,8 @@ __metadata:
version: 0.0.0-use.local
resolution: "docker-setup-compose@workspace:."
dependencies:
"@actions/core": "npm:^3.0.0"
"@docker/actions-toolkit": "npm:^0.91.0"
"@actions/core": "npm:^3.0.1"
"@docker/actions-toolkit": "npm:^0.100.0"
"@eslint/js": "npm:^9.39.3"
"@types/node": "npm:^24.11.0"
"@typescript-eslint/eslint-plugin": "npm:^8.56.1"
@@ -2925,36 +2939,36 @@ __metadata:
languageName: node
linkType: hard
"esbuild@npm:^0.27.0":
version: 0.27.3
resolution: "esbuild@npm:0.27.3"
"esbuild@npm:^0.27.0 || ^0.28.0":
version: 0.28.1
resolution: "esbuild@npm:0.28.1"
dependencies:
"@esbuild/aix-ppc64": "npm:0.27.3"
"@esbuild/android-arm": "npm:0.27.3"
"@esbuild/android-arm64": "npm:0.27.3"
"@esbuild/android-x64": "npm:0.27.3"
"@esbuild/darwin-arm64": "npm:0.27.3"
"@esbuild/darwin-x64": "npm:0.27.3"
"@esbuild/freebsd-arm64": "npm:0.27.3"
"@esbuild/freebsd-x64": "npm:0.27.3"
"@esbuild/linux-arm": "npm:0.27.3"
"@esbuild/linux-arm64": "npm:0.27.3"
"@esbuild/linux-ia32": "npm:0.27.3"
"@esbuild/linux-loong64": "npm:0.27.3"
"@esbuild/linux-mips64el": "npm:0.27.3"
"@esbuild/linux-ppc64": "npm:0.27.3"
"@esbuild/linux-riscv64": "npm:0.27.3"
"@esbuild/linux-s390x": "npm:0.27.3"
"@esbuild/linux-x64": "npm:0.27.3"
"@esbuild/netbsd-arm64": "npm:0.27.3"
"@esbuild/netbsd-x64": "npm:0.27.3"
"@esbuild/openbsd-arm64": "npm:0.27.3"
"@esbuild/openbsd-x64": "npm:0.27.3"
"@esbuild/openharmony-arm64": "npm:0.27.3"
"@esbuild/sunos-x64": "npm:0.27.3"
"@esbuild/win32-arm64": "npm:0.27.3"
"@esbuild/win32-ia32": "npm:0.27.3"
"@esbuild/win32-x64": "npm:0.27.3"
"@esbuild/aix-ppc64": "npm:0.28.1"
"@esbuild/android-arm": "npm:0.28.1"
"@esbuild/android-arm64": "npm:0.28.1"
"@esbuild/android-x64": "npm:0.28.1"
"@esbuild/darwin-arm64": "npm:0.28.1"
"@esbuild/darwin-x64": "npm:0.28.1"
"@esbuild/freebsd-arm64": "npm:0.28.1"
"@esbuild/freebsd-x64": "npm:0.28.1"
"@esbuild/linux-arm": "npm:0.28.1"
"@esbuild/linux-arm64": "npm:0.28.1"
"@esbuild/linux-ia32": "npm:0.28.1"
"@esbuild/linux-loong64": "npm:0.28.1"
"@esbuild/linux-mips64el": "npm:0.28.1"
"@esbuild/linux-ppc64": "npm:0.28.1"
"@esbuild/linux-riscv64": "npm:0.28.1"
"@esbuild/linux-s390x": "npm:0.28.1"
"@esbuild/linux-x64": "npm:0.28.1"
"@esbuild/netbsd-arm64": "npm:0.28.1"
"@esbuild/netbsd-x64": "npm:0.28.1"
"@esbuild/openbsd-arm64": "npm:0.28.1"
"@esbuild/openbsd-x64": "npm:0.28.1"
"@esbuild/openharmony-arm64": "npm:0.28.1"
"@esbuild/sunos-x64": "npm:0.28.1"
"@esbuild/win32-arm64": "npm:0.28.1"
"@esbuild/win32-ia32": "npm:0.28.1"
"@esbuild/win32-x64": "npm:0.28.1"
dependenciesMeta:
"@esbuild/aix-ppc64":
optional: true
@@ -3010,7 +3024,7 @@ __metadata:
optional: true
bin:
esbuild: bin/esbuild
checksum: 10/aa74b8d8a3ed8e2eea4d8421737b322f4d21215244e8fa2156c6402d49b5bda01343c220196f1e3f830a7ce92b54ef653c6c723a8cc2e912bb4d17b7398b51ae
checksum: 10/aaa4a922644afffac45e735c99caf343f881e2d36abcc6b6fb53c230bd69940504a5bb6b0041bdd1a690e748ebc681d3308a7d178987c523d74c63c2c280bac8
languageName: node
linkType: hard
@@ -3975,13 +3989,24 @@ __metadata:
linkType: hard
"js-yaml@npm:^4.1.0, js-yaml@npm:^4.1.1":
version: 4.1.1
resolution: "js-yaml@npm:4.1.1"
version: 4.3.2
resolution: "js-yaml@npm:4.3.2"
dependencies:
argparse: "npm:^2.0.1"
bin:
js-yaml: bin/js-yaml.js
checksum: 10/a52d0519f0f4ef5b4adc1cde466cb54c50d56e2b4a983b9d5c9c0f2f99462047007a6274d7e95617a21d3c91fde3ee6115536ed70991cd645ba8521058b78f77
checksum: 10/05c44b9c73e4901d92703b155e76518df64bf01ac62e4c036b47de4b391e19b72e32656e8954d51b436307f08cc9d0c0d4ec617d061cf2f65fffee9f3114bee7
languageName: node
linkType: hard
"js-yaml@npm:^5.4.1":
version: 5.4.2
resolution: "js-yaml@npm:5.4.2"
dependencies:
argparse: "npm:^2.0.1"
bin:
js-yaml: bin/js-yaml.mjs
checksum: 10/f2461abd1d6268fb226733f0a0e0aa48004bb824116e3dfa75f1a1279001936343b672066dfecdb852ac3ca883452706c383a760aa90430cb68ba395aa2cbc84
languageName: node
linkType: hard
@@ -4247,7 +4272,7 @@ __metadata:
languageName: node
linkType: hard
"make-fetch-happen@npm:^15.0.1, make-fetch-happen@npm:^15.0.3":
"make-fetch-happen@npm:^15.0.1":
version: 15.0.4
resolution: "make-fetch-happen@npm:15.0.4"
dependencies:
@@ -4293,7 +4318,7 @@ __metadata:
languageName: node
linkType: hard
"minimatch@npm:^10.0.3":
"minimatch@npm:^10.0.3, minimatch@npm:^10.2.1":
version: 10.2.5
resolution: "minimatch@npm:10.2.5"
dependencies:
@@ -4503,12 +4528,12 @@ __metadata:
languageName: node
linkType: hard
"nanoid@npm:^3.3.11":
version: 3.3.11
resolution: "nanoid@npm:3.3.11"
"nanoid@npm:^3.3.16":
version: 3.3.19
resolution: "nanoid@npm:3.3.19"
bin:
nanoid: bin/nanoid.cjs
checksum: 10/73b5afe5975a307aaa3c95dfe3334c52cdf9ae71518176895229b8d65ab0d1c0417dd081426134eb7571c055720428ea5d57c645138161e7d10df80815527c48
checksum: 10/a330adb28dad63eccb0a0c95a2a61353e84b7e067061fff94167803d94be8eef0f7b75cf2da1bece06e8b7afb892abbe52cf0ec33298c817a083eedccd7656e4
languageName: node
linkType: hard
@@ -4921,23 +4946,23 @@ __metadata:
linkType: hard
"postcss-selector-parser@npm:^7.0.0":
version: 7.1.1
resolution: "postcss-selector-parser@npm:7.1.1"
version: 7.1.5
resolution: "postcss-selector-parser@npm:7.1.5"
dependencies:
cssesc: "npm:^3.0.0"
util-deprecate: "npm:^1.0.2"
checksum: 10/bb3c6455b20af26a556e3021e21101d8470252644e673c1612f7348ff8dd41b11321329f0694cf299b5b94863f823480b72d3e2f4bd3a89dc43e2d8c0dbad341
checksum: 10/ae66bbcb5d370a3f4b4660e23a208352a885c651f1b420f7b998faaa1034832b870066f49e295f73ee3da6a6c6312c56fea1b2039969f8d803438fa48232b307
languageName: node
linkType: hard
"postcss@npm:^8.5.6":
version: 8.5.10
resolution: "postcss@npm:8.5.10"
version: 8.5.25
resolution: "postcss@npm:8.5.25"
dependencies:
nanoid: "npm:^3.3.11"
nanoid: "npm:^3.3.16"
picocolors: "npm:^1.1.1"
source-map-js: "npm:^1.2.1"
checksum: 10/7eac6169e535b63c8412e94d4f6047fc23efa3e9dde804b541940043c831b25f1cd867d83cd2c4371ad2450c8abcb42c208aa25668c1f0f3650d7f72faf711a8
checksum: 10/68aaeb314a1b2407e11e926acc0462b01b3e911d3d9e755d06adc5b2ececdefe8432dc3c3c93eacc07138952e17997d4674529061b8e3a338a7ac4c1accfdf98
languageName: node
linkType: hard
@@ -5302,12 +5327,12 @@ __metadata:
languageName: node
linkType: hard
"semver@npm:^7.8.1":
version: 7.8.1
resolution: "semver@npm:7.8.1"
"semver@npm:^7.8.5":
version: 7.8.5
resolution: "semver@npm:7.8.5"
bin:
semver: bin/semver.js
checksum: 10/3244f6c4cb3f8126fea0426d353829ed4967e41e1f4696337c6fdcad87426466fe2badaf49d7dc85849acfc496ea0599432a4aecc33802d2d774e723acfa30e6
checksum: 10/9b01d2ff11e6e4a4539b7ca3c5f280c8704cb397a28504469f2ed4f00ad2194748d756647362a9712fff30984d15772ab7f083108c2fb508e2096ae9e708f22c
languageName: node
linkType: hard
@@ -5349,16 +5374,16 @@ __metadata:
linkType: hard
"sigstore@npm:^4.0.0":
version: 4.1.0
resolution: "sigstore@npm:4.1.0"
version: 4.1.1
resolution: "sigstore@npm:4.1.1"
dependencies:
"@sigstore/bundle": "npm:^4.0.0"
"@sigstore/core": "npm:^3.1.0"
"@sigstore/core": "npm:^3.2.1"
"@sigstore/protobuf-specs": "npm:^0.5.0"
"@sigstore/sign": "npm:^4.1.0"
"@sigstore/tuf": "npm:^4.0.1"
"@sigstore/verify": "npm:^3.1.0"
checksum: 10/7312eed22f82bebcd80a897a163e220bb1df2c084c308d17fb431ff03ef28cf20e3b17312fd8024793dcefa27e794c31174d604a28fc85672a9d6d7f34bbd4a6
"@sigstore/sign": "npm:^4.1.1"
"@sigstore/tuf": "npm:^4.0.2"
"@sigstore/verify": "npm:^3.1.1"
checksum: 10/8fb38bbdc3ee1e79b3f19e0015ebf35b7d7f890673722f182960ec88f02a52f2f631fc983e7f8bafa3a37653a760ddc00277721a8f9159ee6ee311159ca3dfbe
languageName: node
linkType: hard
@@ -5609,15 +5634,15 @@ __metadata:
languageName: node
linkType: hard
"tar-stream@npm:^3.2.0":
version: 3.2.0
resolution: "tar-stream@npm:3.2.0"
"tar-stream@npm:^3.2.1":
version: 3.2.1
resolution: "tar-stream@npm:3.2.1"
dependencies:
b4a: "npm:^1.6.4"
bare-fs: "npm:^4.5.5"
fast-fifo: "npm:^1.2.0"
streamx: "npm:^2.15.0"
checksum: 10/ce57a81521de73ae7a3b7d55a08da50d6771427c249bfa89a208518e48faf5254c8fa7201a8f5419ab8bde9601a74e6dd512b31a13ec89774aec96178f99a8d3
checksum: 10/1a09f857e0789489476d99fb716fa6d209e7d19aa73b7a4b23f40eeba46792d5007ca62fde4fca8f643ed71ace1c526a293c655718a0409275a45a8aa86b562a
languageName: node
linkType: hard
@@ -5717,10 +5742,10 @@ __metadata:
languageName: node
linkType: hard
"tmp@npm:^0.2.6":
version: 0.2.6
resolution: "tmp@npm:0.2.6"
checksum: 10/4ba072821d65f6ec0ae680dd49261bcc66c96a5a463c80ca040747256238aaad68ad5db7aa8367dd1554d22aa77c2988bdb1c5556ecfc4df105f5b73206b7d9b
"tmp@npm:^0.2.7":
version: 0.2.7
resolution: "tmp@npm:0.2.7"
checksum: 10/0a3bc90beb0c6275273c3475fb57e466eaab1c9c4a101d029ff62b18146ce136e7f75d09de34863d9f2c2a492751402508f9e028bc98eb34a1416195d4b15619
languageName: node
linkType: hard
@@ -5772,6 +5797,17 @@ __metadata:
languageName: node
linkType: hard
"tuf-js@npm:^6.0.0":
version: 6.0.0
resolution: "tuf-js@npm:6.0.0"
dependencies:
"@gar/promise-retry": "npm:^1.0.3"
"@tufjs/models": "npm:5.0.0"
debug: "npm:^4.4.3"
checksum: 10/e18e528bb5b848c80ad15b5eb23cf5ff5de65867a8ebe5a97ecb71b4d8c0568251d6f14db05f54b8bf3955d6febf3d3846a4d094953aa59eb4dae9a21905d904
languageName: node
linkType: hard
"tunnel@npm:^0.0.6":
version: 0.0.6
resolution: "tunnel@npm:0.0.6"
@@ -5845,9 +5881,9 @@ __metadata:
linkType: hard
"undici@npm:^6.23.0, undici@npm:^6.25.0":
version: 6.26.0
resolution: "undici@npm:6.26.0"
checksum: 10/a1715ee4304f58fecd61e0a8c3bd7064435cfbc98b3ec1414dba5e89de97d436b7e88dd094b06ff8440428bf36b56163fc88972118890826039865edf58bdfcf
version: 6.27.0
resolution: "undici@npm:6.27.0"
checksum: 10/30c18cdb235edf4dd36f8aa3ace1ffaf44060289a7d62ad44c33180d2d74a224015d25574812f62ce9c625b5beb1b0b766495b650fedf356aca11eed7ce2c816
languageName: node
linkType: hard
@@ -5928,10 +5964,10 @@ __metadata:
linkType: hard
"vite@npm:^6.0.0 || ^7.0.0":
version: 7.3.3
resolution: "vite@npm:7.3.3"
version: 7.3.6
resolution: "vite@npm:7.3.6"
dependencies:
esbuild: "npm:^0.27.0"
esbuild: "npm:^0.27.0 || ^0.28.0"
fdir: "npm:^6.5.0"
fsevents: "npm:~2.3.3"
picomatch: "npm:^4.0.3"
@@ -5978,7 +6014,7 @@ __metadata:
optional: true
bin:
vite: bin/vite.js
checksum: 10/c7fa17bc0aa530313417a28a144edcf910466b936cb192ce2c8cf7d6075e4b8e481b08a55ef71a7486757b03465b054d8c2cb49473d6fc9a0db8ac1dd641edff
checksum: 10/6fcbadb1a409990e1bbd4ff0ff41e763c87049228cdc407984bdca40b96ab32de0f1f70fa62fb1f3ca001a5b90accbbe22ddfad5cc436855058357b3f2141d3b
languageName: node
linkType: hard