Currently, several inputs can be silently ignored without
any warnings. This change will issue a warning for each
ignored input with a short explanation.
Signed-off-by: favonia <favonia@gmail.com>
Since v0.9.0 of BuildKit (BuildX v0.7.0) you can provide a subdirectory
to the default Git context.
Closes#460Closes#528
Signed-off-by: Jim Brännlund <jimbrannlund@fastmail.com>
Fill in title, description and url labels based on the repository information.
Use repository clone URL from `github.event` instead of an undocumented variable.
Fix licenses label to follow SPDX License Expressions.
Signed-off-by: itchyny <itchyny@hatena.ne.jp>
Hi there! We're thrilled that you'd like to contribute to this project. Your help is essential for keeping it great.
Contributions to this project are [released](https://docs.github.com/en/github/site-policy/github-terms-of-service#6-contributions-under-repository-license)
to the public under the [project's open source license](LICENSE).
## Submitting a pull request
1. [Fork](https://github.com/docker/build-push-action/fork) and clone the repository
2. Configure and install the dependencies: `yarn install`
3. Create a new branch: `git checkout -b my-branch-name`
4. Make your changes
5. Make sure the tests pass: `docker buildx bake test`
6. Format code and build javascript artifacts: `docker buildx bake pre-checkin`
7. Validate all code has correctly formatted and built: `docker buildx bake validate`
8. Push to your fork and [submit a pull request](https://github.com/docker/build-push-action/compare)
9. Pat your self on the back and wait for your pull request to be reviewed and merged.
Here are a few things you can do that will increase the likelihood of your pull request being accepted:
- Make sure the `README.md` and any other relevant **documentation are kept up-to-date**.
- We try to follow [SemVer v2.0.0](https://semver.org/). Randomly breaking public APIs is not an option.
- Keep your change as focused as possible. If there are multiple changes you would like to make that are not dependent upon each other, consider submitting them as **separate pull requests**.
- Write a [good commit message](http://tbaggery.com/2008/04/19/a-note-about-git-commit-messages.html).
## Resources
- [How to Contribute to Open Source](https://opensource.guide/how-to-contribute/)
If this is a security issue please report it to the [Docker Security team](mailto:security@docker.com).
Before submitting a bug report, check out the [Troubleshooting doc](https://github.com/docker/build-push-action/blob/master/TROUBLESHOOTING.md).
- type:checkboxes
attributes:
label:Contributing guidelines
description:>
Make sure you've read the contributing guidelines before proceeding.
options:
- label:I've read the [contributing guidelines](https://github.com/docker/build-push-action/blob/master/.github/CONTRIBUTING.md) and wholeheartedly agree
required:true
- type:checkboxes
attributes:
label:"I've found a bug, and:"
description:|
Make sure that your request fulfills all of the following requirements.
If one requirement cannot be satisfied, explain in detail why.
options:
- label:The documentation does not mention anything about my problem
- label:There are no open or closed issues that are related to my problem
- type:textarea
attributes:
label:Description
description:>
Provide a brief description of the bug in 1-2 sentences.
validations:
required:true
- type:textarea
attributes:
label:Expected behaviour
description:>
Describe precisely what you'd expect to happen.
validations:
required:true
- type:textarea
attributes:
label:Actual behaviour
description:>
Describe precisely what is actually happening.
validations:
required:true
- type:input
attributes:
label:Repository URL
description:>
Enter the URL of the repository where you are experiencing the
issue. If your repository is private, provide a link to a minimal
repository that reproduces the issue.
- type:input
attributes:
label:Workflow run URL
description:>
Enter the URL of the GitHub Action workflow run, if public.
- type:textarea
attributes:
label:YAML workflow
description:|
Provide the YAML of the workflow that's causing the issue.
Builds and pushes Docker images and will log in to a Docker registry if required.
## About
Suggestions and issues can be posted on the repositories [issues page](https://github.com/docker/build-push-action/issues).
GitHub Action to build and push Docker images with [Buildx](https://github.com/docker/buildx)
with full support of the features provided by [Moby BuildKit](https://github.com/moby/buildkit)
builder toolkit. This includes multi-platform build, secrets, remote cache, etc.
and different builder deployment/namespacing options.
[Inputs](#Inputs)
* [repository](#repository)
* [username](#username)
* [password](#password)
* [registry](#registry)
* [tags](#tags)
* [tag_with_ref](#tag_with_ref)
* [tag_with_sha](#tag_with_sha)
* [path](#path)
* [dockerfile](#dockerfile)
* [target](#target)
* [always_pull](#always_pull)
* [build_args](#build_args)
* [cache_froms](#cache_froms)
* [labels](#labels)
* [add_git_labels](#add_git_labels)
* [push](#push)

[Example usage](#Example-usage)
___
## Inputs
* [Usage](#usage)
* [Git context](#git-context)
* [Path context](#path-context)
* [Examples](#examples)
* [Summaries](#summaries)
* [Customizing](#customizing)
* [inputs](#inputs)
* [outputs](#outputs)
* [environment variables](#environment-variables)
* [Troubleshooting](#troubleshooting)
* [Contributing](#contributing)
### `repository`
## Usage
**Required** Docker repository to tag the image with.
In the examples below we are also using 3 other actions:
### `username`
* [`setup-buildx`](https://github.com/docker/setup-buildx-action) action will
create and boot a builder using by default the [`docker-container` driver](https://docs.docker.com/build/building/drivers/docker-container/).
This is **not required but recommended** using it to be able to build
multi-platform images, export cache, etc.
* [`setup-qemu`](https://github.com/docker/setup-qemu-action) action can be
useful if you want to add emulation support with QEMU to be able to build
against more platforms.
* [`login`](https://github.com/docker/login-action) action will take care to
log in against a Docker registry.
Username used to log in to a Docker registry. If not set then no login will occur.
### Git context
### `password`
By default, this action uses the [Git context](https://docs.docker.com/engine/reference/commandline/build/#git-repositories),
so you don't need to use the [`actions/checkout`](https://github.com/actions/checkout/)
action to check out the repository as this will be done directly by [BuildKit](https://github.com/moby/buildkit).
Password or personal access token used to log in to a Docker registry. If not set then no login will occur.
### `registry`
Server address of Docker registry. If not set then will default to Docker Hub.
### `tags`
Comma-delimited list of tags. These will be added to the registry/repository to form the image's tags.
Example:
The git reference will be based on the [event that triggered your workflow](https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows)
and will result in the following context: `https://github.com/<owner>/<repo>.git#<ref>`.
```yaml
tags:tag1,tag2
name:ci
on:
push:
jobs:
docker:
runs-on:ubuntu-latest
steps:
-
name:Login to Docker Hub
uses:docker/login-action@v3
with:
username:${{ vars.DOCKERHUB_USERNAME }}
password:${{ secrets.DOCKERHUB_TOKEN }}
-
name:Set up QEMU
uses:docker/setup-qemu-action@v3
-
name:Set up Docker Buildx
uses:docker/setup-buildx-action@v3
-
name:Build and push
uses:docker/build-push-action@v6
with:
push:true
tags:user/app:latest
```
### `tag_with_ref`
Be careful because **any file mutation in the steps that precede the build step
will be ignored, including processing of the `.dockerignore` file** since
the context is based on the Git reference. However, you can use the
[Path context](#path-context) using the [`context` input](#inputs) alongside
the [`actions/checkout`](https://github.com/actions/checkout/) action to remove
this restriction.
Boolean value. Defaults to `false`.
Automatically tags the built image with the git reference. The format of the tag depends on the type of git reference with all forward slashes replaced with `-`.
For pushes to a branch the reference will be `refs/heads/{branch-name}` and the tag will be `{branch-name}`. If `{branch-name}` is master then the tag will be `latest`.
For pull requests the reference will be `refs/pull/{pull-request}` and the tag will be `pr-{pull-request}`.
For git tags the reference will be `refs/tags/{git-tag}` and the tag will be `{git-tag}`.
Examples:
|Git Reference|Image tag|
|---|---|
|`refs/heads/master`|`latest`|
|`refs/heads/mybranch`|`mybranch`|
|`refs/heads/my/branch`|`my-branch`|
|`refs/pull/2/merge`|`pr-2-merge`|
|`refs/tags/v1.0.0`|`v1.0.0`|
### `tag_with_sha`
Boolean value. Defaults to `false`.
Automatically tags the built image with the git short SHA prefixed with `sha-`.
Path to the Dockerfile. Defaults to `{path}/Dockerfile`
Note when set this path is **not** relative to the `path` input but is instead relative to the current working directory.
### `target`
Sets the target stage to build.
### `always_pull`
Boolean value. Defaults to `false`.
Always attempt to pull a newer version of the image.
### `build_args`
Comma-delimited list of build-time variables.
Example:
Default Git context can also be provided using the [Handlebars template](https://handlebarsjs.com/guide/)
expression `{{defaultContext}}`. Here we can use it to provide a subdirectory
to the default Git context:
```yaml
build_args:arg1=value1,arg2=value2
-
name:Build and push
uses:docker/build-push-action@v6
with:
context:"{{defaultContext}}:mysubdir"
push:true
tags:user/app:latest
```
### `cache_froms`
Comma-delimited list of images to consider as cache sources.
Example:
```yaml
cache_froms:myorg/baseimage:latest
```
### `labels`
Comma-delimited list of labels to add to the built image.
Example:
Building from the current repository automatically uses the [GitHub Token](https://docs.github.com/en/actions/security-guides/automatic-token-authentication),
so it does not need to be passed. If you want to authenticate against another
private repository, you have to use a [secret](https://docs.docker.com/build/ci/github-actions/secrets)
named `GIT_AUTH_TOKEN` to be able to authenticate against it with Buildx:
Adds labels with git repository information to the built image based on the standards set out in https://github.com/opencontainers/image-spec/blob/master/annotations.md.
The labels are:
|Label key|Example value|Description|
|---|---|---|
|`org.opencontainers.image.created`|`2020-03-06T23:00:00Z`|Date and time on which the image was built (string, date-time as defined by RFC 3339).|
|`org.opencontainers.image.source`|`https://github.com/myorg/myrepository`|URL to the GitHub repository.|
|`org.opencontainers.image.revision`|`676cae2f85471aeff6776463c72881ebd902dcf9`|The full git SHA of this commit.|
### `push`
Boolean value. Defaults to `true`.
Whether to push the built image.
## Example usage
The following will build the root Dockerfile, tag the image as `myorg/myrepository:latest`, log in to Docker Hub using GitHub secrets, and push the image to the Docker Hub repository `myorg/myrepository`:
### Path context
```yaml
steps:
- name:Checkout code
uses:actions/checkout@v2
name:ci
- name:Build and push Docker images
uses:docker/build-push-action@v1
with:
username:${{ secrets.DOCKER_USERNAME }}
password:${{ secrets.DOCKER_PASSWORD }}
repository:myorg/myrepository
tags:latest
on:
push:
jobs:
docker:
runs-on:ubuntu-latest
steps:
-
name:Checkout
uses:actions/checkout@v5
-
name:Login to Docker Hub
uses:docker/login-action@v3
with:
username:${{ vars.DOCKERHUB_USERNAME }}
password:${{ secrets.DOCKERHUB_TOKEN }}
-
name:Set up QEMU
uses:docker/setup-qemu-action@v3
-
name:Set up Docker Buildx
uses:docker/setup-buildx-action@v3
-
name:Build and push
uses:docker/build-push-action@v6
with:
context:.
push:true
tags:user/app:latest
```
The following will build the root Dockerfile, tag the image with the git reference and SHA as described above, log in to Docker Hub using GitHub secrets, and push the image to the Docker Hub repository `myorg/myrepository`:
The summary also includes a link for downloading the build record with
additional details about the build, including build stats, logs, outputs, and
more. The build record can be imported to Docker Desktop for inspecting the
build in greater detail.
The following builds the `mytarget` stage and pushes that:
```yaml
steps:
- name:Checkout code
uses:actions/checkout@v2
> [!WARNING]
>
> If you're using the [`actions/download-artifact`](https://github.com/actions/download-artifact)
> action in your workflow, you need to ignore the build record artifacts
> if `name` and `pattern` inputs are not specified ([defaults to download all artifacts](https://github.com/actions/download-artifact?tab=readme-ov-file#download-all-artifacts) of the workflow),
> otherwise the action will fail:
> ```yaml
> - uses: actions/download-artifact@v4
> with:
> pattern: "!*.dockerbuild"
> ```
> More info: https://github.com/actions/toolkit/pull/1874
- name:Build and push Docker images
uses:docker/build-push-action@v1
with:
username:${{ secrets.DOCKER_USERNAME }}
password:${{ secrets.DOCKER_PASSWORD }}
repository:myorg/myrepository
tag_with_ref:true
target:mytarget
```
Summaries are enabled by default, but can be disabled with the
The following will build the root Dockerfile, tag the image as `myorg/myrepository:latest`, log in to Google Container Registry using GitHub secrets (where `DOCKER_PASSWORD` is a [JSON key](https://cloud.google.com/container-registry/docs/advanced-authentication#json-key)), and push the image to the GCR repository `myorg/myrepository`:
```yaml
steps:
- name:Checkout code
uses:actions/checkout@v2
For more information about summaries, refer to the
| `build-args` | List | List of [build-time variables](https://docs.docker.com/engine/reference/commandline/buildx_build/#build-arg) |
| `build-contexts` | List | List of additional [build contexts](https://docs.docker.com/engine/reference/commandline/buildx_build/#build-context) (e.g., `name=path`) |
| `cache-from` | List | List of [external cache sources](https://docs.docker.com/engine/reference/commandline/buildx_build/#cache-from) (e.g., `type=local,src=path/to/dir`) |
| `cache-to` | List | List of [cache export destinations](https://docs.docker.com/engine/reference/commandline/buildx_build/#cache-to) (e.g., `type=local,dest=path/to/dir`) |
| `call` | String | Set [method for evaluating build](https://docs.docker.com/reference/cli/docker/buildx/build/#call) (e.g., `check`) |
| `cgroup-parent` | String | Optional [parent cgroup](https://docs.docker.com/engine/reference/commandline/build/#use-a-custom-parent-cgroup---cgroup-parent) for the container used in the build |
| `context` | String | Build's context is the set of files located in the specified [`PATH` or `URL`](https://docs.docker.com/engine/reference/commandline/build/) (default [Git context](#git-context)) |
| `file` | String | Path to the Dockerfile. (default `{context}/Dockerfile`) |
| `labels` | List | List of metadata for an image |
| `load` | Bool | [Load](https://docs.docker.com/engine/reference/commandline/buildx_build/#load) is a shorthand for `--output=type=docker` (default `false`) |
| `network` | String | Set the networking mode for the `RUN` instructions during build |
| `no-cache` | Bool | Do not use cache when building the image (default `false`) |
| `no-cache-filters` | List/CSV | Do not cache specified stages |
| `outputs` | List | List of [output destinations](https://docs.docker.com/engine/reference/commandline/buildx_build/#output) (format: `type=local,dest=path`) |
| `platforms` | List/CSV | List of [target platforms](https://docs.docker.com/engine/reference/commandline/buildx_build/#platform) for build |
| `provenance` | Bool/String | Generate [provenance](https://docs.docker.com/build/attestations/slsa-provenance/) attestation for the build (shorthand for `--attest=type=provenance`) |
| `pull` | Bool | Always attempt to pull all referenced images (default `false`) |
| `push` | Bool | [Push](https://docs.docker.com/engine/reference/commandline/buildx_build/#push) is a shorthand for `--output=type=registry` (default `false`) |
| `sbom` | Bool/String | Generate [SBOM](https://docs.docker.com/build/attestations/sbom/) attestation for the build (shorthand for `--attest=type=sbom`) |
| `secrets` | List | List of [secrets](https://docs.docker.com/engine/reference/commandline/buildx_build/#secret) to expose to the build (e.g., `key=string`, `GIT_AUTH_TOKEN=mytoken`) |
| `secret-envs` | List/CSV | List of [secret env vars](https://docs.docker.com/engine/reference/commandline/buildx_build/#secret) to expose to the build (e.g., `key=envname`, `MY_SECRET=MY_ENV_VAR`) |
| `secret-files` | List | List of [secret files](https://docs.docker.com/engine/reference/commandline/buildx_build/#secret) to expose to the build (e.g., `key=filename`, `MY_SECRET=./secret.txt`) |
| `DOCKER_BUILD_CHECKS_ANNOTATIONS` | Bool | `true` | If `false`, GitHub annotations are not generated for [build checks](https://docs.docker.com/build/checks/) |
| `DOCKER_BUILD_SUMMARY` | Bool | `true` | If `false`, [build summary](https://docs.docker.com/build/ci/github-actions/build-summary/) generation is disabled |
| `DOCKER_BUILD_RECORD_UPLOAD` | Bool | `true` | If `false`, build record upload as [GitHub artifact](https://docs.github.com/en/actions/using-workflows/storing-workflow-data-as-artifacts) is disabled |
| `DOCKER_BUILD_RECORD_RETENTION_DAYS` | Number | | Duration after which build record artifact will expire in days. Defaults to repository/org [retention settings](https://docs.github.com/en/actions/learn-github-actions/usage-limits-billing-and-administration#artifact-and-log-retention-policy) if unset or `0` |
## Troubleshooting
See [TROUBLESHOOTING.md](TROUBLESHOOTING.md)
## Contributing
Want to contribute? Awesome! You can find information about contributing to
this project in the [CONTRIBUTING.md](/.github/CONTRIBUTING.md)
thrownewTypeError(`Expected \`backpressure\` to be an integer from \`concurrency\` (${concurrency}) and up or \`Infinity\`, got \`${backpressure}\` (${typeofbackpressure})`);
{"version":3,"file":"606.index.js","mappings":";;;;;;;;;;;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA","sources":[".././node_modules/p-map/index.js"],"sourcesContent":["export default async function pMap(\n\titerable,\n\tmapper,\n\t{\n\t\tconcurrency = Number.POSITIVE_INFINITY,\n\t\tstopOnError = true,\n\t\tsignal,\n\t} = {},\n) {\n\treturn new Promise((resolve_, reject_) => {\n\t\tif (iterable[Symbol.iterator] === undefined && iterable[Symbol.asyncIterator] === undefined) {\n\t\t\tthrow new TypeError(`Expected \\`input\\` to be either an \\`Iterable\\` or \\`AsyncIterable\\`, got (${typeof iterable})`);\n\t\t}\n\n\t\tif (typeof mapper !== 'function') {\n\t\t\tthrow new TypeError('Mapper function is required');\n\t\t}\n\n\t\tif (!((Number.isSafeInteger(concurrency) && concurrency >= 1) || concurrency === Number.POSITIVE_INFINITY)) {\n\t\t\tthrow new TypeError(`Expected \\`concurrency\\` to be an integer from 1 and up or \\`Infinity\\`, got \\`${concurrency}\\` (${typeof concurrency})`);\n\t\t}\n\n\t\tconst result = [];\n\t\tconst errors = [];\n\t\tconst skippedIndexesMap = new Map();\n\t\tlet isRejected = false;\n\t\tlet isResolved = false;\n\t\tlet isIterableDone = false;\n\t\tlet resolvingCount = 0;\n\t\tlet currentIndex = 0;\n\t\tconst iterator = iterable[Symbol.iterator] === undefined ? iterable[Symbol.asyncIterator]() : iterable[Symbol.iterator]();\n\n\t\tconst signalListener = () => {\n\t\t\treject(signal.reason);\n\t\t};\n\n\t\tconst cleanup = () => {\n\t\t\tsignal?.removeEventListener('abort', signalListener);\n\t\t};\n\n\t\tconst resolve = value => {\n\t\t\tresolve_(value);\n\t\t\tcleanup();\n\t\t};\n\n\t\tconst reject = reason => {\n\t\t\tisRejected = true;\n\t\t\tisResolved = true;\n\t\t\treject_(reason);\n\t\t\tcleanup();\n\t\t};\n\n\t\tif (signal) {\n\t\t\tif (signal.aborted) {\n\t\t\t\treject(signal.reason);\n\t\t\t}\n\n\t\t\tsignal.addEventListener('abort', signalListener, {once: true});\n\t\t}\n\n\t\tconst next = async () => {\n\t\t\tif (isResolved) {\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\tconst nextItem = await iterator.next();\n\n\t\t\tconst index = currentIndex;\n\t\t\tcurrentIndex++;\n\n\t\t\t// Note: `iterator.next()` can be called many times in parallel.\n\t\t\t// This can cause multiple calls to this `next()` function to\n\t\t\t// receive a `nextItem` with `done === true`.\n\t\t\t// The shutdown logic that rejects/resolves must be protected\n\t\t\t// so it runs only one time as the `skippedIndex` logic is\n\t\t\t// non-idempotent.\n\t\t\tif (nextItem.done) {\n\t\t\t\tisIterableDone = true;\n\n\t\t\t\tif (resolvingCount === 0 && !isResolved) {\n\t\t\t\t\tif (!stopOnError && errors.length > 0) {\n\t\t\t\t\t\treject(new AggregateError(errors)); // eslint-disable-line unicorn/error-message\n\t\t\t\t\t\treturn;\n\t\t\t\t\t}\n\n\t\t\t\t\tisResolved = true;\n\n\t\t\t\t\tif (skippedIndexesMap.size === 0) {\n\t\t\t\t\t\tresolve(result);\n\t\t\t\t\t\treturn;\n\t\t\t\t\t}\n\n\t\t\t\t\tconst pureResult = [];\n\n\t\t\t\t\t// Support multiple `pMapSkip`'s.\n\t\t\t\t\tfor (const [index, value] of result.entries()) {\n\t\t\t\t\t\tif (skippedIndexesMap.get(index) === pMapSkip) {\n\t\t\t\t\t\t\tcontinue;\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\tpureResult.push(value);\n\t\t\t\t\t}\n\n\t\t\t\t\tresolve(pureResult);\n\t\t\t\t}\n\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\tresolvingCount++;\n\n\t\t\t// Intentionally detached\n\t\t\t(async () => {\n\t\t\t\ttry {\n\t\t\t\t\tconst element = await nextItem.value;\n\n\t\t\t\t\tif (isResolved) {\n\t\t\t\t\t\treturn;\n\t\t\t\t\t}\n\n\t\t\t\t\tconst value = await mapper(element, index);\n\n\t\t\t\t\t// Use Map to stage the index of the elemeLine truncated
varg=p(50549);varA={};varvending=function(i,u){returnvending.create(i,u)};vending.create=function(i,u){if(A[i]){varp=newg(i,u);p.setFormat(i);p.setModule(newA[i](u));returnp}else{thrownewError("create("+i+"): format not registered")}};vending.registerFormat=function(i,u){if(A[i]){thrownewError("register("+i+"): format already registered")}if(typeofu!=="function"){thrownewError("register("+i+"): format module invalid")}if(typeofu.prototype.append!=="function"||typeofu.prototype.finalize!=="function"){thrownewError("register("+i+"): format module missing methods")}A[i]=u};vending.isRegisteredFormat=function(i){if(A[i]){returntrue}returnfalse};vending.registerFormat("zip",p(22836));vending.registerFormat("tar",p(10396));vending.registerFormat("json",p(54693));i.exports=vending},50549:(i,u,p)=>{
varg=p(39023);constA={ABORTED:"archive was aborted",DIRECTORYDIRPATHREQUIRED:"diretory dirpath argument must be a non-empty string value",DIRECTORYFUNCTIONINVALIDDATA:"invalid data returned by directory custom data function",ENTRYNAMEREQUIRED:"entry name must be a non-empty string value",FILEFILEPATHREQUIRED:"file filepath argument must be a non-empty string value",FINALIZING:"archive already finalizing",QUEUECLOSED:"queue closed",NOENDMETHOD:"no suitable finalize/end method defined by module",DIRECTORYNOTSUPPORTED:"support for directory entries not defined by module",FORMATSET:"archive format already set",INPUTSTEAMBUFFERREQUIRED:"input source must be valid Stream or Buffer instance",MODULESET:"module already set",SYMLINKNOTSUPPORTED:"support for symlink entries not defined by module",SYMLINKFILEPATHREQUIRED:"symlink filepath argument must be a non-empty string value",SYMLINKTARGETREQUIRED:"symlink target argument must be a non-empty string value",ENTRYNOTSUPPORTED:"entry not supported"};functionArchiverError(i,u){Error.captureStackTrace(this,this.constructor);this.message=A[i]||i;this.code=i;this.data=u}g.inherits(ArchiverError,Error);u=i.exports=ArchiverError},54693:(i,u,p)=>{
varg=p(41622);varA=p(53296);varZip=function(i){if(!(thisinstanceofZip)){returnnewZip(i)}i=this.options=A.defaults(i,{comment:"",forceUTC:false,namePrependSlash:false,store:false});this.supports={directory:true,symlink:true};this.engine=newg(i)};Zip.prototype.append=function(i,u,p){this.engine.entry(i,u,p)};Zip.prototype.finalize=function(){this.engine.finalize()};Zip.prototype.on=function(){returnthis.engine.on.apply(this.engine,arguments)};Zip.prototype.pipe=function(){returnthis.engine.pipe.apply(this.engine,arguments)};Zip.prototype.unpipe=function(){returnthis.engine.unpipe.apply(this.engine,arguments)};i.exports=Zip},97329:function(i,u){(function(i,p){true?p(u):0})(this,(function(i){"use strict";functionapply(i,...u){return(...p)=>i(...u,...p)}functioninitialParams(i){returnfunction(...u){varp=u.pop();returni.call(this,u,p)}}varu=typeofqueueMicrotask==="function"&&queueMicrotask;varp=typeofsetImmediate==="function"&&setImmediate;varg=typeofprocess==="object"&&typeofprocess.nextTick==="function";functionfallback(i){setTimeout(i,0)}functionwrap(i){return(u,...p)=>i((()=>u(...p)))}varA;if(u){A=queueMicrotask}elseif(p){A=setImmediate}elseif(g){A=process.nextTick}else{A=fallback}varw=wrap(A);functionasyncify(i){if(isAsync(i)){returnfunction(...u){constp=u.pop();constg=i.apply(this,u);returnhandlePromise(g,p)}}returninitialParams((function(u,p){varg;try{g=i.apply(this,u)}catch(i){returnp(i)}if(g&&typeofg.then==="function"){returnhandlePromise(g,p)}else{p(null,g)}}))}functionhandlePromise(i,u){returni.then((i=>{invokeCallback(u,null,i)}),(i=>{invokeCallback(u,i&&(iinstanceofError||i.message)?i:newError(i))}))}functioninvokeCallback(i,u,p){try{i(u,p)}catch(i){w((i=>{throwi}),i)}}functionisAsync(i){returni[Symbol.toStringTag]==="AsyncFunction"}functionisAsyncGenerator(i){returni[Symbol.toStringTag]==="AsyncGenerator"}functionisAsyncIterable(i){returntypeofi[Symbol.asyncIterator]==="function"}functionwrapAsync(i){if(typeofi!=="function")thrownewError("expected a function");returnisAsync(i)?asyncify(i):i}functionawaitify(i,u){if(!u)u=i.length;if(!u)thrownewError("arity is undefined");functionawaitable(...p){if(typeofp[u-1]==="function"){returni.apply(this,p)}returnnewPromise(((g,A)=>{p[u-1]=(i,...u)=>{if(i)returnA(i);g(u.length>1?u:u[0])};i.apply(this,p)}))}returnawaitable}functionapplyEach$1(i){returnfunctionapplyEach(u,...p){constg=awaitify((function(g){varA=this;returni(u,((i,u)=>{wrapAsync(i).apply(A,p.concat(u))}),g)}));returng}}function_asyncMap(i,u,p,g){u=u||[];varA=[];varw=0;varC=wrapAsync(p);returni(u,((i,u,p)=>{varg=w++;C(i,((i,u)=>{A[g]=u;p(i)}))}),(i=>{g(i,A)}))}functionisArrayLike(i){returni&&typeofi.length==="number"&&i.length>=0&&i.length%1===0}constC={};varS=C;functiononce(i){functionwrapper(...u){if(i===null)return;varp=i;i=null;p.apply(this,u)}Object.assign(wrapper,i);returnwrapper}functiongetIterator(i){returni[Symbol.iterator]&&i[Symbol.iterator]()}functioncreateArrayIterator(i){varu=-1;varp=i.length;returnfunctionnext(){return++u<p?{value:i[u],key:u}:null}}functioncreateES2015Iterator(i){varu=-1;returnfunctionnext(){varp=i.next();if(p.done)returnnull;u++;return{value:p.value,key:u}}}functioncreateObjectIterator(i){varu=i?Object.keys(i):[];varp=-1;varg=u.length;returnfunctionnext(){varA=u[++p];if(A==="__proto__"){returnnext()}returnp<g?{value:i[A],key:A}:null}}functioncreateIterator(i){if(isArrayLike(i)){returncreateArrayIterator(i)}varu=getIterator(i);returnu?createES2015Iterator(u):createObjectIterator(i)}functiononlyOnce(i){returnfunction(...u){if(i===null)thrownewError("Callback was already called.");varp=i;i=null;p.apply(this,u)}}functionasyncEachOfLimit(i,u,p,g){letA=false;letw=false;letC=false;letv=0;letB=0;functionreplenish(){if(v>=u||C||A)return;C=true;i.next().then((({value:i,done:u})=>{if(w||A)return;C=false;if(u){A=true;if(v<=0){g(null)}return}v++;p(i,B,iterateeCallback);B++;replenish()})).catch(handleError)}functioniterateeCallback(i,u){v-=1;if(w)return;if(i)returnhandleError(i);if(i===false){A=true;w=true;return}if(u===S||A&&v<=0){A=true;returng(null)}replenish()}functionhandleError(i){if(w)return;C=false;A=true;g(i)}replenish()}vareachOfLimit$2=i=>(u,p,g)=>{g=once(g);if(i<=0){thrownewRangeError("concurrency limit cannot be less than 1")}if(!u){returng(null)}if(isAsyncGenerator(u)){returnasyncEachOfLimit(u,i,p,g)}if(isAsyncIterable(u)){returnasyncEachOfLimit(u[Symbol.asyncIterator](),i,p,g)}varA=createIterator(u);varw=false;varC=false;varv=0;varB=false;functioniterateeCallback(i,u){if(C)return;v-=1;if(i){w=true;g(i)}elseif(i===false){w=true;C=true}elseif(u===S||w&&v<=0){w=true;returng(null)}elseif(!B){replenish()}}functionreplenish(){B=true;while(v<i&&!w){varu=A();if(u===null){w=true;if(v<=0){g(null)}return}v+=1;p(u.value,u.key,onlyOnce(iterateeCallback))}B=false}replenish()};functioneachOfLimit(i,u,p,g){returneachOfLimit$2(u)(i,Line truncated
varp;(function(i){if(typeofDO_NOT_EXPORT_CRC==="undefined"){if(true){i(u)}else{}}else{i(p={})}})((function(i){i.version="1.2.2";functionsigned_crc_table(){vari=0,u=newArray(256);for(varp=0;p!=256;++p){i=p;i=i&1?-306674912^i>>>1:i>>>1;i=i&1?-306674912^i>>>1:i>>>1;i=i&1?-306674912^i>>>1:i>>>1;i=i&1?-306674912^i>>>1:i>>>1;i=i&1?-306674912^i>>>1:i>>>1;i=i&1?-306674912^i>>>1:i>>>1;i=i&1?-306674912^i>>>1:i>>>1;i=i&1?-306674912^i>>>1:i>>>1;u[p]=i}returntypeofInt32Array!=="undefined"?newInt32Array(u):u}varu=signed_crc_table();functionslice_by_16_tables(i){varu=0,p=0,g=0,A=typeofInt32Array!=="undefined"?newInt32Array(4096):newArray(4096);for(g=0;g!=256;++g)A[g]=i[g];for(g=0;g!=256;++g){p=i[g];for(u=256+g;u<4096;u+=256)p=A[u]=p>>>8^i[p&255]}varw=[];for(g=1;g!=16;++g)w[g-1]=typeofInt32Array!=="undefined"?A.subarray(g*256,g*256+256):A.slice(g*256,g*256+256);returnw}varp=slice_by_16_tables(u);varg=p[0],A=p[1],w=p[2],C=p[3],S=p[4];varv=p[5],B=p[6],_=p[7],T=p[8],N=p[9];varx=p[10],k=p[11],O=p[12],D=p[13],Q=p[14];functioncrc32_bstr(i,p){varg=p^-1;for(varA=0,w=i.length;A<w;)g=g>>>8^u[(g^i.charCodeAt(A++))&255];return~g}functioncrc32_buf(i,p){varP=p^-1,L=i.length-15,U=0;for(;U<L;)P=Q[i[U++]^P&255]^D[i[U++]^P>>8&255]^O[i[U++]^P>>16&255]^k[i[U++]^P>>>24]^x[i[U++]]^N[i[U++]]^T[i[U++]]^_[i[U++]]^B[i[U++]]^v[i[U++]]^S[i[U++]]^C[i[U++]]^w[i[U++]]^A[i[U++]]^g[i[U++]]^u[i[U++]];L+=15;while(U<L)P=P>>>8^u[(P^i[U++])&255];return~P}functioncrc32_str(i,p){varg=p^-1;for(varA=0,w=i.length,C=0,S=0;A<w;){C=i.charCodeAt(A++);if(C<128){g=g>>>8^u[(g^C)&255]}elseif(C<2048){g=g>>>8^u[(g^(192|C>>6&31))&255];g=g>>>8^u[(g^(128|C&63))&255]}elseif(C>=55296&&C<57344){C=(C&1023)+64;S=i.charCodeAt(A++)&1023;g=g>>>8^u[(g^(240|C>>8&7))&255];g=g>>>8^u[(g^(128|C>>2&63))&255];g=g>>>8^u[(g^(128|S>>6&15|(C&3)<<4))&255];g=g>>>8^u[(g^(128|S&63))&255]}else{g=g>>>8^u[(g^(224|C>>12&15))&255];g=g>>>8^u[(g^(128|C>>6&63))&255];g=g>>>8^u[(g^(128|C&63))&255]}}return~g}i.table=u;i.bstr=crc32_bstr;i.buf=crc32_buf;i.str=crc32_str}))},3662:(i,u,p)=>{const{Transform:g}=p(29963);constA=p(84891);classCRC32Streamextendsg{constructor(i){super(i);this.checksum=Buffer.allocUnsafe(4);this.checksum.writeInt32BE(0,0);this.rawSize=0}_transform(i,u,p){if(i){this.checksum=A.buf(i,this.checksum)>>>0;this.rawSize+=i.length}p(null,i)}digest(i){constu=Buffer.allocUnsafe(4);u.writeUInt32BE(this.checksum>>>0,0);returni?u.toString(i):u}hex(){returnthis.digest("hex").toUpperCase()}size(){returnthis.rawSize}}i.exports=CRC32Stream},76252:(i,u,p)=>{const{DeflateRaw:g}=p(43106);constA=p(84891);classDeflateCRC32Streamextendsg{constructor(i){super(i);this.checksum=Buffer.allocUnsafe(4);this.checksum.writeInt32BE(0,0);this.rawSize=0;this.compressedSize=0}push(i,u){if(i){this.compressedSize+=i.length}returnsuper.push(i,u)}_transform(i,u,p){if(i){this.checksum=A.buf(i,this.checksum)>>>0;this.rawSize+=i.length}super._transform(i,u,p)}digest(i){constu=Buffer.allocUnsafe(4);u.writeUInt32BE(this.checksum>>>0,0);returni?u.toString(i):u}hex(){returnthis.digest("hex").toUpperCase()}size(i=false){if(i){returnthis.compressedSize}else{returnthis.rawSize}}}i.exports=DeflateCRC32Stream},82770:(i,u,p)=>{i.exports={CRC32Stream:p(3662),DeflateCRC32Stream:p(76252)}},6110:(i,u,p)=>{u.formatArgs=formatArgs;u.save=save;u.load=load;u.useColors=useColors;u.storage=localstorage();u.destroy=(()=>{leti=false;return()=>{if(!i){i=true;console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")}}})();u.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"];functionuseColors(){if(typeofwindow!=="undefined"&&window.process&&(window.process.type==="renderer"||window.process.__nwjs)){returntrue}if(typeofnavigator!=="undefined"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/)){returnfalse}returntypeofdocument!=="undefined"&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||typeofwindow!=="undefined"&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||typeofnavigator!=="undefined"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/Line truncated
Object.defineProperty(u,"__esModule",{value:true});constp=newWeakMap;constg=newWeakMap;functionpd(i){constu=p.get(i);console.assert(u!=null,"'this' is expected an Event object, but got",i);returnu}functionsetCancelFlag(i){if(i.passiveListener!=null){if(typeofconsole!=="undefined"&&typeofconsole.error==="function"){console.error("Unable to preventDefault inside passive event listener invocation.",i.passiveListener)}return}if(!i.event.cancelable){return}i.canceled=true;if(typeofi.event.preventDefault==="function"){i.event.preventDefault()}}functionEvent(i,u){p.set(this,{eventTarget:i,event:u,eventPhase:2,currentTarget:i,canceled:false,stopped:false,immediateStopped:false,passiveListener:null,timeStamp:u.timeStamp||Date.now()});Object.defineProperty(this,"isTrusted",{value:false,enumerable:true});constg=Object.keys(u);for(leti=0;i<g.length;++i){constu=g[i];if(!(uinthis)){Object.defineProperty(this,u,defineRedirectDescriptor(u))}}}Event.prototype={gettype(){returnpd(this).event.type},gettarget(){returnpd(this).eventTarget},getcurrentTarget(){returnpd(this).currentTarget},composedPath(){consti=pd(this).currentTarget;if(i==null){return[]}return[i]},getNONE(){return0},getCAPTURING_PHASE(){return1},getAT_TARGET(){return2},getBUBBLING_PHASE(){return3},geteventPhase(){returnpd(this).eventPhase},stopPropagation(){consti=pd(this);i.stopped=true;if(typeofi.event.stopPropagation==="function"){i.event.stopPropagation()}},stopImmediatePropagation(){consti=pd(this);i.stopped=true;i.immediateStopped=true;if(typeofi.event.stopImmediatePropagation==="function"){i.event.stopImmediatePropagation()}},getbubbles(){returnBoolean(pd(this).event.bubbles)},getcancelable(){returnBoolean(pd(this).event.cancelable)},preventDefault(){setCancelFlag(pd(this))},getdefaultPrevented(){returnpd(this).canceled},getcomposed(){returnBoolean(pd(this).event.composed)},gettimeStamp(){returnpd(this).timeStamp},getsrcElement(){returnpd(this).eventTarget},getcancelBubble(){returnpd(this).stopped},setcancelBubble(i){if(!i){return}constu=pd(this);u.stopped=true;if(typeofu.event.cancelBubble==="boolean"){u.event.cancelBubble=true}},getreturnValue(){return!pd(this).canceled},setreturnValue(i){if(!i){setCancelFlag(pd(this))}},initEvent(){}};Object.defineProperty(Event.prototype,"constructor",{value:Event,configurable:true,writable:true});if(typeofwindow!=="undefined"&&typeofwindow.Event!=="undefined"){Object.setPrototypeOf(Event.prototype,window.Event.prototype);g.set(window.Event.prototype,Event)}functiondefineRedirectDescriptor(i){return{get(){returnpd(this).event[i]},set(u){pd(this).event[i]=u},configurable:true,enumerable:true}}functiondefineCallDescriptor(i){return{value(){constu=pd(this).event;returnu[i].apply(u,arguments)},configurable:true,enumerable:true}}functiondefineWrapper(i,u){constp=Object.keys(u);if(p.length===0){returni}functionCustomEvent(u,p){i.call(this,u,p)}CustomEvent.prototype=Object.create(i.prototype,{constructor:{value:CustomEvent,configurable:true,writable:true}});for(letg=0;g<p.length;++g){constA=p[g];if(!(Aini.prototype)){consti=Object.getOwnPropertyDescriptor(u,A);constp=typeofi.value==="function";Object.defineProperty(CustomEvent.prototype,A,p?defineCallDescriptor(A):defineRedirectDescriptor(A))}}returnCustomEvent}functiongetWrapper(i){if(i==null||i===Object.prototype){returnEvent}letu=g.get(i);if(u==null){u=defineWrapper(getWrapper(Object.getPrototypeOf(i)),i);g.set(i,u)}returnu}functionwrapEvent(i,u){constp=getWrapper(Object.getPrototypeOf(u));returnnewp(i,u)}functionisStopped(i){returnpd(i).immediateStopped}functionsetEventPhase(i,u){pd(i).eventPhase=u}functionsetCurrentTarget(i,u){pd(i).currentTarget=u}functionsetPassiveListener(i,u){pd(i).passiveListener=u}constA=newWeakMap;constw=1;constC=2;constS=3;functionisObject(i){returni!==null&&typeofi==="object"}functiongetListeners(i){constu=A.get(i);if(u==null){thrownewTypeError("'this' is expected an EventTarget object, but got another value.")}returnu}functiondefineEventAttributeDescriptor(i){return{get(){constu=getListeners(this);letp=u.get(i);while(p!=null){if(p.listenerType===S){returnp.listener}p=p.next}returnnull},set(u){if(typeofu!=="function"&&!isObject(u)){u=null}constp=getListeners(this);letg=null;letA=p.get(i);while(A!=null){if(A.listenerType===S){if(g!==null){g.next=A.next}elseif(A.next!==null){p.set(i,A.next)}else{p.delete(i)}}else{g=A}A=A.next}if(u!==null){constA={listener:u,listenerType:S,passive:false,once:false,next:null};if(g===null){p.set(i,A)}else{g.next=A}}},configurable:true,enumerable:true}}functiondefineEventAttribute(i,u){Object.defineProperty(i,`on${u}`,defineEventAttributeDescriptor(u))}functiondefineCustomEventTarget(i){functionCustomEventTarget(){EventTarget.call(this)}CustomEventTarget.prototype=Object.create(EventTarget.prototype,{constructor:{value:CustomEventTarget,configurable:true,writable:true}});for(letu=0;u<i.length;++u){defLine truncated
/*! https://mths.be/he v1.2.0 by @mathias | MIT license */(function(p){varg=true&&u;varA=true&&i&&i.exports==g&&i;varw=typeofglobal=="object"&&global;if(w.global===w||w.window===w){p=w}varC=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g;varS=/[\x01-\x7F]/g;varv=/[\x01-\t\x0B\f\x0E-\x1F\x7F\x81\x8D\x8F\x90\x9D\xA0-\uFFFF]/g;varB=/<\u20D2|=\u20E5|>\u20D2|\u205F\u200A|\u219D\u0338|\u2202\u0338|\u2220\u20D2|\u2229\uFE00|\u222A\uFE00|\u223C\u20D2|\u223D\u0331|\u223E\u0333|\u2242\u0338|\u224B\u0338|\u224D\u20D2|\u224E\u0338|\u224F\u0338|\u2250\u0338|\u2261\u20E5|\u2264\u20D2|\u2265\u20D2|\u2266\u0338|\u2267\u0338|\u2268\uFE00|\u2269\uFE00|\u226A\u0338|\u226A\u20D2|\u226B\u0338|\u226B\u20D2|\u227F\u0338|\u2282\u20D2|\u2283\u20D2|\u228A\uFE00|\u228B\uFE00|\u228F\u0338|\u2290\u0338|\u2293\uFE00|\u2294\uFE00|\u22B4\u20D2|\u22B5\u20D2|\u22D8\u0338|\u22D9\u0338|\u22DA\uFE00|\u22DB\uFE00|\u22F5\u0338|\u22F9\u0338|\u2933\u0338|\u29CF\u0338|\u29D0\u0338|\u2A6D\u0338|\u2A70\u0338|\u2A7D\u0338|\u2A7E\u0338|\u2AA1\u0338|\u2AA2\u0338|\u2AAC\uFE00|\u2AAD\uFE00|\u2AAF\u0338|\u2AB0\u0338|\u2AC5\u0338|\u2AC6\u0338|\u2ACB\uFE00|\u2ACC\uFE00|\u2AFD\u20E5|[\xA0-\u0113\u0116-\u0122\u0124-\u012B\u012E-\u014D\u0150-\u017E\u0192\u01B5\u01F5\u0237\u02C6\u02C7\u02D8-\u02DD\u0311\u0391-\u03A1\u03A3-\u03A9\u03B1-\u03C9\u03D1\u03D2\u03D5\u03D6\u03DC\u03DD\u03F0\u03F1\u03F5\u03F6\u0401-\u040C\u040E-\u044F\u0451-\u045C\u045E\u045F\u2002-\u2005\u2007-\u2010\u2013-\u2016\u2018-\u201A\u201C-\u201E\u2020-\u2022\u2025\u2026\u2030-\u2035\u2039\u203A\u203E\u2041\u2043\u2044\u204F\u2057\u205F-\u2063\u20AC\u20DB\u20DC\u2102\u2105\u210A-\u2113\u2115-\u211E\u2122\u2124\u2127-\u2129\u212C\u212D\u212F-\u2131\u2133-\u2138\u2145-\u2148\u2153-\u215E\u2190-\u219B\u219D-\u21A7\u21A9-\u21AE\u21B0-\u21B3\u21B5-\u21B7\u21BA-\u21DB\u21DD\u21E4\u21E5\u21F5\u21FD-\u2205\u2207-\u2209\u220B\u220C\u220F-\u2214\u2216-\u2218\u221A\u221D-\u2238\u223A-\u2257\u2259\u225A\u225C\u225F-\u2262\u2264-\u228B\u228D-\u229B\u229D-\u22A5\u22A7-\u22B0\u22B2-\u22BB\u22BD-\u22DB\u22DE-\u22E3\u22E6-\u22F7\u22F9-\u22FE\u2305\u2306\u2308-\u2310\u2312\u2313\u2315\u2316\u231C-\u231F\u2322\u2323\u232D\u232E\u2336\u233D\u233F\u237C\u23B0\u23B1\u23B4-\u23B6\u23DC-\u23DF\u23E2\u23E7\u2423\u24C8\u2500\u2502\u250C\u2510\u2514\u2518\u251C\u2524\u252C\u2534\u253C\u2550-\u256C\u2580\u2584\u2588\u2591-\u2593\u25A1\u25AA\u25AB\u25AD\u25AE\u25B1\u25B3-\u25B5\u25B8\u25B9\u25BD-\u25BF\u25C2\u25C3\u25CA\u25CB\u25EC\u25EF\u25F8-\u25FC\u2605\u2606\u260E\u2640\u2642\u2660\u2663\u2665\u2666\u266A\u266D-\u266F\u2713\u2717\u2720\u2736\u2758\u2772\u2773\u27C8\u27C9\u27E6-\u27ED\u27F5-\u27FA\u27FC\u27FF\u2902-\u2905\u290C-\u2913\u2916\u2919-\u2920\u2923-\u292A\u2933\u2935-\u2939\u293C\u293D\u2945\u2948-\u294B\u294E-\u2976\u2978\u2979\u297B-\u297F\u2985\u2986\u298B-\u2996\u299A\u299C\u299D\u29A4-\u29B7\u29B9\u29BB\u29BC\u29BE-\u29C5\u29C9\u29CD-\u29D0\u29DC-\u29DE\u29E3-\u29E5\u29EB\u29F4\u29F6\u2A00-\u2A02\u2A04\u2A06\u2A0C\u2A0D\u2A10-\u2A17\u2A22-\u2A27\u2A29\u2A2A\u2A2D-\u2A31\u2A33-\u2A3C\u2A3F\u2A40\u2A42-\u2A4D\u2A50\u2A53-\u2A58\u2A5A-\u2A5D\u2A5F\u2A66\u2A6A\u2A6D-\u2A75\u2A77-\u2A9A\u2A9D-\u2AA2\u2AA4-\u2AB0\u2AB3-\u2AC8\u2ACB\u2ACC\u2ACF-\u2ADB\u2AE4\u2AE6-\u2AE9\u2AEB-\u2AF3\u2AFD\uFB00-\uFB04]|\uD835[\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDCCF\uDD04\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDD6B]/g;var_={"":"shy","":"zwnj","":"zwj","":"lrm","":"ic","":"it","":"af","":"rlm","":"ZeroWidthSpace","":"NoBreak","̑":"DownBreve","⃛":"tdot","⃜":"DotDot","\t":"Tab","\n":"NewLine","":"puncsp","":"MediumSpace","":"thinsp","":"hairsp","":"emsp13","":"ensp","":"emsp14","":"emsp","":"numsp","":"nbsp","":"ThickSpace","‾":"oline",_:"lowbar","‐":"dash","–":"ndash","—":"mdash","―":"horbar",",":"comma",";":"semi","⁏":"bsemi",":":"colon","⩴":"Colone","!":"excl","¡":"iexcl","?":"quest","¿":"iquest",".":"period","‥":"nldr","…":"mldr","·":"middot","'":"apos","‘":"lsquo","’":"rsquo","‚":"sbquo","‹":"lsaquo","›":"rsaquo",'"':"quot","“":"ldquo","”":"rdquo","„":"bdquo","«":"laquo","»":"raquo","(":"lpar",")":"rpar","[":"lsqb","]":"rsqb","{":"lcub","}":"rcub","⌈":"lceil","⌉":"rceil","⌊":"lfloor","⌋":"rfloor","⦅":"lopar","⦆":"ropar","⦋":"lbrke","⦌":"rbrke","⦍":"lbrkslu","⦎":"rbrksld","⦏":"lbrksld","⦐":"rbrkslu","⦑":"langd","⦒":"rangd","⦓":"lparlt","⦔":"rpargt","⦕":"gtlPar","⦖":"ltrPar","⟦":"lobrk","⟧":"robrk","⟨":"lang","⟩":"rang","⟪":"Lang","⟫":"Rang","⟬":"loang","⟭":"roang","❲":"lbbrk","❳":"rbbrk","‖":"Vert","§":"sect","¶":"para","@":"commat","*":"ast","/":"sol",undefined:null,"&":"amp","#":"num","%":"percnt","‰":"permil","‱":"pertenk","†":"dagger","‡":"Dagger","•":"bull","⁃":"hybull","′":"prime","″":"Prime","‴":"tprime","⁗":"qprimeLine truncated
i.exports=function(i,u){if(typeofi!=="string"){thrownewTypeError("expected path to be a string")}if(i==="\\"||i==="/")return"/";varp=i.length;if(p<=1)returni;varg="";if(p>4&&i[3]==="\\"){varA=i[2];if((A==="?"||A===".")&&i.slice(0,2)==="\\\\"){i=i.slice(2);g="//"}}varw=i.split(/[/\\]+/);if(u!==false&&w[w.length-1]===""){w.pop()}returng+w.join("/")}},26687:i=>{constu=Symbol("proc-log.meta");i.exports={META:u,output:{LEVELS:["standard","error","buffer","flush"],KEYS:{standard:"standard",error:"error",buffer:"buffer",flush:"flush"},standard:function(...i){returnprocess.emit("output","standard",...i)},error:function(...i){returnprocess.emit("output","error",...i)},buffer:function(...i){returnprocess.emit("output","buffer",...i)},flush:function(...i){returnprocess.emit("output","flush",...i)}},log:{LEVELS:["notice","error","warn","info","verbose","http","silly","timing","pause","resume"],KEYS:{notice:"notice",error:"error",warn:"warn",info:"info",verbose:"verbose",http:"http",silly:"silly",timing:"timing",pause:"pause",resume:"resume"},error:function(...i){returnprocess.emit("log","error",...i)},notice:function(...i){returnprocess.emit("log","notice",...i)},warn:function(...i){returnprocess.emit("log","warn",...i)},info:function(...i){returnprocess.emit("log","info",...i)},verbose:function(...i){returnprocess.emit("log","verbose",...i)},http:function(...i){returnprocess.emit("log","http",...i)},silly:function(...i){returnprocess.emit("log","silly",...i)},timing:function(...i){returnprocess.emit("log","timing",...i)},pause:function(){returnprocess.emit("log","pause")},resume:function(){returnprocess.emit("log","resume")}},time:{LEVELS:["start","end"],KEYS:{start:"start",end:"end"},start:function(i,u){process.emit("time","start",i);functionend(){returnprocess.emit("time","end",i)}if(typeofu==="function"){consti=u();if(i&&i.finally){returni.finally(end)}end();returni}returnend},end:function(i){returnprocess.emit("time","end",i)}},input:{LEVELS:["start","end","read"],KEYS:{start:"start",end:"end",read:"read"},start:function(...i){letu;if(typeofi[0]==="function"){u=i.shift()}process.emit("input","start",...i);functionend(){returnprocess.emit("input","end",...i)}if(typeofu==="function"){consti=u();if(i&&i.finally){returni.finally(end)}end();returni}returnend},end:function(...i){returnprocess.emit("input","end",...i)},read:function(...i){letu,p;constg=newPromise(((i,g)=>{u=i;p=g}));process.emit("input","read",u,p,...i);returng}}}},41564:i=>{if(typeofprocess==="undefined"||!process.version||process.version.indexOf("v0.")===0||process.version.indexOf("v1.")===0&&process.version.indexOf("v1.8.")!==0){i.exports={nextTick:nextTick}}else{i.exports=process}functionnextTick(i,u,p,g){if(typeofi!=="function"){thrownewTypeError('"callback" argument must be a function')}varA=arguments.length;varw,C;switch(A){case0:case1:returnprocess.nextTick(i);case2:returnprocess.nextTick((functionafterTickOne(){i.call(null,u)}));case3:returnprocess.nextTick((functionafterTickTwo(){i.call(null,u,p)}));case4:returnprocess.nextTick((functionafterTickThree(){i.call(null,u,p,g)}));default:w=newArray(A-1);C=0;while(C<w.length){w[C++]=arguments[C]}returnprocess.nextTick((functionafterTick(){i.apply(null,w)}))}}},7945:i=>{i.exports=global.process},90390:(i,u,p)=>{varg=p(14339);varA=p(8464);varw=Object.prototype.hasOwnProperty;functionisRetryError(i){returni&&i.code==="EPROMISERETRY"&&w.call(i,"retried")}functionpromiseRetry(i,u){varp;varw;if(typeofi==="object"&&typeofu==="function"){p=u;u=i;i=p}w=A.operation(u);returnnewPromise((function(u,p){w.attempt((function(A){Promise.resolve().then((function(){returni((function(i){if(isRetryError(i)){i=i.retried}throwg(newError("Retrying"),"EPROMISERETRY",{retried:i})}),A)})).then(u,(function(i){if(isRetryError(i)){i=i.retried;if(w.retry(i||newError)){return}}p(i)}))}))}))}i.exports=promiseRetry},8464:(i,u,p)=>{i.exports=p(32462)},32462:(i,u,p)=>{varg=p(31440);u.operation=function(i){varp=u.timeouts(i);returnnewg(p,{forever:i&&i.forever,unref:i&&i.unref,maxRetryTime:i&&i.maxRetryTime})};u.timeouts=function(i){if(iinstanceofArray){return[].concat(i)}varu={retries:10,factor:2,minTimeout:1*1e3,maxTimeout:Infinity,randomize:false};for(varpini){u[p]=i[p]}if(u.minTimeout>u.maxTimeout){thrownewError("minTimeout is greater than maxTimeout")}varg=[];for(varA=0;A<u.retries;A++){g.push(this.createTimeout(A,u))}if(i&&i.forever&&!g.length){g.push(this.createTimeout(A,u))}g.sort((function(i,u){returni-u}));returng};u.createTimeout=function(i,u){varp=u.randomize?Math.random()+1:1;varg=Math.round(p*u.minTimeout*Math.pow(u.factor,i));g=Math.min(g,u.maxTimeout);returng};u.wrap=function(i,p,g){if(pinstanceofArray){g=p;p=null}if(!g){g=[];for(varAini){if(typeofi[A]==="function"){g.push(A)}}}for(varw=0;w<g.length;w++){varC=g[w];varS=i[C];i[C]=functionretryWrapper(g){varA=u.operation(p);varw=Array.prototype.slice.call(arguLine truncated
/*! formdata-polyfill. MIT License. Jimmy Wärting <https://jimmy.warting.se/opensource> */;constescape=i=>i.replace(/\n/g,"%0A").replace(/\r/g,"%0D").replace(/"/g,"%22");constnormalizeLinefeeds=i=>i.replace(/\r?\n|\r/g,"\r\n");constg=[];constA=newUint8Array([13,10]);_=0;letw=false;for(const[u,C]ofi){if(typeofC==="string"){consti=q.encode(p+`; name="${escape(normalizeLinefeeds(u))}"`+`\r\n\r\n${normalizeLinefeeds(C)}\r\n`);g.push(i);_+=i.byteLength}else{consti=q.encode(`${p}; name="${escape(normalizeLinefeeds(u))}"`+(C.name?`; filename="${escape(C.name)}"`:"")+"\r\n"+`Content-Type: ${C.type||"application/octet-stream"}\r\n\r\n`);g.push(i,C,A);if(typeofC.size==="number"){_+=i.byteLength+C.size+A.byteLength}else{w=true}}}constC=q.encode(`--${u}--\r\n`);g.push(C);_+=C.byteLength;if(w){_=null}B=i;v=asyncfunction*(){for(constiofg){if(i.stream){yield*i.stream()}else{yieldi}}};T=`multipart/form-data; boundary=${u}`}elseif(w(i)){B=i;_=i.size;if(i.type){T=i.type}}elseif(typeofi[Symbol.asyncIterator]==="function"){if(u){thrownewTypeError("keepalive")}if(g.isDisturbed(i)||i.locked){thrownewTypeError("Response body object should not be disturbed or locked")}p=iinstanceofReadableStream?i:A(i)}if(typeofB==="string"||g.isBuffer(B)){_=Buffer.byteLength(B)}if(v!=null){letu;p=newReadableStream({asyncstart(){u=v(i)[Symbol.asyncIterator]()},asyncpull(i){const{value:g,done:A}=awaitu.next();if(A){queueMicrotask((()=>{i.close();i.byobRequest?.respond(0)}))}else{if(!Q(p)){constu=newUint8Array(g);if(u.byteLength){i.enqueue(u)}}}returni.desiredSize>0},asynccancel(i){awaitu.return()},type:"bytes"})}constN={stream:p,source:B,length:_};return[N,T]}functionsafelyExtractBody(i,u=false){if(iinstanceofReadableStream){D(!g.isDisturbed(i),"The body has already been consumed.");D(!i.locked,"The stream is locked.")}returnextractBody(i,u)}functioncloneBody(i,u){const[p,g]=u.stream.tee();u.stream=p;return{stream:g,length:u.length,source:u.source}}functionthrowIfAborted(i){if(i.aborted){thrownewDOMException("The operation was aborted.","AbortError")}}functionbodyMixinMethods(i){constu={blob(){returnconsumeBody(this,(i=>{letu=bodyMimeType(this);if(u===null){u=""}elseif(u){u=U(u)}returnnewO([i],{type:u})}),i)},arrayBuffer(){returnconsumeBody(this,(i=>newUint8Array(i).buffer),i)},text(){returnconsumeBody(this,T,i)},json(){returnconsumeBody(this,parseJSONFromBytes,i)},formData(){returnconsumeBody(this,(i=>{constu=bodyMimeType(this);if(u!==null){switch(u.essence){case"multipart/form-data":{constp=H(i,u);if(p==="failure"){thrownewTypeError("Failed to parse body as FormData.")}constg=newN;g[x]=p;returng}case"application/x-www-form-urlencoded":{constu=newURLSearchParams(i.toString());constp=newN;for(const[i,g]ofu){p.append(i,g)}returnp}}}thrownewTypeError('Content-Type was not one of "multipart/form-data" or "application/x-www-form-urlencoded".')}),i)},bytes(){returnconsumeBody(this,(i=>newUint8Array(i)),i)}};returnu}functionmixinBody(i){Object.assign(i.prototype,bodyMixinMethods(i))}asyncfunctionconsumeBody(i,u,p){k.brandCheck(i,p);if(bodyUnusable(i)){thrownewTypeError("Body is unusable: Body has already been read")}throwIfAborted(i[x]);constg=v();consterrorSteps=i=>g.reject(i);constsuccessSteps=i=>{try{g.resolve(u(i))}catch(i){errorSteps(i)}};if(i[x].body==null){successSteps(Buffer.allocUnsafe(0));returng.promise}awaitB(i[x].body,successSteps,errorSteps);returng.promise}functionbodyUnusable(i){constu=i[x].body;returnu!=null&&(u.stream.locked||g.isDisturbed(u.stream))}functionparseJSONFromBytes(i){returnJSON.parse(T(i))}functionbodyMimeType(i){constu=i[x].headersList;constp=_(u);if(p==="failure"){returnnull}returnp}i.exports={extractBody:extractBody,safelyExtractBody:safelyExtractBody,cloneBody:cloneBody,mixinBody:mixinBody,streamRegistry:$,hasFinalizationRegistry:z,bodyUnusable:bodyUnusable}},4495:i=>{constu=["GET","HEAD","POST"];constp=newSet(u);constg=[101,204,205,304];constA=[301,302,303,307,308];constw=newSet(A);constC=["1","7","9","11","13","15","17","19","20","21","22","23","25","37","42","43","53","69","77","79","87","95","101","102","103","104","109","110","111","113","115","117","119","123","135","137","139","143","161","179","389","427","465","512","513","514","515","526","530","531","532","540","548","554","556","563","587","601","636","989","990","993","995","1719","1720","1723","2049","3659","4045","4190","5060","5061","6000","6566","6665","6666","6667","6668","6669","6679","6697","10080"];constS=newSet(C);constv=["","no-referrer","no-referrer-when-downgrade","same-origin","origin","strict-origin","origin-when-cross-origin","strict-origin-when-cross-origin","unsafe-url"];constB=newSet(v);const_=["follow","manual","error"];constT=["GET","HEAD","OPTIONS","TRACE"];constN=newSet(T);constx=["navigate","same-origin","no-cors","cors"];constk=["omit","same-origin","include"];constO=["default","no-store","reload","no-cache","force-cLine truncated
/*! ws. MIT License. Einar Otto Stangvik <einaros@gmail.com> */S[C-4]=p[0];S[C-3]=p[1];S[C-2]=p[2];S[C-1]=p[3];S[1]=w;if(w===126){S.writeUInt16BE(A,2)}elseif(w===127){S[2]=S[3]=0;S.writeUIntBE(A,4,6)}S[1]|=128;for(leti=0;i<A;++i){S[C+i]=u[i]^p[i&3]}returnS}}i.exports={WebsocketFrameSend:WebsocketFrameSend}},19469:(i,u,p)=>{const{createInflateRaw:g,Z_DEFAULT_WINDOWBITS:A}=p(38522);const{isValidClientWindowBits:w}=p(98625);constC=Buffer.from([0,0,255,255]);constS=Symbol("kBuffer");constv=Symbol("kLength");classPerMessageDeflate{#ce;#e={};constructor(i){this.#e.serverNoContextTakeover=i.has("server_no_context_takeover");this.#e.serverMaxWindowBits=i.get("server_max_window_bits")}decompress(i,u,p){if(!this.#ce){leti=A;if(this.#e.serverMaxWindowBits){if(!w(this.#e.serverMaxWindowBits)){p(newError("Invalid server_max_window_bits"));return}i=Number.parseInt(this.#e.serverMaxWindowBits)}this.#ce=g({windowBits:i});this.#ce[S]=[];this.#ce[v]=0;this.#ce.on("data",(i=>{this.#ce[S].push(i);this.#ce[v]+=i.length}));this.#ce.on("error",(i=>{this.#ce=null;p(i)}))}this.#ce.write(i);if(u){this.#ce.write(C)}this.#ce.flush((()=>{consti=Buffer.concat(this.#ce[S],this.#ce[v]);this.#ce[S].length=0;this.#ce[v]=0;p(null,i)}))}}i.exports={PerMessageDeflate:PerMessageDeflate}},81652:(i,u,p)=>{const{Writable:g}=p(57075);constA=p(34589);const{parserStates:w,opcodes:C,states:S,emptyBuffer:v,sentCloseFrameState:B}=p(20736);const{kReadyState:_,kSentClose:T,kResponse:N,kReceivedClose:x}=p(61216);const{channels:k}=p(42414);const{isValidStatusCode:O,isValidOpcode:D,failWebsocketConnection:Q,websocketMessageReceived:P,utf8Decode:L,isControlFrame:U,isTextBinaryFrame:H,isContinuationFrame:j}=p(98625);const{WebsocketFrameSend:q}=p(3264);const{closeWebSocketConnection:z}=p(86897);const{PerMessageDeflate:$}=p(19469);classByteParserextendsg{#le=[];#ue=0;#de=false;#O=w.INFO;#he={};#fe=[];#pe;constructor(i,u){super();this.ws=i;this.#pe=u==null?newMap:u;if(this.#pe.has("permessage-deflate")){this.#pe.set("permessage-deflate",new$(u))}}_write(i,u,p){this.#le.push(i);this.#ue+=i.length;this.#de=true;this.run(p)}run(i){while(this.#de){if(this.#O===w.INFO){if(this.#ue<2){returni()}constu=this.consume(2);constp=(u[0]&128)!==0;constg=u[0]&15;constA=(u[1]&128)===128;constS=!p&&g!==C.CONTINUATION;constv=u[1]&127;constB=u[0]&64;const_=u[0]&32;constT=u[0]&16;if(!D(g)){Q(this.ws,"Invalid opcode received");returni()}if(A){Q(this.ws,"Frame cannot be masked");returni()}if(B!==0&&!this.#pe.has("permessage-deflate")){Q(this.ws,"Expected RSV1 to be clear.");return}if(_!==0||T!==0){Q(this.ws,"RSV1, RSV2, RSV3 must be clear");return}if(S&&!H(g)){Q(this.ws,"Invalid frame type was fragmented.");return}if(H(g)&&this.#fe.length>0){Q(this.ws,"Expected continuation frame");return}if(this.#he.fragmented&&S){Q(this.ws,"Fragmented frame exceeded 125 bytes.");return}if((v>125||S)&&U(g)){Q(this.ws,"Control frame either too large or fragmented");return}if(j(g)&&this.#fe.length===0&&!this.#he.compressed){Q(this.ws,"Unexpected continuation frame");return}if(v<=125){this.#he.payloadLength=v;this.#O=w.READ_DATA}elseif(v===126){this.#O=w.PAYLOADLENGTH_16}elseif(v===127){this.#O=w.PAYLOADLENGTH_64}if(H(g)){this.#he.binaryType=g;this.#he.compressed=B!==0}this.#he.opcode=g;this.#he.masked=A;this.#he.fin=p;this.#he.fragmented=S}elseif(this.#O===w.PAYLOADLENGTH_16){if(this.#ue<2){returni()}constu=this.consume(2);this.#he.payloadLength=u.readUInt16BE(0);this.#O=w.READ_DATA}elseif(this.#O===w.PAYLOADLENGTH_64){if(this.#ue<8){returni()}constu=this.consume(8);constp=u.readUInt32BE(0);if(p>2**31-1){Q(this.ws,"Received payload length > 2^31 bytes.");return}constg=u.readUInt32BE(4);this.#he.payloadLength=(p<<8)+g;this.#O=w.READ_DATA}elseif(this.#O===w.READ_DATA){if(this.#ue<this.#he.payloadLength){returni()}constu=this.consume(this.#he.payloadLength);if(U(this.#he.opcode)){this.#de=this.parseControlFrame(u);this.#O=w.INFO}else{if(!this.#he.compressed){this.#fe.push(u);if(!this.#he.fragmented&&this.#he.fin){consti=Buffer.concat(this.#fe);P(this.ws,this.#he.binaryType,i);this.#fe.length=0}this.#O=w.INFO}else{this.#pe.get("permessage-deflate").decompress(u,this.#he.fin,((u,p)=>{if(u){z(this.ws,1007,u.message,u.message.length);return}this.#fe.push(p);if(!this.#he.fin){this.#O=w.INFO;this.#de=true;this.run(i);return}P(this.ws,this.#he.binaryType,Buffer.concat(this.#fe));this.#de=true;this.#O=w.INFO;this.#fe.length=0;this.run(i)}));this.#de=false;break}}}}}consume(i){if(i>this.#ue){thrownewError("Called consume() before buffers satiated.")}elseif(i===0){returnv}if(this.#le[0].length===i){this.#ue-=this.#le[0].length;returnthis.#le.shift()}constu=Buffer.allocUnsafe(i);letp=0;while(p!==i){constg=this.#le[0];const{length:A}=g;if(A+p===i){u.set(this.#le.shift(),p);break}elseif(A+p>i){u.set(g.subarray(0,i-p),p);this.#le[0]=g.subarray(i-p);break}else{u.set(this.#le.shift(),p);p+=g.length}}this.#ue-=i;returnu}parseCloseBody(i){A(i.length!==1);letu;if(i.lengtLine truncated
varg=p(39023).inherits;varA=p(47544).ZipArchiveOutputStream;varw=p(47544).ZipArchiveEntry;varC=p(53296);varS=i.exports=function(i){if(!(thisinstanceofS)){returnnewS(i)}i=this.options=i||{};i.zlib=i.zlib||{};A.call(this,i);if(typeofi.level==="number"&&i.level>=0){i.zlib.level=i.level;deletei.level}if(!i.forceZip64&&typeofi.zlib.level==="number"&&i.zlib.level===0){i.store=true}i.namePrependSlash=i.namePrependSlash||false;if(i.comment&&i.comment.length>0){this.setComment(i.comment)}};g(S,A);S.prototype._normalizeFileData=function(i){i=C.defaults(i,{type:"file",name:null,namePrependSlash:this.options.namePrependSlash,linkname:null,date:null,mode:null,store:this.options.store,comment:""});varu=i.type==="directory";varp=i.type==="symlink";if(i.name){i.name=C.sanitizePath(i.name);if(!p&&i.name.slice(-1)==="/"){u=true;i.type="directory"}elseif(u){i.name+="/"}}if(u||p){i.store=true}i.date=C.dateify(i.date);returni};S.prototype.entry=function(i,u,p){if(typeofp!=="function"){p=this._emitErrorCallback.bind(this)}u=this._normalizeFileData(u);if(u.type!=="file"&&u.type!=="directory"&&u.type!=="symlink"){p(newError(u.type+" entries not currently supported"));return}if(typeofu.name!=="string"||u.name.length===0){p(newError("entry name must be a non-empty string value"));return}if(u.type==="symlink"&&typeofu.linkname!=="string"){p(newError("entry linkname must be a non-empty string value when type equals symlink"));return}varg=neww(u.name);g.setTime(u.date,this.options.forceLocalTime);if(u.namePrependSlash){g.setName(u.name,true)}if(u.store){g.setMethod(0)}if(u.comment.length>0){g.setComment(u.comment)}if(u.type==="symlink"&&typeofu.mode!=="number"){u.mode=40960}if(typeofu.mode==="number"){if(u.type==="symlink"){u.mode|=40960}g.setUnixMode(u.mode)}if(u.type==="symlink"&&typeofu.linkname==="string"){i=Buffer.from(u.linkname)}returnA.prototype.entry.call(this,g,i,p)};S.prototype.finalize=function(){this.finish()}},42613:u=>{u.exports=i(import.meta.url)("assert")},20181:u=>{u.exports=i(import.meta.url)("buffer")},49140:u=>{u.exports=i(import.meta.url)("constants")},76982:u=>{u.exports=i(import.meta.url)("crypto")},72250:u=>{u.exports=i(import.meta.url)("dns")},24434:u=>{u.exports=i(import.meta.url)("events")},79896:u=>{u.exports=i(import.meta.url)("fs")},91943:u=>{u.exports=i(import.meta.url)("fs/promises")},58611:u=>{u.exports=i(import.meta.url)("http")},85675:u=>{u.exports=i(import.meta.url)("http2")},65692:u=>{u.exports=i(import.meta.url)("https")},69278:u=>{u.exports=i(import.meta.url)("net")},34589:u=>{u.exports=i(import.meta.url)("node:assert")},16698:u=>{u.exports=i(import.meta.url)("node:async_hooks")},4573:u=>{u.exports=i(import.meta.url)("node:buffer")},37540:u=>{u.exports=i(import.meta.url)("node:console")},77598:u=>{u.exports=i(import.meta.url)("node:crypto")},53053:u=>{u.exports=i(import.meta.url)("node:diagnostics_channel")},40610:u=>{u.exports=i(import.meta.url)("node:dns")},78474:u=>{u.exports=i(import.meta.url)("node:events")},73024:u=>{u.exports=i(import.meta.url)("node:fs")},51455:u=>{u.exports=i(import.meta.url)("node:fs/promises")},37067:u=>{u.exports=i(import.meta.url)("node:http")},32467:u=>{u.exports=i(import.meta.url)("node:http2")},77030:u=>{u.exports=i(import.meta.url)("node:net")},76760:u=>{u.exports=i(import.meta.url)("node:path")},643:u=>{u.exports=i(import.meta.url)("node:perf_hooks")},41792:u=>{u.exports=i(import.meta.url)("node:querystring")},57075:u=>{u.exports=i(import.meta.url)("node:stream")},46193:u=>{u.exports=i(import.meta.url)("node:string_decoder")},41692:u=>{u.exports=i(import.meta.url)("node:tls")},73136:u=>{u.exports=i(import.meta.url)("node:url")},57975:u=>{u.exports=i(import.meta.url)("node:util")},73429:u=>{u.exports=i(import.meta.url)("node:util/types")},75919:u=>{u.exports=i(import.meta.url)("node:worker_threads")},38522:u=>{u.exports=i(import.meta.url)("node:zlib")},70857:u=>{u.exports=i(import.meta.url)("os")},16928:u=>{u.exports=i(import.meta.url)("path")},2203:u=>{u.exports=i(import.meta.url)("stream")},13193:u=>{u.exports=i(import.meta.url)("string_decoder")},16460:u=>{u.exports=i(import.meta.url)("timers/promises")},64756:u=>{u.exports=i(import.meta.url)("tls")},52018:u=>{u.exports=i(import.meta.url)("tty")},87016:u=>{u.exports=i(import.meta.url)("url")},39023:u=>{u.exports=i(import.meta.url)("util")},43106:u=>{u.exports=i(import.meta.url)("zlib")},33345:(i,u)=>{varp;p={value:true};u.w=void0;u.w={operationRequestMap:newWeakMap}},38914:(i,u)=>{varp;p={value:true};u.w=void0;u.w={instrumenterImplementation:undefined}},49498:(i,u,p)=>{constg=p(5546);constisRetryError=i=>i?.code==="EPROMISERETRY"&&Object.hasOwn(i,"retried");asyncfunctionpromiseRetry(i,u={}){constp=g.operation(u);returnnewPromise((function(u,g){p.attempt((asyncA=>{try{constg=awaiti((i=>{throwObject.assign(newError("Retrying"),{code:"EPROMISERETRY",retried:i})}),A,p);returnu(g)}catch(i){if(isRetryError(i)){if(p.retry(i.retried||newError)){return}returng(i.retried)Line truncated
/* v8 ignore else -- @preserve -- Bug with vitest coverage where it sees an else branch that doesn't exist */if("response"inp){this.response=p.response}constg=Object.assign({},p.request);if(p.request.headers.authorization){g.headers=Object.assign({},p.request.headers,{authorization:p.request.headers.authorization.replace(/(?<! ) .*$/," [REDACTED]")})}g.url=g.url.replace(/\bclient_secret=\w+/g,"client_secret=[REDACTED]").replace(/\baccess_token=\w+/g,"access_token=[REDACTED]");this.request=g}}varWg="10.0.8";varJg={headers:{"user-agent":`octokit-request.js/${Wg}${getUserAgent()}`}};functiondist_bundle_isPlainObject(i){if(typeofi!=="object"||i===null)returnfalse;if(Object.prototype.toString.call(i)!=="[object Object]")returnfalse;constu=Object.getPrototypeOf(i);if(u===null)returntrue;constp=Object.prototype.hasOwnProperty.call(u,"constructor")&&u.constructor;returntypeofp==="function"&&pinstanceofp&&Function.prototype.call(p)===Function.prototype.call(i)}varnoop=()=>"";asyncfunctionfetchWrapper(i){constu=i.request?.fetch||globalThis.fetch;if(!u){thrownewError("fetch is not set. Please pass a fetch implementation as new Octokit({ request: { fetch }}). Learn more at https://github.com/octokit/octokit.js/#fetch-missing")}constp=i.request?.log||console;constg=i.request?.parseSuccessResponseBody!==false;constA=dist_bundle_isPlainObject(i.body)||Array.isArray(i.body)?JSONStringify(i.body):i.body;constw=Object.fromEntries(Object.entries(i.headers).map((([i,u])=>[i,String(u)])));letC;try{C=awaitu(i.url,{method:i.method,body:A,redirect:i.request?.redirect,headers:w,signal:i.request?.signal,...i.body&&{duplex:"half"}})}catch(u){letp="Unknown Error";if(uinstanceofError){if(u.name==="AbortError"){u.status=500;throwu}p=u.message;if(u.name==="TypeError"&&"cause"inu){if(u.causeinstanceofError){p=u.cause.message}elseif(typeofu.cause==="string"){p=u.cause}}}constg=newRequestError(p,500,{request:i});g.cause=u;throwg}constS=C.status;constv=C.url;constB={};for(const[i,u]ofC.headers){B[i]=u}const_={url:v,status:S,headers:B,data:""};if("deprecation"inB){constu=B.link&&B.link.match(/<([^<>]+)>; rel="deprecation"/);constg=u&&u.pop();p.warn(`[@octokit/request] "${i.method}${i.url}" is deprecated. It is scheduled to be removed on ${B.sunset}${g?`. See ${g}`:""}`)}if(S===204||S===205){return_}if(i.method==="HEAD"){if(S<400){return_}thrownewRequestError(C.statusText,S,{response:_,request:i})}if(S===304){_.data=awaitgetResponseData(C);thrownewRequestError("Not modified",S,{response:_,request:i})}if(S>=400){_.data=awaitgetResponseData(C);thrownewRequestError(toErrorMessage(_.data),S,{response:_,request:i})}_.data=g?awaitgetResponseData(C):C.body;return_}asyncfunctiongetResponseData(i){constu=i.headers.get("content-type");if(!u){returni.text().catch(noop)}constp=(0,Pg.xL)(u);if(isJSONResponse(p)){letu="";try{u=awaiti.text();returnJSONParse(u)}catch(i){returnu}}elseif(p.type.startsWith("text/")||p.parameters.charset?.toLowerCase()==="utf-8"){returni.text().catch(noop)}else{returni.arrayBuffer().catch((
/* v8 ignore else -- @preserve */varKg="0.0.0-development";function_buildMessageForResponseErrors(i){return`Request failed due to following response errors:\n`+i.errors.map((i=>` - ${i.message}`)).join("\n")}varZg=classextendsError{constructor(i,u,p){super(_buildMessageForResponseErrors(p));this.request=i;this.headers=u;this.response=p;this.errors=p.errors;this.data=p.data;if(Error.captureStackTrace){Error.captureStackTrace(this,this.constructor)}}name="GraphqlResponseError";errors;data};varXg=["method","baseUrl","url","headers","request","query","mediaType","operationName"];varem=["query","method","url"];vartm=/\/api\/v3\/?$/;functiongraphql(i,u,p){if(p){if(typeofu==="string"&&"query"inp){returnPromise.reject(newError(`[@octokit/graphql] "query" cannot be used as variable name`))}for(constiinp){if(!em.includes(i))continue;returnPromise.reject(newError(`[@octokit/graphql] "${i}" cannot be used as variable name`))}}constg=typeofu==="string"?Object.assign({query:u},p):u;constA=Object.keys(g).reduce(((i,u)=>{if(Xg.includes(u)){i[u]=g[u];returni}if(!i.variables){i.variables={}}i.variables[u]=g[u];returni}),{});constw=g.baseUrl||i.endpoint.DEFAULTS.baseUrl;if(tm.test(w)){A.url=w.replace(tm,"/api/graphql")}returni(A).then((i=>{if(i.data.errors){constu={};for(constpofObject.keys(i.headers)){u[p]=i.headers[p]}thrownewZg(A,u,i.data)}returni.data.data}))}functiongraphql_dist_bundle_withDefaults(i,u){constp=i.defaults(u);constnewApi=(i,u)=>graphql(p,i,u);returnObject.assign(newApi,{defaults:graphql_dist_bundle_withDefaults.bind(null,p),endpoint:p.endpoint})}varnm=graphql_dist_bundle_withDefaults(Yg,{headers:{"user-agent":`octokit-graphql.js/${Kg}${getUserAgent()}`},method:"POST",url:"/graphql"});functionwithCustomRequest(i){returngraphql_dist_bundle_withDefaults(i,{method:"POST",url:"/graphql"})}varim="(?:[a-zA-Z0-9_-]+)";varsm="\\.";varom=newRegExp(`^${im}${sm}${im}${sm}${im}$`);varam=om.test.bind(om);asyncfunctionauth(i){constu=am(i);constp=i.startsWith("v1.")||i.startsWith("ghs_");constg=i.startsWith("ghu_");constA=u?"app":p?"installation":g?"user-to-server":"oauth";return{type:"token",token:i,tokenType:A}}functionwithAuthorizationPrefix(i){if(i.split(/\./).length===3){return`bearer ${i}`}return`token ${i}`}asyncfunctionhook(i,u,p,g){constA=u.endpoint.merge(p,g);A.headers.authorization=withAuthorizationPrefix(i);returnu(A)}varcm=functioncreateTokenAuth2(i){if(!i){thrownewError("[@octokit/auth-token] No token passed to createTokenAuth")}if(typeofi!=="string"){thrownewError("[@octokit/auth-token] Token passed to createTokenAuth is not a string")}i=i.replace(/^(token|bearer) +/i,"");returnObject.assign(auth.bind(null,i),{hook:hook.bind(null,i)})};constlm="7.0.6";constdist_src_noop=()=>{};constum=console.warn.bind(console);constdm=console.error.bind(console);functioncreateLogger(i={}){if(typeofi.debug!=="function"){i.debug=dist_src_noop}if(typeofi.info!=="function"){i.info=dist_src_noop}if(typeofi.warn!=="function"){i.warn=um}if(typeofi.error!=="function"){i.error=dm}returni}consthm=`octokit-core.js/${lm}${getUserAgent()}`;classOctokit{staticVERSION=lm;staticdefaults(i){constu=classextends(this){constructor(...u){constp=u[0]||{};if(typeofi==="function"){super(i(p));return}super(Object.assign({},i,p,p.userAgent&&i.userAgent?{userAgent:`${p.userAgent}${i.userAgent}`}:null))}};returnu}staticplugins=[];staticplugin(...i){constu=this.plugins;constp=classextends(this){staticplugins=u.concat(i.filter((i=>!u.includes(i))))};returnp}constructor(i={}){constu=newNg.Collection;constp={baseUrl:Yg.endpoint.DEFAULTS.baseUrl,headers:{},request:Object.assign({},i.request,{hook:u.bind(null,"request")}),mediaType:{previews:[],format:""}};p.headers["user-agent"]=i.userAgent?`${i.userAgent}${hm}`:hm;if(i.baseUrl){p.baseUrl=i.baseUrl}if(i.previews){p.mediaType.previews=i.previews}if(i.timeZone){p.headers["time-zone"]=i.timeZone}this.request=Yg.defaults(p);this.graphql=withCustomRequest(this.request).defaults(p);this.log=createLogger(i.log);this.hook=u;if(!i.authStrategy){if(!i.auth){this.auth=async()=>({type:"unauthenticated"})}else{constp=cm(i.auth);u.wrap("request",p.hook);this.auth=p}}else{const{authStrategy:p,...g}=i;constA=p(Object.assign({request:this.request,log:this.log,octokit:this,octokitOptions:g},i.auth));u.wrap("request",A.hook);this.auth=A}constg=this.constructor;for(letu=0;u<g.plugins.length;++u){Object.assign(this,g.plugins[u](this,i))}}request;graphql;log;hook;auth}constfm="17.0.0";constgm={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/{repositoLine truncated
/*! js-yaml 4.1.1 https://github.com/nodeca/js-yaml @license MIT */
functionisNothing(i){returntypeofi==="undefined"||i===null}functionjs_yaml_isObject(i){returntypeofi==="object"&&i!==null}functiontoArray(i){if(Array.isArray(i))returni;elseif(isNothing(i))return[];return[i]}functionjs_yaml_extend(i,u){varp,g,A,w;if(u){w=Object.keys(u);for(p=0,g=w.length;p<g;p+=1){A=w[p];i[A]=u[A]}}returni}functionrepeat(i,u){varp="",g;for(g=0;g<u;g+=1){p+=i}returnp}functionisNegativeZero(i){returni===0&&Number.NEGATIVE_INFINITY===1/i}varMA=isNothing;varFA=js_yaml_isObject;varUA=toArray;varHA=repeat;varGA=isNegativeZero;varjA=js_yaml_extend;varVA={isNothing:MA,isObject:FA,toArray:UA,repeat:HA,isNegativeZero:GA,extend:jA};functionformatError(i,u){varp="",g=i.reason||"(unknown reason)";if(!i.mark)returng;if(i.mark.name){p+='in "'+i.mark.name+'" '}p+="("+(i.mark.line+1)+":"+(i.mark.column+1)+")";if(!u&&i.mark.snippet){p+="\n\n"+i.mark.snippet}returng+" "+p}functionYAMLException$1(i,u){Error.call(this);this.name="YAMLException";this.reason=i;this.mark=u;this.message=formatError(this,false);if(Error.captureStackTrace){Error.captureStackTrace(this,this.constructor)}else{this.stack=(newError).stack||""}}YAMLException$1.prototype=Object.create(Error.prototype);YAMLException$1.prototype.constructor=YAMLException$1;YAMLException$1.prototype.toString=functiontoString(i){returnthis.name+": "+formatError(this,i)};varqA=YAMLException$1;functiongetLine(i,u,p,g,A){varw="";varC="";varS=Math.floor(A/2)-1;if(g-u>S){w=" ... ";u=g-S+w.length}if(p-g>S){C=" ...";p=g+S-C.length}return{str:w+i.slice(u,p).replace(/\t/g,"→")+C,pos:g-u+w.length}}functionjs_yaml_padStart(i,u){returnVA.repeat(" ",u-i.length)+i}functionmakeSnippet(i,u){u=Object.create(u||null);if(!i.buffer)returnnull;if(!u.maxLength)u.maxLength=79;if(typeofu.indent!=="number")u.indent=1;if(typeofu.linesBefore!=="number")u.linesBefore=3;if(typeofu.linesAfter!=="number")u.linesAfter=2;varp=/\r?\n|\r|\0/g;varg=[0];varA=[];varw;varC=-1;while(w=p.exec(i.buffer)){A.push(w.index);g.push(w.index+w[0].length);if(i.position<=w.index&&C<0){C=g.length-2}}if(C<0)C=g.length-1;varS="",v,B;var_=Math.min(i.line+u.linesAfter,A.length).toString().length;varT=u.maxLength-(u.indent+_+3);for(v=1;v<=u.linesBefore;v++){if(C-v<0)break;B=getLine(i.buffer,g[C-v],A[C-v],i.position-(g[C]-g[C-v]),T);S=VA.repeat(" ",u.indent)+js_yaml_padStart((i.line-v+1).toString(),_)+" | "+B.str+"\n"+S}B=getLine(i.buffer,g[C],A[C],i.position,T);S+=VA.repeat(" ",u.indent)+js_yaml_padStart((i.line+1).toString(),_)+" | "+B.str+"\n";S+=VA.repeat("-",u.indent+_+3+B.pos)+"^"+"\n";for(v=1;v<=u.linesAfter;v++){if(C+v>=A.length)break;B=getLine(i.buffer,g[C+v],A[C+v],i.position-(g[C]-g[C+v]),T);S+=VA.repeat(" ",u.indent)+js_yaml_padStart((i.line+v+1).toString(),_)+" | "+B.str+"\n"}returnS.replace(/\n$/,"")}varzA=makeSnippet;var$A=["kind","multi","resolve","construct","instanceOf","predicate","represent","representName","defaultStyle","styleAliases"];varWA=["scalar","sequence","mapping"];functioncompileStyleAliases(i){varu={};if(i!==null){Object.keys(i).forEach((function(p){i[p].forEach((function(i){u[String(i)]=p}))}))}returnu}functionType$1(i,u){u=u||{};Object.keys(u).forEach((function(u){if($A.indexOf(u)===-1){thrownewqA('Unknown option "'+u+'" is met in definition of "'+i+'" YAML type.')}}));this.options=u;this.tag=i;this.kind=u["kind"]||null;this.resolve=u["resolve"]||function(){returntrue};this.construct=u["construct"]||function(i){returni};this.instanceOf=u["instanceOf"]||null;this.predicate=u["predicate"]||null;this.represent=u["represent"]||null;this.representName=u["representName"]||null;this.defaultStyle=u["defaultStyle"]||null;this.multi=u["multi"]||false;this.styleAliases=compileStyleAliases(u["styleAliases"]||null);if(WA.indexOf(this.kind)===-1){thrownewqA('Unknown kind "'+this.kind+'" is specified for "'+i+'" YAML type.')}}varJA=Type$1;functioncompileList(i,u){varp=[];i[u].forEach((function(i){varu=p.length;p.forEach((function(p,g){if(p.tag===i.tag&&p.kind===i.kind&&p.multi===i.multi){u=g}}));p[u]=i}));returnp}functioncompileMap(){vari={scalar:{},sequence:{},mapping:{},fallback:{},multi:{scalar:[],sequence:[],mapping:[],fallback:[]}},u,p;functioncollectType(u){if(u.multi){i.multi[u.kind].push(u);i.multi["fallback"].push(u)}else{i[u.kind][u.tag]=i["fallback"][u.tag]=u}}for(u=0,p=arguments.length;u<p;u+=1){arguments[u].forEach(collectType)}returni}functionSchema$1(i){returnthis.extend(i)}Schema$1.prototype.extend=functionextend(i){varu=[];varp=[];if(iinstanceofJA){p.push(i)}elseif(Array.isArray(i)){p=p.concat(i)}elseif(i&&(Array.isArray(i.implicit)||Array.isArray(i.explicit))){if(i.implicit)u=u.concat(i.implicit);if(i.explicit)p=p.concat(i.explicit)}else{thrownewqA("Schema.extend argument should be a Type, [ Type ], "+"or a schema definition ({ implicit: [...], explicit: [...] })")}u.forEach((function(i){if(!(iinstanceofJA)){thrownewqA("SpecifiedlistofYAMLtypes(orasingleTypeobject)containsanon-Line truncated
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.
(()=>{vare={296:e=>{varr=Object.prototype.toString;varn=typeofBuffer!=="undefined"&&typeofBuffer.alloc==="function"&&typeofBuffer.allocUnsafe==="function"&&typeofBuffer.from==="function";functionisArrayBuffer(e){returnr.call(e).slice(8,-1)==="ArrayBuffer"}functionfromArrayBuffer(e,r,t){r>>>=0;varo=e.byteLength-r;if(o<0){thrownewRangeError("'offset' is out of bounds")}if(t===undefined){t=o}else{t>>>=0;if(t>o){thrownewRangeError("'length' is out of bounds")}}returnn?Buffer.from(e.slice(r,r+t)):newBuffer(newUint8Array(e.slice(r,r+t)))}functionfromString(e,r){if(typeofr!=="string"||r===""){r="utf8"}if(!Buffer.isEncoding(r)){thrownewTypeError('"encoding" must be a valid string encoding')}returnn?Buffer.from(e,r):newBuffer(e,r)}functionbufferFrom(e,r,t){if(typeofe==="number"){thrownewTypeError('"value" argument must not be a number')}if(isArrayBuffer(e)){returnfromArrayBuffer(e,r,t)}if(typeofe==="string"){returnfromString(e,r)}returnn?Buffer.from(e):newBuffer(e)}e.exports=bufferFrom},599:(e,r,n)=>{e=n.nmd(e);vart=n(927).SourceMapConsumer;varo=n(928);vari;try{i=n(896);if(!i.existsSync||!i.readFileSync){i=null}}catch(e){}vara=n(296);functiondynamicRequire(e,r){returne.require(r)}varu=false;vars=false;varl=false;varc="auto";varp={};varf={};varg=/^data:application\/json[^,]+base64,/;vard=[];varh=[];functionisInBrowser(){if(c==="browser")returntrue;if(c==="node")returnfalse;returntypeofwindow!=="undefined"&&typeofXMLHttpRequest==="function"&&!(window.require&&window.module&&window.process&&window.process.type==="renderer")}functionhasGlobalProcessEventEmitter(){returntypeofprocess==="object"&&process!==null&&typeofprocess.on==="function"}functionglobalProcessVersion(){if(typeofprocess==="object"&&process!==null){returnprocess.version}else{return""}}functionglobalProcessStderr(){if(typeofprocess==="object"&&process!==null){returnprocess.stderr}}functionglobalProcessExit(e){if(typeofprocess==="object"&&process!==null&&typeofprocess.exit==="function"){returnprocess.exit(e)}}functionhandlerExec(e){returnfunction(r){for(varn=0;n<e.length;n++){vart=e[n](r);if(t){returnt}}returnnull}}varm=handlerExec(d);d.push((function(e){e=e.trim();if(/^file:/.test(e)){e=e.replace(/file:\/\/\/(\w:)?/,(function(e,r){returnr?"":"/"}))}if(einp){returnp[e]}varr="";try{if(!i){varn=newXMLHttpRequest;n.open("GET",e,false);n.send(null);if(n.readyState===4&&n.status===200){r=n.responseText}}elseif(i.existsSync(e)){r=i.readFileSync(e,"utf8")}}catch(e){}returnp[e]=r}));functionsupportRelativeURL(e,r){if(!e)returnr;varn=o.dirname(e);vart=/^\w+:\/\/[^\/]*/.exec(n);vari=t?t[0]:"";vara=n.slice(i.length);if(i&&/^\/\w\:/.test(a)){i+="/";returni+o.resolve(n.slice(i.length),r).replace(/\\/g,"/")}returni+o.resolve(n.slice(i.length),r)}functionretrieveSourceMapURL(e){varr;if(isInBrowser()){try{varn=newXMLHttpRequest;n.open("GET",e,false);n.send(null);r=n.readyState===4?n.responseText:null;vart=n.getResponseHeader("SourceMap")||n.getResponseHeader("X-SourceMap");if(t){returnt}}catch(e){}}r=m(e);varo=/(?:\/\/[@#][\s]*sourceMappingURL=([^\s'"]+)[\s]*$)|(?:\/\*[@#][\s]*sourceMappingURL=([^\s*'"]+)[\s]*(?:\*\/)[\s]*$)/gm;vari,a;while(a=o.exec(r))i=a;if(!i)returnnull;returni[1]}varv=handlerExec(h);h.push((function(e){varr=retrieveSourceMapURL(e);if(!r)returnnull;varn;if(g.test(r)){vart=r.slice(r.indexOf(",")+1);n=a(t,"base64").toString();r=e}else{r=supportRelativeURL(e,r);n=m(r)}if(!n){returnnull}return{url:r,map:n}}));functionmapSourcePosition(e){varr=f[e.source];if(!r){varn=v(e.source);if(n){r=f[e.source]={url:n.url,map:newt(n.map)};if(r.map.sourcesContent){r.map.sources.forEach((function(e,n){vart=r.map.sourcesContent[n];if(t){varo=supportRelativeURL(r.url,e);p[o]=t}}))}}else{r=f[e.source]={url:null,map:null}}}if(r&&r.map&&typeofr.map.originalPositionFor==="function"){varo=r.map.originalPositionFor(e);if(o.source!==null){o.source=supportRelativeURL(r.url,o.source);returno}}returne}functionmapEvalOrigin(e){varr=/^eval at ([^(]+) \((.+):(\d+):(\d+)\)$/.exec(e);if(r){varn=mapSourcePosition({source:r[2],line:+r[3],column:r[4]-1});return"eval at "+r[1]+" ("+n.source+":"+n.line+":"+(n.column+1)+")"}r=/^eval at ([^(]+) \((.+)\)$/.exec(e);if(r){return"eval at "+r[1]+" ("+mapEvalOrigin(r[2])+")"}returne}functionCallSiteToString(){vare;varr="";if(this.isNative()){r="native"}else{e=this.getScriptNameOrSourceURL();if(!e&&this.isEval()){r=this.getEvalOrigin();r+=", "}if(e){r+=e}else{r+="<anonymous>"}varn=this.getLineNumber();if(n!=null){r+=":"+n;vart=this.getColumnNumber();if(t){r+=":"+t}}}varo="";vari=this.getFunctionName();vara=true;varu=this.isConstructor();vars=!(this.isToplevel()||u);if(s){varl=this.getTypeName();if(l==="[object Object]"){l="null"}varc=this.getMethodName();if(i){if(l&&i.indexOf(l)!=0){o+=l+"."}o+=i;if(c&&i.indexOf("."+c)!=i.length-c.length-1){o+=" [as "+c+"]"}}else{o+=l+"."+(c||"<anonymous>")}}elseif(u){o+="new "+(i||"<aLine truncated
File diff suppressed because it is too large.
Load diff
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.