Copy disabled (too large)
Download .txt
Showing preview only (22,054K chars total). Download the full file to get everything.
Repository: favware/graphql-pokemon
Branch: main
Commit: 30490b105e3b
Files: 221
Total size: 21.0 MB
Directory structure:
gitextract_8xc9imlh/
├── .cliff-jumperrc.yml
├── .eslintignore
├── .eslintrc
├── .github/
│ ├── CODEOWNERS
│ ├── CODE_OF_CONDUCT.md
│ ├── CONTRIBUTING.md
│ ├── FUNDING.yml
│ ├── ISSUE_TEMPLATE/
│ │ ├── bug_report.yml
│ │ ├── config.yml
│ │ └── feature_request.yml
│ ├── SECURITY.md
│ ├── hooks/
│ │ ├── commit-msg
│ │ └── pre-commit
│ ├── problemMatchers/
│ │ ├── eslint.json
│ │ └── tsc.json
│ ├── renovate.json
│ └── workflows/
│ ├── auto-updater.yml
│ ├── branch-imager.yml
│ ├── continuous-deployment.yml
│ ├── continuous-integration.yml
│ ├── labelsync.yml
│ └── static-documentation.yml
├── .gitignore
├── .prettierrc.mjs
├── .vscode/
│ ├── extensions.json
│ ├── launch.json
│ └── settings.json
├── .yarn/
│ ├── patches/
│ │ └── graphql-npm-16.11.0-836e6ade28.patch
│ ├── plugins/
│ │ └── @yarnpkg/
│ │ └── plugin-git-hooks.cjs
│ └── releases/
│ └── yarn-4.12.0.cjs
├── .yarnrc.yml
├── CHANGELOG.md
├── Dockerfile
├── LICENSE.md
├── README.md
├── cliff.toml
├── codegen.yml
├── docker-compose.yml
├── docs/
│ ├── magidoc.mjs
│ ├── pages/
│ │ ├── 01.Introduction/
│ │ │ ├── 01.Welcome.md
│ │ │ └── 02.JavaScript Examples.md
│ │ └── 02.Utilities/
│ │ └── 01.Utilities.md
│ ├── pages.mjs
│ └── static/
│ └── styles/
│ └── custom.css
├── graphql/
│ ├── enums.graphql
│ ├── resolvers.graphql
│ └── schema.graphql
├── package.json
├── scripts/
│ ├── data-gen-scripts/
│ │ ├── data-injector.ts
│ │ ├── data-key-checker.ts
│ │ ├── data-to-clipboard.ts
│ │ ├── enum-key-collector.ts
│ │ ├── map-data-key-sorter.ts
│ │ ├── sample.json
│ │ └── scripted-updaters/
│ │ ├── asset-updaters/
│ │ │ ├── abilities-updater.ts
│ │ │ ├── items-updater.ts
│ │ │ ├── learnsets-updater.ts
│ │ │ ├── moves-updater.ts
│ │ │ └── tiers-updater.ts
│ │ ├── classification-updater/
│ │ │ ├── .gitignore
│ │ │ ├── classification-updater.ts
│ │ │ └── log-wrapper.ts
│ │ ├── cries-updater/
│ │ │ ├── constants.ts
│ │ │ ├── cry-updater.ts
│ │ │ ├── get-cry-url.ts
│ │ │ └── log-wrapper.ts
│ │ ├── flavor-text-updater/
│ │ │ ├── .gitignore
│ │ │ ├── constants.ts
│ │ │ ├── flavor-text-updater.ts
│ │ │ ├── game-sets/
│ │ │ │ ├── gen1-game-sets.ts
│ │ │ │ ├── gen2-game-sets.ts
│ │ │ │ ├── gen3-game-sets.ts
│ │ │ │ ├── gen4-game-sets.ts
│ │ │ │ ├── gen5-game-sets.ts
│ │ │ │ ├── gen6-game-sets.ts
│ │ │ │ ├── gen7-game-sets.ts
│ │ │ │ ├── gen8-game-sets.ts
│ │ │ │ ├── gen9-game-sets.ts
│ │ │ │ └── pokopia.ts
│ │ │ ├── game-sorter.ts
│ │ │ ├── get-text-content.ts
│ │ │ ├── log-wrapper.ts
│ │ │ └── parsers/
│ │ │ ├── double-game-updater.ts
│ │ │ ├── parse-pokemon.ts
│ │ │ ├── single-game-updater.ts
│ │ │ └── triple-game-updater.ts
│ │ ├── ipa-name-updater/
│ │ │ ├── .gitignore
│ │ │ ├── ipa-updater.ts
│ │ │ └── log-wrapper.ts
│ │ ├── update-test-files.ts
│ │ └── utils/
│ │ ├── append-to-log.ts
│ │ ├── bulbapedia-utils.ts
│ │ ├── constants.ts
│ │ ├── flaresolverr-session-management.ts
│ │ ├── pokedex-constants.ts
│ │ ├── types.ts
│ │ └── utils.ts
│ ├── manual-tests/
│ │ ├── .gitignore
│ │ ├── get-all-data.py
│ │ └── requirements.txt
│ ├── on-build-success.ts
│ ├── tsconfig.json
│ ├── utils.ts
│ └── wait-for-port.sh
├── src/
│ ├── defaultDocument.ts
│ ├── index.ts
│ ├── lib/
│ │ ├── assets/
│ │ │ ├── abilities.ts
│ │ │ ├── flavorText.json
│ │ │ ├── formats.json
│ │ │ ├── items.ts
│ │ │ ├── learnsets.ts
│ │ │ ├── moves.ts
│ │ │ ├── natures.ts
│ │ │ ├── pokedex-data/
│ │ │ │ ├── cap.ts
│ │ │ │ ├── gen1.ts
│ │ │ │ ├── gen2.ts
│ │ │ │ ├── gen3.ts
│ │ │ │ ├── gen4.ts
│ │ │ │ ├── gen5.ts
│ │ │ │ ├── gen6.ts
│ │ │ │ ├── gen7.ts
│ │ │ │ ├── gen8.ts
│ │ │ │ ├── gen9.ts
│ │ │ │ ├── pokedex.ts
│ │ │ │ └── pokestar.ts
│ │ │ ├── pokedex.ts
│ │ │ ├── pokemon-source.ts
│ │ │ └── typechart.ts
│ │ ├── mappers/
│ │ │ ├── abilityMapper.ts
│ │ │ ├── itemMapper.ts
│ │ │ ├── learnsetMapper.ts
│ │ │ ├── moveMapper.ts
│ │ │ ├── natureMapper.ts
│ │ │ ├── pokemonMapper.ts
│ │ │ └── typeMatchupMapper.ts
│ │ ├── resolvers/
│ │ │ ├── RootResolver.ts
│ │ │ ├── abilityResolvers.ts
│ │ │ ├── itemResolver.ts
│ │ │ ├── learnsetResolvers.ts
│ │ │ ├── moveResolvers.ts
│ │ │ ├── natureResolver.ts
│ │ │ ├── pokemonResolvers.ts
│ │ │ └── typeResolver.ts
│ │ ├── types/
│ │ │ ├── graphql-mapped-types.ts
│ │ │ └── utility-types.ts
│ │ ├── utils/
│ │ │ ├── FuzzySearch.ts
│ │ │ ├── GraphQLSet.ts
│ │ │ ├── addPropertyToObject.ts
│ │ │ ├── flavorsModule.ts
│ │ │ ├── formatsModule.ts
│ │ │ ├── getRequestedFields.ts
│ │ │ ├── graphql-parse-resolve-info.ts
│ │ │ ├── grapqhl-root-typedef-resolver.ts
│ │ │ ├── isNonStandardEnum.ts
│ │ │ ├── pastGenerationPokemon.ts
│ │ │ ├── pokemonTypes.ts
│ │ │ ├── sprite-parser.ts
│ │ │ ├── stringifyResult.ts
│ │ │ └── utils.ts
│ │ └── validations/
│ │ ├── fuzzyArgs/
│ │ │ ├── base.ts
│ │ │ ├── fuzzyAbilityArgs.ts
│ │ │ ├── fuzzyItemArgs.ts
│ │ │ └── fuzzyMoveArgs.ts
│ │ ├── getAbilityArgs.ts
│ │ ├── getItemArgs.ts
│ │ ├── getLearnsetArgs.ts
│ │ ├── getMoveArgs.ts
│ │ ├── getNatureArgs.ts
│ │ ├── getTypeMatchupArgs.ts
│ │ └── pokemonArgs/
│ │ ├── base.ts
│ │ ├── getAllPokemonArgs.ts
│ │ ├── getFuzzyPokemonArgs.ts
│ │ ├── getPokemonArgs.ts
│ │ └── getPokemonByDexNumberArgs.ts
│ ├── server.ts
│ └── tsconfig.json
├── tests/
│ ├── scenarios/
│ │ ├── abilities/
│ │ │ ├── getAbilities.test.ts
│ │ │ └── getFuzzyAbilities.test.ts
│ │ ├── items/
│ │ │ ├── getFuzzyItems.test.ts
│ │ │ └── getItems.test.ts
│ │ ├── learnsets/
│ │ │ ├── getFuzzyLearnset.test.ts
│ │ │ └── getLearnset.test.ts
│ │ ├── moves/
│ │ │ ├── getFuzzyMoves.test.ts
│ │ │ └── getMoves.test.ts
│ │ ├── natures/
│ │ │ ├── getAllNatures.test.ts
│ │ │ └── getNature.test.ts
│ │ ├── pokemon/
│ │ │ ├── getAllPokemonSpecies.test.ts
│ │ │ ├── getFuzzyPokemon.test.ts
│ │ │ ├── getPokemon.test.ts
│ │ │ └── getPokemonAllData.test.ts
│ │ └── typematchups/
│ │ └── getTypeMatchup.test.ts
│ ├── testUtils/
│ │ ├── full-data-responses/
│ │ │ ├── beldum.json
│ │ │ ├── dragonair.json
│ │ │ ├── eevee.json
│ │ │ ├── rattata-alola.json
│ │ │ ├── salamence.json
│ │ │ └── syclar.json
│ │ ├── queries/
│ │ │ ├── abilities.ts
│ │ │ ├── items.ts
│ │ │ ├── learnsets.ts
│ │ │ ├── moves.ts
│ │ │ ├── natures.ts
│ │ │ ├── pokemon-all-data.ts
│ │ │ ├── pokemon.ts
│ │ │ └── typematchup.ts
│ │ ├── testUtils.ts
│ │ └── types.d.ts
│ └── tsconfig.json
├── tsconfig.base.json
├── tsconfig.eslint.json
├── tsconfig.package.json
├── tsup.config-package.ts
├── tsup.config.ts
├── utilities/
│ ├── guards.ts
│ ├── index.ts
│ ├── parseBulbapediaUrl.ts
│ ├── pokemonEnumToSpecies.ts
│ ├── resolveBulbapediaUrl.ts
│ ├── resolveColor.ts
│ └── resolveSerebiiUrl.ts
└── vitest.config.ts
================================================
FILE CONTENTS
================================================
================================================
FILE: .cliff-jumperrc.yml
================================================
name: graphql-pokemon
packagePath: .
org: favware
monoRepo: false
commitMessageTemplate: 'chore(release): release {{new-version}}'
tagTemplate: 'v{{new-version}}'
gitRepo: auto
identifierBase: false
pushTag: true
githubRelease: true
githubReleaseLatest: true
gitHostVariant: github
================================================
FILE: .eslintignore
================================================
tests/testUtils/types/types.d.ts
================================================
FILE: .eslintrc
================================================
{
"extends": ["@sapphire"],
"rules": {
"@typescript-eslint/unified-signatures": "off",
"@typescript-eslint/unbound-method": "off"
},
"overrides": [
{
"files": ["src/lib/assets/learnsets.ts"],
"rules": {
"@typescript-eslint/ban-ts-comment": "off"
}
},
{
"files": ["src/lib/assets/abilities.ts", "src/lib/assets/moves.ts", "src/lib/assets/learnsets.ts"],
"rules": {
"max-len": "off"
}
},
{
"files": ["vitest.config.ts"],
"rules": {
"spaced-comment": "off"
}
}
]
}
================================================
FILE: .github/CODEOWNERS
================================================
/ @favna # Favna is the core developer and is codeowner of all the sourcecode
================================================
FILE: .github/CODE_OF_CONDUCT.md
================================================
# Contributor Covenant Code of Conduct
## Our Pledge
In the interest of fostering an open and welcoming environment, we as contributors and maintainers pledge to making participation in our project and our community a harassment-free experience for everyone, regardless of age, body size, disability, ethnicity, gender identity and expression, level of experience, nationality, personal appearance, race, religion, or sexual identity and orientation.
## Our Standards
Examples of behavior that contributes to creating a positive environment include:
- Using welcoming and inclusive language
- Being respectful of differing viewpoints and experiences
- Gracefully accepting constructive criticism
- Focusing on what is best for the community
- Showing empathy towards other community members
Examples of unacceptable behavior by participants include:
- The use of sexualized language or imagery and unwelcome sexual attention or advances
- Trolling, insulting/derogatory comments, and personal or political attacks
- Public or private harassment
- Publishing others' private information, such as a physical or electronic address, without explicit permission
- Other conduct which could reasonably be considered inappropriate in a professional setting
## Our Responsibilities
Project maintainers are responsible for clarifying the standards of acceptable behavior and are expected to take appropriate and fair corrective action in response to any instances of unacceptable behavior.
Project maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, or to ban temporarily or permanently any contributor for other behaviors that they deem inappropriate, threatening, offensive, or harmful.
## Scope
This Code of Conduct applies both within project spaces and in public spaces when an individual is representing the project or its community. Examples of representing a project or community include using an official project e-mail address, posting via an official social media account, or acting as an appointed representative at an online or offline event. Representation of a project may be further defined and clarified by project maintainers.
## Enforcement
Instances of abusive, harassing, or otherwise unacceptable behavior may be reported by contacting the project team at support@favware.tech. The project team will review and investigate all complaints, and will respond in a way that it deems appropriate to the circumstances. The project team is obligated to maintain confidentiality with regard to the reporter of an incident. Further details of specific enforcement policies may be posted separately.
Project maintainers who do not follow or enforce the Code of Conduct in good faith may face temporary or permanent repercussions as determined by other members of the project's leadership.
## Attribution
This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4, available at [http://contributor-covenant.org/version/1/4][version]
[homepage]: http://contributor-covenant.org
[version]: http://contributor-covenant.org/version/1/4/
================================================
FILE: .github/CONTRIBUTING.md
================================================
# Contributing
**The issue tracker is only for bug reports and enhancement suggestions. If you have a question, please ask it in the [Discord server](https://join.favware.tech) instead of opening an issue – you will get redirected there anyway.**
If you wish to contribute to the Favware project's codebase or documentation, feel free to fork the repository and submit a
pull request. We use ESLint to enforce a consistent coding style, any PR that does not follow the linting rules will not be
merged until the formatting is resolved.
## Setup
To get ready to work on the codebase, please do the following:
1. Fork & clone the repository, and make sure you're on the **main** branch
2. Run `yarn install`
3. Code your heart out!
4. Ensure your changes compile (`yarn build`) and run by testing them using GraphQL Playground.
- You can start compiling in watch mode with `yarn watch`
- You can start a dev server with `yarn dev`
5. If you have any substantial code changes make sure these are covered in unit tests
6. Run `yarn lint && yarn test` to run ESLint and ensure all tests pass
7. Submit a pull request
================================================
FILE: .github/FUNDING.yml
================================================
# These are supported funding model platforms
github: [favna]
patreon: favna
open_collective: # Replace with a single Open Collective username
ko_fi: favna
tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel
community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry
liberapay: # Replace with a single Liberapay username
issuehunt: # Replace with a single IssueHunt username
otechie: # Replace with a single Otechie username
custom: https://donate.favware.tech/paypal
================================================
FILE: .github/ISSUE_TEMPLATE/bug_report.yml
================================================
name: Bug Report
description: File a bug report here
title: 'bug: '
labels: ['Bug: Unverified']
body:
- type: markdown
attributes:
value: |
Thanks for taking the time to fill out this bug report!
- type: checkboxes
id: new-bug
attributes:
label: Is there an existing issue for this?
description: Please search to see if an issue already exists for the bug you encountered.
options:
- label: I have searched the existing issues
required: true
- type: textarea
id: bug-description
attributes:
label: Description of the bug
description: Tell us what bug you encountered and what should have happened
validations:
required: true
- type: textarea
id: steps-to-reproduce
attributes:
label: Steps To Reproduce
description: Steps to reproduce the behavior.
placeholder: |
Please tell us how to reproduce this bug, for example:
1. Write '...'
2. Click on '...'
3. See error
validations:
required: true
- type: textarea
id: expected-behavior
attributes:
label: Expected behavior
description: What should be the expected behavior.
placeholder: A clear and concise description of what you expected to happen.
validations:
required: true
- type: textarea
id: screenshots
attributes:
label: Screenshots
description: If applicable, add screenshots to help explain your problem.
placeholder: Paste your screenshots here.
- type: textarea
id: additional-context
attributes:
label: Additional context
description: Do you want to share any additional context about this bug?
placeholder: Add any other context about the problem here.
================================================
FILE: .github/ISSUE_TEMPLATE/config.yml
================================================
blank_issues_enabled: false
contact_links:
- name: Discord server
url: https://join.favware.tech
about: Please visit our Discord server for questions and support requests.
================================================
FILE: .github/ISSUE_TEMPLATE/feature_request.yml
================================================
name: Feature request
description: Suggest an idea for this project
title: 'request: '
labels: ['Meta: Feature']
body:
- type: markdown
attributes:
value: Thank you for suggesting this feature! The more information you provide, the more likely it is that it will be picked up.
- type: checkboxes
id: new-bug
attributes:
label: Is there an existing issue or pull request for this?
description: Please search to see if an issue or pull request already exists for the feature you desire.
options:
- label: I have searched the existing issues and pull requests
required: true
- type: textarea
id: feature-description
attributes:
label: Feature description
description: Is your feature request related to a problem? Please describe.
placeholder: A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
validations:
required: true
- type: textarea
id: steps-to-reproduce
attributes:
label: Desired solution
description: Describe the solution you'd like
placeholder: A clear and concise description of what you want to happen.
validations:
required: true
- type: textarea
id: expected-behavior
attributes:
label: Alternatives considered
description: Describe alternatives you've considered
placeholder: A clear and concise description of any alternative solutions or features you've considered.
validations:
required: true
- type: textarea
id: additional-context
attributes:
label: Additional context
description: Do you want to share any additional context about this bug?
placeholder: Add any other context about the problem here.
================================================
FILE: .github/SECURITY.md
================================================
# Security Policy
## Supported Versions
| Version | Supported |
| -------- | ------------------ |
| >= 8.x.x | :white_check_mark: |
| <= 7.x.x | :x: |
## Reporting a Vulnerability
If you find a vulnerability in the Graphql-Pokemon codebase please report it immediately. You can do so through one of the following methods:
- Use the GitHub issue tracker to report the issue
- Join the Discord server through https://join.favware.tech and use the "#support" channel.
================================================
FILE: .github/hooks/commit-msg
================================================
#!/bin/sh
yarn commitlint --edit $1
================================================
FILE: .github/hooks/pre-commit
================================================
#!/bin/sh
yarn lint-staged
================================================
FILE: .github/problemMatchers/eslint.json
================================================
{
"problemMatcher": [
{
"owner": "eslint-stylish",
"pattern": [
{
"regexp": "^([^\\s].*)$",
"file": 1
},
{
"regexp": "^\\s+(\\d+):(\\d+)\\s+(error|warning|info)\\s+(.*)\\s\\s+(.*)$",
"line": 1,
"column": 2,
"severity": 3,
"message": 4,
"code": 5,
"loop": true
}
]
}
]
}
================================================
FILE: .github/problemMatchers/tsc.json
================================================
{
"problemMatcher": [
{
"owner": "tsc",
"pattern": [
{
"regexp": "^(?:\\s+\\d+\\>)?([^\\s].*)\\((\\d+|\\d+,\\d+|\\d+,\\d+,\\d+,\\d+)\\)\\s*:\\s+(error|warning|info)\\s+(\\w{1,2}\\d+)\\s*:\\s*(.*)$",
"file": 1,
"location": 2,
"severity": 3,
"code": 4,
"message": 5
}
]
}
]
}
================================================
FILE: .github/renovate.json
================================================
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": ["github>sapphiredev/.github:sapphire-renovate"],
"commitBody": "[skip publish]",
"npm": {
"packageRules": [
{
"matchPackagePatterns": ["@types/node"],
"enabled": false
}
]
}
}
================================================
FILE: .github/workflows/auto-updater.yml
================================================
name: Automatic Data Update
on:
schedule:
- cron: '0 0 * * *'
workflow_dispatch:
jobs:
DataUpdater:
name: Automatic Data Update
runs-on: ubuntu-latest
services:
flaresolverr:
image: ghcr.io/flaresolverr/flaresolverr:latest
env:
LOG_LEVEL: info
LOG_HTML: false
CAPTCHA_SOLVER: none
TZ: Europe/London
ports:
- 8191:8191
steps:
- name: Checkout Project
uses: actions/checkout@v6
with:
token: ${{ secrets.BOT_TOKEN }}
- name: Use Node.js v20
uses: actions/setup-node@v6
with:
node-version: 24
cache: yarn
registry-url: https://registry.yarnpkg.com/
- name: Install Dependencies
run: yarn --immutable
- name: Run Smogon Tiers updater
run: yarn au:tiers
- name: Run Learnsets updater
run: yarn au:learnsets
- name: Run Abilities Updater
run: yarn au:abilities
- name: Run Items Updater
run: yarn au:items
- name: Run Moves Updater
run: yarn au:moves
- name: Run Cries Updater
run: yarn au:cries
- name: Wait for Flaresolverr to be online
working-directory: ./scripts
run: ./wait-for-port.sh
env:
PORT: 8191
- name: Run Classifications Updater
run: yarn au:classifications || true
- name: Run IPA Updater
run: yarn au:ipa || true
- name: Run Flavor Text Updater
run: yarn au:flavors || true
- name: Build code
run: yarn build
- name: Start server in the background
working-directory: ./scripts
run: |
yarn start &
./wait-for-port.sh
- name: Update test data
run: yarn au:testdata
- name: Run prettier on the code
run: yarn format
- name: Commit any changes and create a pull request
env:
GITHUB_USER: github-actions[bot]
GITHUB_EMAIL: 41898282+github-actions[bot]@users.noreply.github.com
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
git add .;
if ! git diff-index --quiet HEAD --; then
git remote set-url origin "https://${GITHUB_TOKEN}:x-oauth-basic@github.com/${GITHUB_REPOSITORY}.git";
git config --local user.email "${GITHUB_EMAIL}";
git config --local user.name "${GITHUB_USER}";
git commit -sam "refactor: update data [skip publish]";
git push --set-upstream origin $(git rev-parse --abbrev-ref HEAD)
fi
- name: Create artifact of flavor text update log file
uses: actions/upload-artifact@v7
with:
name: formats_log_file
path: scripts/data-gen-scripts/scripted-updaters/flavor-text-updater/output.log
if-no-files-found: error
- name: Create artifact of classifications update log file
uses: actions/upload-artifact@v7
with:
name: classification_log_file
path: scripts/data-gen-scripts/scripted-updaters/classification-updater/output.log
if-no-files-found: error
================================================
FILE: .github/workflows/branch-imager.yml
================================================
name: Branch Imager
on:
push:
branches-ignore:
- main
jobs:
Publish:
name: Publish image to container registries
runs-on: ubuntu-latest
if: ${{ ! contains(github.event.head_commit.message, '[skip docker]') }}
steps:
- name: Checkout Project
uses: actions/checkout@v6
- name: Setup Docker Buildx
uses: docker/setup-buildx-action@v4.0.0
- name: Login to DockerHub
uses: docker/login-action@v4.0.0
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
- name: Login to GitHub Container Registry
uses: docker/login-action@v4.0.0
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Get GitHub Branch Name
id: get_branch_name
run: echo "branch_name=$(echo $( [ -z "${{ github.head_ref }}" ] && echo ${{ github.ref }} | cut -c12- || echo ${{ github.head_ref }} ) | sed -e 's/\/\|_/-/g' | sed -e 's/@//g')" >> $GITHUB_OUTPUT
- name: Build and push Docker image
uses: docker/build-push-action@v7.0.0
with:
push: true
context: .
cache-from: type=gha
cache-to: type=gha,mode=max
platforms: |
linux/amd64
linux/arm64
tags: |
favware/graphql-pokemon:${{ steps.get_branch_name.outputs.branch_name }}
ghcr.io/favware/graphql-pokemon:${{ steps.get_branch_name.outputs.branch_name }}
================================================
FILE: .github/workflows/continuous-deployment.yml
================================================
name: Continuous Deployment
on:
push:
branches:
- main
paths:
- src/**
- .github/workflows/continuous-deployment.yml
- README.md
- Dockerfile
workflow_dispatch:
inputs:
skip-publish:
description: Whether to skip publishing typings to NPM
required: false
type: boolean
jobs:
Publish:
name: Publish image to container registries
runs-on: ubuntu-latest
if: ${{ ! contains(github.event.head_commit.message, '[skip docker]') }}
steps:
- name: Checkout Project
uses: actions/checkout@v6
- name: Setup Docker Buildx
uses: docker/setup-buildx-action@v4.0.0
- name: Login to DockerHub
uses: docker/login-action@v4.0.0
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
- name: Login to GitHub Container Registry
uses: docker/login-action@v4.0.0
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and push Docker image
uses: docker/build-push-action@v7.0.0
with:
push: true
context: .
cache-from: type=gha
cache-to: type=gha,mode=max
platforms: |
linux/amd64
linux/arm64
tags: |
favware/graphql-pokemon:latest
ghcr.io/favware/graphql-pokemon:latest
- name: Update repo description
uses: peter-evans/dockerhub-description@v5
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
repository: favware/graphql-pokemon
enable-url-completion: true
short-description: Extensive Pokemon GraphQL API
ValidateAllData:
name: Validate all data
runs-on: ubuntu-latest
if: ${{ ! contains(github.event.head_commit.message, '[skip docker]') }}
needs: Publish
services:
pokedex:
image: ghcr.io/favware/graphql-pokemon:latest
options: >-
--health-cmd "nc -z localhost 4000"
--health-interval 10s
--health-timeout 10s
--health-retries 6
--health-start-period 5s
ports:
- 4000:4000
steps:
- name: Checkout Project
uses: actions/checkout@v6
- name: Setup Python
uses: actions/setup-python@v6
with:
python-version: '3.14'
cache: pip
- name: Install Dependencies
working-directory: ./scripts/manual-tests
run: pip install -r requirements.txt
- name: Run get-all-data
working-directory: ./scripts/manual-tests
run: python get-all-data.py
UpdateOnServer:
name: Update running container on server
runs-on: ubuntu-latest
if: ${{ ! contains(github.event.head_commit.message, '[skip docker]') }}
needs: ValidateAllData
steps:
- name: Update container on server
uses: favware/ssh-remote-action@v1
with:
host: ${{ secrets.SSH_HOST }}
port: ${{ secrets.SSH_PORT }}
key: ${{ secrets.SSH_KEY }}
passphrase: ${{ secrets.SSH_KEY_PASSPHRASE }}
username: ${{ secrets.SSH_USERNAME }}
command: ${{ secrets.SSH_COMMAND }}
silent: true
GeneratePackage:
name: Generate JavaScript companion library
runs-on: ubuntu-latest
if: ${{ ! contains(github.event.head_commit.message, '[skip publish]') || github.event.inputs.skip-publish == true }}
needs: ValidateAllData
services:
pokedex:
image: ghcr.io/favware/graphql-pokemon:latest
options: >-
--health-cmd "nc -z localhost 4000"
--health-interval 10s
--health-timeout 10s
--health-retries 6
--health-start-period 5s
ports:
- 4000:4000
steps:
- name: Checkout Project
uses: actions/checkout@v6
- name: Add problem matchers
run: echo "::add-matcher::.github/problemMatchers/tsc.json"
- name: Use Node.js v20
uses: actions/setup-node@v6
with:
node-version: 24
cache: yarn
registry-url: https://registry.yarnpkg.com/
- name: Install Dependencies
run: yarn --immutable
- name: Generate library code
run: yarn package
- name: Upload typescript bundle to artifacts
uses: actions/upload-artifact@v7
with:
name: package_bundle
path: dist/
if-no-files-found: error
GitHubMakeRelease:
name: Make release on GitHub
runs-on: ubuntu-latest
if: ${{ ! contains(github.event.head_commit.message, '[skip publish]') || github.event.inputs.skip-publish == true }}
needs: GeneratePackage
steps:
- name: Checkout Project
uses: actions/checkout@v6
with:
fetch-depth: 0
token: ${{ secrets.BOT_TOKEN }}
- name: Use Node.js v20
uses: actions/setup-node@v6
with:
node-version: 24
cache: yarn
registry-url: https://registry.yarnpkg.com/
- name: Install Dependencies
run: yarn --immutable
- name: Configure Git
run: |
git remote set-url origin "https://${GITHUB_TOKEN}:x-oauth-basic@github.com/${GITHUB_REPOSITORY}.git"
git config --local user.email "${GITHUB_EMAIL}"
git config --local user.name "${GITHUB_USER}"
env:
GITHUB_USER: github-actions[bot]
GITHUB_EMAIL: 41898282+github-actions[bot]@users.noreply.github.com
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Bump semver
if: ${{ ! contains(github.event.head_commit.message, '[skip bump]') }}
run: yarn bump
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Store bumped package.json
uses: actions/upload-artifact@v7
with:
name: package_json
path: package.json
if-no-files-found: error
- name: Store bumped changelog.md
uses: actions/upload-artifact@v7
with:
name: changelog_md
path: CHANGELOG.md
if-no-files-found: error
- name: Push changes
if: ${{ ! contains(github.event.head_commit.message, '[skip bump]') }}
run: git push origin main && git push --tags origin main
NPMPublish:
name: Publishing release to NPM
runs-on: ubuntu-latest
if: ${{ ! contains(github.event.head_commit.message, '[skip publish]') || github.event.inputs.skip-publish == true }}
needs: GitHubMakeRelease
steps:
- name: Checkout Project
uses: actions/checkout@v6
- name: Download generated typings artifact
uses: actions/download-artifact@v8
with:
name: package_bundle
path: dist/
- name: Download stored package.json
uses: actions/download-artifact@v8
with:
name: package_json
- name: Download stored changelog.md
uses: actions/download-artifact@v8
with:
name: changelog_md
- name: Setup Node for publishing to NPM
uses: actions/setup-node@v6
with:
node-version: 24
cache: yarn
registry-url: https://registry.yarnpkg.com/
- name: Install Dependencies
run: yarn --immutable
- name: Publish to NPM
run: |
yarn config set npmAuthToken ${NODE_AUTH_TOKEN}
yarn config set npmPublishRegistry "https://registry.yarnpkg.com"
yarn npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
Github-Package-Registry-Node:
name: Publishing release to Github Package Registry
runs-on: ubuntu-latest
if: ${{ ! contains(github.event.head_commit.message, '[skip publish]') || github.event.inputs.skip-publish == true }}
needs: GitHubMakeRelease
steps:
- name: Checkout Project
uses: actions/checkout@v6
- name: Setup Node for publishing to Github
uses: actions/setup-node@v6
with:
node-version: 24
registry-url: 'https://npm.pkg.github.com'
scope: '@favware'
cache: yarn
- name: Download generated typings artifact
uses: actions/download-artifact@v8
with:
name: package_bundle
path: dist/
- name: Download stored package.json
uses: actions/download-artifact@v8
with:
name: package_json
- name: Download stored changelog.md
uses: actions/download-artifact@v8
with:
name: changelog_md
- name: Install Dependencies
run: yarn --immutable
- name: Publish to Github
run: |
yarn config set npmAuthToken ${NODE_AUTH_TOKEN}
yarn config set npmPublishRegistry "https://npm.pkg.github.com"
yarn npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
================================================
FILE: .github/workflows/continuous-integration.yml
================================================
name: Continuous Integration
on:
pull_request:
jobs:
Linting:
name: Linting
runs-on: ubuntu-latest
steps:
- name: Checkout Project
uses: actions/checkout@v6
- name: Add problem matcher
run: echo "::add-matcher::.github/problemMatchers/eslint.json"
- name: Use Node.js v20
uses: actions/setup-node@v6
with:
node-version: 24
cache: yarn
registry-url: https://registry.yarnpkg.com/
- name: Install Dependencies
run: yarn --immutable
- name: Run ESLint
run: yarn lint --fix=false
CodeQL:
name: Codequality
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v6
- name: Initialize CodeQL
uses: github/codeql-action/init@v4
with:
languages: typescript
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v4
Testing:
name: Unit Tests
runs-on: ubuntu-latest
steps:
- name: Checkout Project
uses: actions/checkout@v6
- name: Use Node.js v20
uses: actions/setup-node@v6
with:
node-version: 24
cache: yarn
registry-url: https://registry.yarnpkg.com/
- name: Install Dependencies
run: yarn --immutable
- name: Run tests
run: yarn test
Building:
name: Compile source code
runs-on: ubuntu-latest
steps:
- name: Checkout Project
uses: actions/checkout@v6
- name: Add problem matcher
run: echo "::add-matcher::.github/problemMatchers/tsc.json"
- name: Use Node.js v20
uses: actions/setup-node@v6
with:
node-version: 24
cache: yarn
registry-url: https://registry.yarnpkg.com/
- name: Install Dependencies
run: yarn --immutable
- name: Typecheck
run: yarn typecheck
- name: Build Code
run: yarn build
================================================
FILE: .github/workflows/labelsync.yml
================================================
name: Automatic Label Sync
on:
schedule:
- cron: '0 0 * * *'
workflow_dispatch:
jobs:
label_sync:
name: Automatic Label Synchronization
runs-on: ubuntu-latest
steps:
- name: Checkout Project
uses: actions/checkout@v6
with:
sparse-checkout: .github/labels.yml
sparse-checkout-cone-mode: false
repository: 'sapphiredev/.github'
- name: Run Label Sync
uses: crazy-max/ghaction-github-labeler@v6
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
yaml-file: .github/labels.yml
================================================
FILE: .github/workflows/static-documentation.yml
================================================
name: Deploy static content to Pages
on:
push:
branches:
- main
workflow_dispatch:
permissions:
contents: read
pages: write
id-token: write
concurrency:
group: 'pages'
cancel-in-progress: true
jobs:
deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v6
- name: Setup Pages
uses: actions/configure-pages@v5
- name: Use Node.js v20
uses: actions/setup-node@v6
with:
node-version: 24
cache: yarn
registry-url: https://registry.yarnpkg.com/
- name: Install Dependencies
run: yarn --immutable
- name: Generate Magidoc
run: yarn docs
- name: Add static files
run: |
printf "User-agent: *\nDisallow:" > docs/magidoc/robots.txt
printf "This file prevents GitHub Pages from using Jekyll." >> docs/magidoc/.nojekyll
printf "graphql-pokemon.js.org" >> docs/magidoc/CNAME
cp .gitignore docs/magidoc
cp LICENSE.md docs/magidoc
cp README.md docs/magidoc
- name: Upload artifact
uses: actions/upload-pages-artifact@v4
with:
path: docs/magidoc
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4
================================================
FILE: .gitignore
================================================
# Dependencies
node_modules/
# Misc
.DS_Store
.env
.env.local
.env.development.local
.env.test.local
.env.production.local
# Yarn files
.yarn/install-state.gz
.yarn/build-state.yml
# Bad NPM is bad
package-lock.json
# File Archives
*.zip
*.tar.xz
*.7z
*.rar
# Logs
logs
*.log*
*.tsbuildinfo
coverage/
# IDE Settings
.idea/
.vs/
*.iml
# Build files
api/
dist/
codegen/
docs/magidoc/
================================================
FILE: .prettierrc.mjs
================================================
import sapphirePrettierConfig from '@sapphire/prettier-config';
export default {
...sapphirePrettierConfig,
useTabs: false,
tabWidth: 2,
overrides: [
...sapphirePrettierConfig.overrides,
{
files: 'src/assets/*.ts,json',
options: {
printWidth: 200
}
},
{
files: ['README.md', 'docs/pages/**/*.md'],
options: {
tabWidth: 2,
useTabs: false,
printWidth: 80,
proseWrap: 'always'
}
}
]
};
================================================
FILE: .vscode/extensions.json
================================================
{
"recommendations": ["graphql.vscode-graphql", "graphql.vscode-graphql-syntax", "dbaeumer.vscode-eslint", "esbenp.prettier-vscode"]
}
================================================
FILE: .vscode/launch.json
================================================
{
"configurations": [
{
"type": "pwa-node",
"request": "launch",
"runtimeArgs": ["run-script", "start"],
"name": "Debugger",
"runtimeExecutable": "npm",
"skipFiles": ["<node_internals>/**", "node_modules/tslib/**"],
"internalConsoleOptions": "openOnSessionStart",
"env": {
"NODE_ENV": "development"
},
"console": "internalConsole",
"outputCapture": "std",
"outFiles": ["${workspaceFolder}/api/**/*.js"]
}
]
}
================================================
FILE: .vscode/settings.json
================================================
{
"editor.defaultFormatter": "esbenp.prettier-vscode",
"[javascript]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[typescript]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"cSpell.words": ["Flaresolverr", "updaters"]
}
================================================
FILE: .yarn/patches/graphql-npm-16.11.0-836e6ade28.patch
================================================
diff --git a/package.json b/package.json
index d4d6e112be345bf616cdd042a9f55ac0b1e2d5bf..129889dd7f10af43dac65e41231b5665738004b9 100644
--- a/package.json
+++ b/package.json
@@ -3,8 +3,200 @@
"version": "16.11.0",
"description": "A Query Language and Runtime which can target any service.",
"license": "MIT",
- "main": "index",
+ "main": "index.js",
"module": "index.mjs",
+ "exports": {
+ ".": {
+ "import": {
+ "types": "./index.d.ts",
+ "default": "./index.mjs"
+ },
+ "require": {
+ "types": "./index.d.ts",
+ "default": "./index.js"
+ }
+ },
+ "./graphql": {
+ "import": {
+ "types": "./graphql.d.ts",
+ "default": "./graphql.mjs"
+ },
+ "require": {
+ "types": "./graphql.d.ts",
+ "default": "./graphql.js"
+ }
+ },
+ "./version": {
+ "import": {
+ "types": "./version.d.ts",
+ "default": "./version.mjs"
+ },
+ "require": {
+ "types": "./version.d.ts",
+ "default": "./version.js"
+ }
+ },
+ "./error": {
+ "import": {
+ "types": "./error/index.d.ts",
+ "default": "./error/index.mjs"
+ },
+ "require": {
+ "types": "./error/index.d.ts",
+ "default": "./error/index.js"
+ }
+ },
+ "./error/*": {
+ "import": {
+ "types": "./error/*.d.ts",
+ "default": "./error/*.mjs"
+ },
+ "require": {
+ "types": "./error/*.d.ts",
+ "default": "./error/*.js"
+ }
+ },
+ "./execution": {
+ "import": {
+ "types": "./execution/index.d.ts",
+ "default": "./execution/index.mjs"
+ },
+ "require": {
+ "types": "./execution/index.d.ts",
+ "default": "./execution/index.js"
+ }
+ },
+ "./execution/*": {
+ "import": {
+ "types": "./execution/*.d.ts",
+ "default": "./execution/*.mjs"
+ },
+ "require": {
+ "types": "./execution/*.d.ts",
+ "default": "./execution/*.js"
+ }
+ },
+ "./jsutils": {
+ "import": {
+ "types": "./jsutils/index.d.ts",
+ "default": "./jsutils/index.mjs"
+ },
+ "require": {
+ "types": "./jsutils/index.d.ts",
+ "default": "./jsutils/index.js"
+ }
+ },
+ "./jsutils/*": {
+ "import": {
+ "types": "./jsutils/*.d.ts",
+ "default": "./jsutils/*.mjs"
+ },
+ "require": {
+ "types": "./jsutils/*.d.ts",
+ "default": "./jsutils/*.js"
+ }
+ },
+ "./language": {
+ "import": {
+ "types": "./language/index.d.ts",
+ "default": "./language/index.mjs"
+ },
+ "require": {
+ "types": "./language/index.d.ts",
+ "default": "./language/index.js"
+ }
+ },
+ "./language/*": {
+ "import": {
+ "types": "./language/*.d.ts",
+ "default": "./language/*.mjs"
+ },
+ "require": {
+ "types": "./language/*.d.ts",
+ "default": "./language/*.js"
+ }
+ },
+ "./subscription": {
+ "import": {
+ "types": "./subscription/index.d.ts",
+ "default": "./subscription/index.mjs"
+ },
+ "require": {
+ "types": "./subscription/index.d.ts",
+ "default": "./subscription/index.js"
+ }
+ },
+ "./subscription/*": {
+ "import": {
+ "types": "./subscription/*.d.ts",
+ "default": "./subscription/*.mjs"
+ },
+ "require": {
+ "types": "./subscription/*.d.ts",
+ "default": "./subscription/*.js"
+ }
+ },
+ "./type": {
+ "import": {
+ "types": "./type/index.d.ts",
+ "default": "./type/index.mjs"
+ },
+ "require": {
+ "types": "./type/index.d.ts",
+ "default": "./type/index.js"
+ }
+ },
+ "./type/*": {
+ "import": {
+ "types": "./type/*.d.ts",
+ "default": "./type/*.mjs"
+ },
+ "require": {
+ "types": "./type/*.d.ts",
+ "default": "./type/*.js"
+ }
+ },
+ "./utilities": {
+ "import": {
+ "types": "./utilities/index.d.ts",
+ "default": "./utilities/index.mjs"
+ },
+ "require": {
+ "types": "./utilities/index.d.ts",
+ "default": "./utilities/index.js"
+ }
+ },
+ "./utilities/*": {
+ "import": {
+ "types": "./utilities/*.d.ts",
+ "default": "./utilities/*.mjs"
+ },
+ "require": {
+ "types": "./utilities/*.d.ts",
+ "default": "./utilities/*.js"
+ }
+ },
+ "./validation": {
+ "import": {
+ "types": "./validation/index.d.ts",
+ "default": "./validation/index.mjs"
+ },
+ "require": {
+ "types": "./validation/index.d.ts",
+ "default": "./validation/index.js"
+ }
+ },
+ "./validation/*": {
+ "import": {
+ "types": "./validation/*.d.ts",
+ "default": "./validation/*.mjs"
+ },
+ "require": {
+ "types": "./validation/*.d.ts",
+ "default": "./validation/*.js"
+ }
+ }
+ },
"typesVersions": {
">=4.1.0": {
"*": [
================================================
FILE: .yarn/plugins/@yarnpkg/plugin-git-hooks.cjs
================================================
/* eslint-disable */
//prettier-ignore
module.exports = {
name: "@yarnpkg/plugin-git-hooks",
factory: function (require) {
var plugin=(()=>{var p=Object.create;var i=Object.defineProperty;var u=Object.getOwnPropertyDescriptor;var l=Object.getOwnPropertyNames;var P=Object.getPrototypeOf,m=Object.prototype.hasOwnProperty;var _=(n=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(n,{get:(e,E)=>(typeof require<"u"?require:e)[E]}):n)(function(n){if(typeof require<"u")return require.apply(this,arguments);throw new Error('Dynamic require of "'+n+'" is not supported')});var c=(n,e)=>()=>(e||n((e={exports:{}}).exports,e),e.exports),A=(n,e)=>{for(var E in e)i(n,E,{get:e[E],enumerable:!0})},C=(n,e,E,s)=>{if(e&&typeof e=="object"||typeof e=="function")for(let I of l(e))!m.call(n,I)&&I!==E&&i(n,I,{get:()=>e[I],enumerable:!(s=u(e,I))||s.enumerable});return n};var U=(n,e,E)=>(E=n!=null?p(P(n)):{},C(e||!n||!n.__esModule?i(E,"default",{value:n,enumerable:!0}):E,n)),v=n=>C(i({},"__esModule",{value:!0}),n);var L=c((M,B)=>{B.exports=[{name:"Appcircle",constant:"APPCIRCLE",env:"AC_APPCIRCLE"},{name:"AppVeyor",constant:"APPVEYOR",env:"APPVEYOR",pr:"APPVEYOR_PULL_REQUEST_NUMBER"},{name:"AWS CodeBuild",constant:"CODEBUILD",env:"CODEBUILD_BUILD_ARN"},{name:"Azure Pipelines",constant:"AZURE_PIPELINES",env:"SYSTEM_TEAMFOUNDATIONCOLLECTIONURI",pr:"SYSTEM_PULLREQUEST_PULLREQUESTID"},{name:"Bamboo",constant:"BAMBOO",env:"bamboo_planKey"},{name:"Bitbucket Pipelines",constant:"BITBUCKET",env:"BITBUCKET_COMMIT",pr:"BITBUCKET_PR_ID"},{name:"Bitrise",constant:"BITRISE",env:"BITRISE_IO",pr:"BITRISE_PULL_REQUEST"},{name:"Buddy",constant:"BUDDY",env:"BUDDY_WORKSPACE_ID",pr:"BUDDY_EXECUTION_PULL_REQUEST_ID"},{name:"Buildkite",constant:"BUILDKITE",env:"BUILDKITE",pr:{env:"BUILDKITE_PULL_REQUEST",ne:"false"}},{name:"CircleCI",constant:"CIRCLE",env:"CIRCLECI",pr:"CIRCLE_PULL_REQUEST"},{name:"Cirrus CI",constant:"CIRRUS",env:"CIRRUS_CI",pr:"CIRRUS_PR"},{name:"Codefresh",constant:"CODEFRESH",env:"CF_BUILD_ID",pr:{any:["CF_PULL_REQUEST_NUMBER","CF_PULL_REQUEST_ID"]}},{name:"Codemagic",constant:"CODEMAGIC",env:"CM_BUILD_ID",pr:"CM_PULL_REQUEST"},{name:"Codeship",constant:"CODESHIP",env:{CI_NAME:"codeship"}},{name:"Drone",constant:"DRONE",env:"DRONE",pr:{DRONE_BUILD_EVENT:"pull_request"}},{name:"dsari",constant:"DSARI",env:"DSARI"},{name:"Expo Application Services",constant:"EAS",env:"EAS_BUILD"},{name:"Gerrit",constant:"GERRIT",env:"GERRIT_PROJECT"},{name:"GitHub Actions",constant:"GITHUB_ACTIONS",env:"GITHUB_ACTIONS",pr:{GITHUB_EVENT_NAME:"pull_request"}},{name:"GitLab CI",constant:"GITLAB",env:"GITLAB_CI",pr:"CI_MERGE_REQUEST_ID"},{name:"GoCD",constant:"GOCD",env:"GO_PIPELINE_LABEL"},{name:"Google Cloud Build",constant:"GOOGLE_CLOUD_BUILD",env:"BUILDER_OUTPUT"},{name:"Harness CI",constant:"HARNESS",env:"HARNESS_BUILD_ID"},{name:"Heroku",constant:"HEROKU",env:{env:"NODE",includes:"/app/.heroku/node/bin/node"}},{name:"Hudson",constant:"HUDSON",env:"HUDSON_URL"},{name:"Jenkins",constant:"JENKINS",env:["JENKINS_URL","BUILD_ID"],pr:{any:["ghprbPullId","CHANGE_ID"]}},{name:"LayerCI",constant:"LAYERCI",env:"LAYERCI",pr:"LAYERCI_PULL_REQUEST"},{name:"Magnum CI",constant:"MAGNUM",env:"MAGNUM"},{name:"Netlify CI",constant:"NETLIFY",env:"NETLIFY",pr:{env:"PULL_REQUEST",ne:"false"}},{name:"Nevercode",constant:"NEVERCODE",env:"NEVERCODE",pr:{env:"NEVERCODE_PULL_REQUEST",ne:"false"}},{name:"ReleaseHub",constant:"RELEASEHUB",env:"RELEASE_BUILD_ID"},{name:"Render",constant:"RENDER",env:"RENDER",pr:{IS_PULL_REQUEST:"true"}},{name:"Sail CI",constant:"SAIL",env:"SAILCI",pr:"SAIL_PULL_REQUEST_NUMBER"},{name:"Screwdriver",constant:"SCREWDRIVER",env:"SCREWDRIVER",pr:{env:"SD_PULL_REQUEST",ne:"false"}},{name:"Semaphore",constant:"SEMAPHORE",env:"SEMAPHORE",pr:"PULL_REQUEST_NUMBER"},{name:"Shippable",constant:"SHIPPABLE",env:"SHIPPABLE",pr:{IS_PULL_REQUEST:"true"}},{name:"Solano CI",constant:"SOLANO",env:"TDDIUM",pr:"TDDIUM_PR_ID"},{name:"Sourcehut",constant:"SOURCEHUT",env:{CI_NAME:"sourcehut"}},{name:"Strider CD",constant:"STRIDER",env:"STRIDER"},{name:"TaskCluster",constant:"TASKCLUSTER",env:["TASK_ID","RUN_ID"]},{name:"TeamCity",constant:"TEAMCITY",env:"TEAMCITY_VERSION"},{name:"Travis CI",constant:"TRAVIS",env:"TRAVIS",pr:{env:"TRAVIS_PULL_REQUEST",ne:"false"}},{name:"Vercel",constant:"VERCEL",env:{any:["NOW_BUILDER","VERCEL"]}},{name:"Visual Studio App Center",constant:"APPCENTER",env:"APPCENTER_BUILD_ID"},{name:"Woodpecker",constant:"WOODPECKER",env:{CI:"woodpecker"},pr:{CI_BUILD_EVENT:"pull_request"}},{name:"Xcode Cloud",constant:"XCODE_CLOUD",env:"CI_XCODE_PROJECT",pr:"CI_PULL_REQUEST_NUMBER"},{name:"Xcode Server",constant:"XCODE_SERVER",env:"XCS"}]});var T=c(a=>{"use strict";var D=L(),t=process.env;Object.defineProperty(a,"_vendors",{value:D.map(function(n){return n.constant})});a.name=null;a.isPR=null;D.forEach(function(n){let E=(Array.isArray(n.env)?n.env:[n.env]).every(function(s){return S(s)});if(a[n.constant]=E,!!E)switch(a.name=n.name,typeof n.pr){case"string":a.isPR=!!t[n.pr];break;case"object":"env"in n.pr?a.isPR=n.pr.env in t&&t[n.pr.env]!==n.pr.ne:"any"in n.pr?a.isPR=n.pr.any.some(function(s){return!!t[s]}):a.isPR=S(n.pr);break;default:a.isPR=null}});a.isCI=!!(t.CI!=="false"&&(t.BUILD_ID||t.BUILD_NUMBER||t.CI||t.CI_APP_ID||t.CI_BUILD_ID||t.CI_BUILD_NUMBER||t.CI_NAME||t.CONTINUOUS_INTEGRATION||t.RUN_ID||a.name||!1));function S(n){return typeof n=="string"?!!t[n]:"env"in n?t[n.env]&&t[n.env].includes(n.includes):"any"in n?n.any.some(function(e){return!!t[e]}):Object.keys(n).every(function(e){return t[e]===n[e]})}});var d={};A(d,{default:()=>O});var o=U(_("process")),r=_("@yarnpkg/core"),R=U(T()),N={configuration:{gitHooksPath:{description:"Path to git hooks directory (recommended: .github/hooks)",type:r.SettingsType.STRING,default:null},disableGitHooks:{description:"Disable automatic git hooks installation",type:r.SettingsType.BOOLEAN,default:R.default.isCI}},hooks:{afterAllInstalled:async n=>{let e=n.configuration.get("gitHooksPath"),E=n.configuration.get("disableGitHooks"),s=Boolean(n.cwd?.endsWith(`dlx-${o.default.pid}`));if(e&&!R.default.isCI&&!s&&!E)return r.execUtils.pipevp("git",["config","core.hooksPath",e],{cwd:n.cwd,strict:!0,stdin:o.default.stdin,stdout:o.default.stdout,stderr:o.default.stderr})}}},O=N;return v(d);})();
return plugin;
}
};
================================================
FILE: .yarn/releases/yarn-4.12.0.cjs
================================================
#!/usr/bin/env node
/* eslint-disable */
//prettier-ignore
(()=>{var xGe=Object.create;var mU=Object.defineProperty;var kGe=Object.getOwnPropertyDescriptor;var QGe=Object.getOwnPropertyNames;var TGe=Object.getPrototypeOf,RGe=Object.prototype.hasOwnProperty;var Ie=(t=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(t,{get:(e,r)=>(typeof require<"u"?require:e)[r]}):t)(function(t){if(typeof require<"u")return require.apply(this,arguments);throw Error('Dynamic require of "'+t+'" is not supported')});var Xe=(t,e)=>()=>(t&&(e=t(t=0)),e);var _=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),Vt=(t,e)=>{for(var r in e)mU(t,r,{get:e[r],enumerable:!0})},FGe=(t,e,r,s)=>{if(e&&typeof e=="object"||typeof e=="function")for(let a of QGe(e))!RGe.call(t,a)&&a!==r&&mU(t,a,{get:()=>e[a],enumerable:!(s=kGe(e,a))||s.enumerable});return t};var ut=(t,e,r)=>(r=t!=null?xGe(TGe(t)):{},FGe(e||!t||!t.__esModule?mU(r,"default",{value:t,enumerable:!0}):r,t));var fi={};Vt(fi,{SAFE_TIME:()=>WZ,S_IFDIR:()=>JP,S_IFLNK:()=>KP,S_IFMT:()=>Mf,S_IFREG:()=>N2});var Mf,JP,N2,KP,WZ,YZ=Xe(()=>{Mf=61440,JP=16384,N2=32768,KP=40960,WZ=456789e3});var or={};Vt(or,{EBADF:()=>Mo,EBUSY:()=>NGe,EEXIST:()=>HGe,EINVAL:()=>LGe,EISDIR:()=>_Ge,ENOENT:()=>MGe,ENOSYS:()=>OGe,ENOTDIR:()=>UGe,ENOTEMPTY:()=>GGe,EOPNOTSUPP:()=>qGe,EROFS:()=>jGe,ERR_DIR_CLOSED:()=>yU});function Cc(t,e){return Object.assign(new Error(`${t}: ${e}`),{code:t})}function NGe(t){return Cc("EBUSY",t)}function OGe(t,e){return Cc("ENOSYS",`${t}, ${e}`)}function LGe(t){return Cc("EINVAL",`invalid argument, ${t}`)}function Mo(t){return Cc("EBADF",`bad file descriptor, ${t}`)}function MGe(t){return Cc("ENOENT",`no such file or directory, ${t}`)}function UGe(t){return Cc("ENOTDIR",`not a directory, ${t}`)}function _Ge(t){return Cc("EISDIR",`illegal operation on a directory, ${t}`)}function HGe(t){return Cc("EEXIST",`file already exists, ${t}`)}function jGe(t){return Cc("EROFS",`read-only filesystem, ${t}`)}function GGe(t){return Cc("ENOTEMPTY",`directory not empty, ${t}`)}function qGe(t){return Cc("EOPNOTSUPP",`operation not supported, ${t}`)}function yU(){return Cc("ERR_DIR_CLOSED","Directory handle was closed")}var zP=Xe(()=>{});var $a={};Vt($a,{BigIntStatsEntry:()=>iE,DEFAULT_MODE:()=>CU,DirEntry:()=>EU,StatEntry:()=>nE,areStatsEqual:()=>wU,clearStats:()=>XP,convertToBigIntStats:()=>YGe,makeDefaultStats:()=>VZ,makeEmptyStats:()=>WGe});function VZ(){return new nE}function WGe(){return XP(VZ())}function XP(t){for(let e in t)if(Object.hasOwn(t,e)){let r=t[e];typeof r=="number"?t[e]=0:typeof r=="bigint"?t[e]=BigInt(0):IU.types.isDate(r)&&(t[e]=new Date(0))}return t}function YGe(t){let e=new iE;for(let r in t)if(Object.hasOwn(t,r)){let s=t[r];typeof s=="number"?e[r]=BigInt(s):IU.types.isDate(s)&&(e[r]=new Date(s))}return e.atimeNs=e.atimeMs*BigInt(1e6),e.mtimeNs=e.mtimeMs*BigInt(1e6),e.ctimeNs=e.ctimeMs*BigInt(1e6),e.birthtimeNs=e.birthtimeMs*BigInt(1e6),e}function wU(t,e){if(t.atimeMs!==e.atimeMs||t.birthtimeMs!==e.birthtimeMs||t.blksize!==e.blksize||t.blocks!==e.blocks||t.ctimeMs!==e.ctimeMs||t.dev!==e.dev||t.gid!==e.gid||t.ino!==e.ino||t.isBlockDevice()!==e.isBlockDevice()||t.isCharacterDevice()!==e.isCharacterDevice()||t.isDirectory()!==e.isDirectory()||t.isFIFO()!==e.isFIFO()||t.isFile()!==e.isFile()||t.isSocket()!==e.isSocket()||t.isSymbolicLink()!==e.isSymbolicLink()||t.mode!==e.mode||t.mtimeMs!==e.mtimeMs||t.nlink!==e.nlink||t.rdev!==e.rdev||t.size!==e.size||t.uid!==e.uid)return!1;let r=t,s=e;return!(r.atimeNs!==s.atimeNs||r.mtimeNs!==s.mtimeNs||r.ctimeNs!==s.ctimeNs||r.birthtimeNs!==s.birthtimeNs)}var IU,CU,EU,nE,iE,BU=Xe(()=>{IU=ut(Ie("util")),CU=33188,EU=class{constructor(){this.name="";this.path="";this.mode=0}isBlockDevice(){return!1}isCharacterDevice(){return!1}isDirectory(){return(this.mode&61440)===16384}isFIFO(){return!1}isFile(){return(this.mode&61440)===32768}isSocket(){return!1}isSymbolicLink(){return(this.mode&61440)===40960}},nE=class{constructor(){this.uid=0;this.gid=0;this.size=0;this.blksize=0;this.atimeMs=0;this.mtimeMs=0;this.ctimeMs=0;this.birthtimeMs=0;this.atime=new Date(0);this.mtime=new Date(0);this.ctime=new Date(0);this.birthtime=new Date(0);this.dev=0;this.ino=0;this.mode=CU;this.nlink=1;this.rdev=0;this.blocks=1}isBlockDevice(){return!1}isCharacterDevice(){return!1}isDirectory(){return(this.mode&61440)===16384}isFIFO(){return!1}isFile(){return(this.mode&61440)===32768}isSocket(){return!1}isSymbolicLink(){return(this.mode&61440)===40960}},iE=class{constructor(){this.uid=BigInt(0);this.gid=BigInt(0);this.size=BigInt(0);this.blksize=BigInt(0);this.atimeMs=BigInt(0);this.mtimeMs=BigInt(0);this.ctimeMs=BigInt(0);this.birthtimeMs=BigInt(0);this.atimeNs=BigInt(0);this.mtimeNs=BigInt(0);this.ctimeNs=BigInt(0);this.birthtimeNs=BigInt(0);this.atime=new Date(0);this.mtime=new Date(0);this.ctime=new Date(0);this.birthtime=new Date(0);this.dev=BigInt(0);this.ino=BigInt(0);this.mode=BigInt(CU);this.nlink=BigInt(1);this.rdev=BigInt(0);this.blocks=BigInt(1)}isBlockDevice(){return!1}isCharacterDevice(){return!1}isDirectory(){return(this.mode&BigInt(61440))===BigInt(16384)}isFIFO(){return!1}isFile(){return(this.mode&BigInt(61440))===BigInt(32768)}isSocket(){return!1}isSymbolicLink(){return(this.mode&BigInt(61440))===BigInt(40960)}}});function XGe(t){let e,r;if(e=t.match(KGe))t=e[1];else if(r=t.match(zGe))t=`\\\\${r[1]?".\\":""}${r[2]}`;else return t;return t.replace(/\//g,"\\")}function ZGe(t){t=t.replace(/\\/g,"/");let e,r;return(e=t.match(VGe))?t=`/${e[1]}`:(r=t.match(JGe))&&(t=`/unc/${r[1]?".dot/":""}${r[2]}`),t}function ZP(t,e){return t===fe?KZ(e):vU(e)}var O2,vt,Er,fe,J,JZ,VGe,JGe,KGe,zGe,vU,KZ,el=Xe(()=>{O2=ut(Ie("path")),vt={root:"/",dot:".",parent:".."},Er={home:"~",nodeModules:"node_modules",manifest:"package.json",lockfile:"yarn.lock",virtual:"__virtual__",pnpJs:".pnp.js",pnpCjs:".pnp.cjs",pnpData:".pnp.data.json",pnpEsmLoader:".pnp.loader.mjs",rc:".yarnrc.yml",env:".env"},fe=Object.create(O2.default),J=Object.create(O2.default.posix);fe.cwd=()=>process.cwd();J.cwd=process.platform==="win32"?()=>vU(process.cwd()):process.cwd;process.platform==="win32"&&(J.resolve=(...t)=>t.length>0&&J.isAbsolute(t[0])?O2.default.posix.resolve(...t):O2.default.posix.resolve(J.cwd(),...t));JZ=function(t,e,r){return e=t.normalize(e),r=t.normalize(r),e===r?".":(e.endsWith(t.sep)||(e=e+t.sep),r.startsWith(e)?r.slice(e.length):null)};fe.contains=(t,e)=>JZ(fe,t,e);J.contains=(t,e)=>JZ(J,t,e);VGe=/^([a-zA-Z]:.*)$/,JGe=/^\/\/(\.\/)?(.*)$/,KGe=/^\/([a-zA-Z]:.*)$/,zGe=/^\/unc\/(\.dot\/)?(.*)$/;vU=process.platform==="win32"?ZGe:t=>t,KZ=process.platform==="win32"?XGe:t=>t;fe.fromPortablePath=KZ;fe.toPortablePath=vU});async function $P(t,e){let r="0123456789abcdef";await t.mkdirPromise(e.indexPath,{recursive:!0});let s=[];for(let a of r)for(let n of r)s.push(t.mkdirPromise(t.pathUtils.join(e.indexPath,`${a}${n}`),{recursive:!0}));return await Promise.all(s),e.indexPath}async function zZ(t,e,r,s,a){let n=t.pathUtils.normalize(e),c=r.pathUtils.normalize(s),f=[],p=[],{atime:h,mtime:E}=a.stableTime?{atime:dd,mtime:dd}:await r.lstatPromise(c);await t.mkdirpPromise(t.pathUtils.dirname(e),{utimes:[h,E]}),await SU(f,p,t,n,r,c,{...a,didParentExist:!0});for(let C of f)await C();await Promise.all(p.map(C=>C()))}async function SU(t,e,r,s,a,n,c){let f=c.didParentExist?await XZ(r,s):null,p=await a.lstatPromise(n),{atime:h,mtime:E}=c.stableTime?{atime:dd,mtime:dd}:p,C;switch(!0){case p.isDirectory():C=await e5e(t,e,r,s,f,a,n,p,c);break;case p.isFile():C=await n5e(t,e,r,s,f,a,n,p,c);break;case p.isSymbolicLink():C=await i5e(t,e,r,s,f,a,n,p,c);break;default:throw new Error(`Unsupported file type (${p.mode})`)}return(c.linkStrategy?.type!=="HardlinkFromIndex"||!p.isFile())&&((C||f?.mtime?.getTime()!==E.getTime()||f?.atime?.getTime()!==h.getTime())&&(e.push(()=>r.lutimesPromise(s,h,E)),C=!0),(f===null||(f.mode&511)!==(p.mode&511))&&(e.push(()=>r.chmodPromise(s,p.mode&511)),C=!0)),C}async function XZ(t,e){try{return await t.lstatPromise(e)}catch{return null}}async function e5e(t,e,r,s,a,n,c,f,p){if(a!==null&&!a.isDirectory())if(p.overwrite)t.push(async()=>r.removePromise(s)),a=null;else return!1;let h=!1;a===null&&(t.push(async()=>{try{await r.mkdirPromise(s,{mode:f.mode})}catch(S){if(S.code!=="EEXIST")throw S}}),h=!0);let E=await n.readdirPromise(c),C=p.didParentExist&&!a?{...p,didParentExist:!1}:p;if(p.stableSort)for(let S of E.sort())await SU(t,e,r,r.pathUtils.join(s,S),n,n.pathUtils.join(c,S),C)&&(h=!0);else(await Promise.all(E.map(async P=>{await SU(t,e,r,r.pathUtils.join(s,P),n,n.pathUtils.join(c,P),C)}))).some(P=>P)&&(h=!0);return h}async function t5e(t,e,r,s,a,n,c,f,p,h){let E=await n.checksumFilePromise(c,{algorithm:"sha1"}),C=420,S=f.mode&511,P=`${E}${S!==C?S.toString(8):""}`,I=r.pathUtils.join(h.indexPath,E.slice(0,2),`${P}.dat`),R;(le=>(le[le.Lock=0]="Lock",le[le.Rename=1]="Rename"))(R||={});let N=1,U=await XZ(r,I);if(a){let ie=U&&a.dev===U.dev&&a.ino===U.ino,ue=U?.mtimeMs!==$Ge;if(ie&&ue&&h.autoRepair&&(N=0,U=null),!ie)if(p.overwrite)t.push(async()=>r.removePromise(s)),a=null;else return!1}let W=!U&&N===1?`${I}.${Math.floor(Math.random()*4294967296).toString(16).padStart(8,"0")}`:null,ee=!1;return t.push(async()=>{if(!U&&(N===0&&await r.lockPromise(I,async()=>{let ie=await n.readFilePromise(c);await r.writeFilePromise(I,ie)}),N===1&&W)){let ie=await n.readFilePromise(c);await r.writeFilePromise(W,ie);try{await r.linkPromise(W,I)}catch(ue){if(ue.code==="EEXIST")ee=!0,await r.unlinkPromise(W);else throw ue}}a||await r.linkPromise(I,s)}),e.push(async()=>{U||(await r.lutimesPromise(I,dd,dd),S!==C&&await r.chmodPromise(I,S)),W&&!ee&&await r.unlinkPromise(W)}),!1}async function r5e(t,e,r,s,a,n,c,f,p){if(a!==null)if(p.overwrite)t.push(async()=>r.removePromise(s)),a=null;else return!1;return t.push(async()=>{let h=await n.readFilePromise(c);await r.writeFilePromise(s,h)}),!0}async function n5e(t,e,r,s,a,n,c,f,p){return p.linkStrategy?.type==="HardlinkFromIndex"?t5e(t,e,r,s,a,n,c,f,p,p.linkStrategy):r5e(t,e,r,s,a,n,c,f,p)}async function i5e(t,e,r,s,a,n,c,f,p){if(a!==null)if(p.overwrite)t.push(async()=>r.removePromise(s)),a=null;else return!1;return t.push(async()=>{await r.symlinkPromise(ZP(r.pathUtils,await n.readlinkPromise(c)),s)}),!0}var dd,$Ge,DU=Xe(()=>{el();dd=new Date(456789e3*1e3),$Ge=dd.getTime()});function ex(t,e,r,s){let a=()=>{let n=r.shift();if(typeof n>"u")return null;let c=t.pathUtils.join(e,n);return Object.assign(t.statSync(c),{name:n,path:void 0})};return new L2(e,a,s)}var L2,ZZ=Xe(()=>{zP();L2=class{constructor(e,r,s={}){this.path=e;this.nextDirent=r;this.opts=s;this.closed=!1}throwIfClosed(){if(this.closed)throw yU()}async*[Symbol.asyncIterator](){try{let e;for(;(e=await this.read())!==null;)yield e}finally{await this.close()}}read(e){let r=this.readSync();return typeof e<"u"?e(null,r):Promise.resolve(r)}readSync(){return this.throwIfClosed(),this.nextDirent()}close(e){return this.closeSync(),typeof e<"u"?e(null):Promise.resolve()}closeSync(){this.throwIfClosed(),this.opts.onClose?.(),this.closed=!0}}});function $Z(t,e){if(t!==e)throw new Error(`Invalid StatWatcher status: expected '${e}', got '${t}'`)}var e$,tx,t$=Xe(()=>{e$=Ie("events");BU();tx=class t extends e$.EventEmitter{constructor(r,s,{bigint:a=!1}={}){super();this.status="ready";this.changeListeners=new Map;this.startTimeout=null;this.fakeFs=r,this.path=s,this.bigint=a,this.lastStats=this.stat()}static create(r,s,a){let n=new t(r,s,a);return n.start(),n}start(){$Z(this.status,"ready"),this.status="running",this.startTimeout=setTimeout(()=>{this.startTimeout=null,this.fakeFs.existsSync(this.path)||this.emit("change",this.lastStats,this.lastStats)},3)}stop(){$Z(this.status,"running"),this.status="stopped",this.startTimeout!==null&&(clearTimeout(this.startTimeout),this.startTimeout=null),this.emit("stop")}stat(){try{return this.fakeFs.statSync(this.path,{bigint:this.bigint})}catch{let r=this.bigint?new iE:new nE;return XP(r)}}makeInterval(r){let s=setInterval(()=>{let a=this.stat(),n=this.lastStats;wU(a,n)||(this.lastStats=a,this.emit("change",a,n))},r.interval);return r.persistent?s:s.unref()}registerChangeListener(r,s){this.addListener("change",r),this.changeListeners.set(r,this.makeInterval(s))}unregisterChangeListener(r){this.removeListener("change",r);let s=this.changeListeners.get(r);typeof s<"u"&&clearInterval(s),this.changeListeners.delete(r)}unregisterAllChangeListeners(){for(let r of this.changeListeners.keys())this.unregisterChangeListener(r)}hasChangeListeners(){return this.changeListeners.size>0}ref(){for(let r of this.changeListeners.values())r.ref();return this}unref(){for(let r of this.changeListeners.values())r.unref();return this}}});function sE(t,e,r,s){let a,n,c,f;switch(typeof r){case"function":a=!1,n=!0,c=5007,f=r;break;default:({bigint:a=!1,persistent:n=!0,interval:c=5007}=r),f=s;break}let p=rx.get(t);typeof p>"u"&&rx.set(t,p=new Map);let h=p.get(e);return typeof h>"u"&&(h=tx.create(t,e,{bigint:a}),p.set(e,h)),h.registerChangeListener(f,{persistent:n,interval:c}),h}function md(t,e,r){let s=rx.get(t);if(typeof s>"u")return;let a=s.get(e);typeof a>"u"||(typeof r>"u"?a.unregisterAllChangeListeners():a.unregisterChangeListener(r),a.hasChangeListeners()||(a.stop(),s.delete(e)))}function yd(t){let e=rx.get(t);if(!(typeof e>"u"))for(let r of e.keys())md(t,r)}var rx,bU=Xe(()=>{t$();rx=new WeakMap});function s5e(t){let e=t.match(/\r?\n/g);if(e===null)return n$.EOL;let r=e.filter(a=>a===`\r
`).length,s=e.length-r;return r>s?`\r
`:`
`}function Ed(t,e){return e.replace(/\r?\n/g,s5e(t))}var r$,n$,mp,Uf,Id=Xe(()=>{r$=Ie("crypto"),n$=Ie("os");DU();el();mp=class{constructor(e){this.pathUtils=e}async*genTraversePromise(e,{stableSort:r=!1}={}){let s=[e];for(;s.length>0;){let a=s.shift();if((await this.lstatPromise(a)).isDirectory()){let c=await this.readdirPromise(a);if(r)for(let f of c.sort())s.push(this.pathUtils.join(a,f));else throw new Error("Not supported")}else yield a}}async checksumFilePromise(e,{algorithm:r="sha512"}={}){let s=await this.openPromise(e,"r");try{let n=Buffer.allocUnsafeSlow(65536),c=(0,r$.createHash)(r),f=0;for(;(f=await this.readPromise(s,n,0,65536))!==0;)c.update(f===65536?n:n.slice(0,f));return c.digest("hex")}finally{await this.closePromise(s)}}async removePromise(e,{recursive:r=!0,maxRetries:s=5}={}){let a;try{a=await this.lstatPromise(e)}catch(n){if(n.code==="ENOENT")return;throw n}if(a.isDirectory()){if(r){let n=await this.readdirPromise(e);await Promise.all(n.map(c=>this.removePromise(this.pathUtils.resolve(e,c))))}for(let n=0;n<=s;n++)try{await this.rmdirPromise(e);break}catch(c){if(c.code!=="EBUSY"&&c.code!=="ENOTEMPTY")throw c;n<s&&await new Promise(f=>setTimeout(f,n*100))}}else await this.unlinkPromise(e)}removeSync(e,{recursive:r=!0}={}){let s;try{s=this.lstatSync(e)}catch(a){if(a.code==="ENOENT")return;throw a}if(s.isDirectory()){if(r)for(let a of this.readdirSync(e))this.removeSync(this.pathUtils.resolve(e,a));this.rmdirSync(e)}else this.unlinkSync(e)}async mkdirpPromise(e,{chmod:r,utimes:s}={}){if(e=this.resolve(e),e===this.pathUtils.dirname(e))return;let a=e.split(this.pathUtils.sep),n;for(let c=2;c<=a.length;++c){let f=a.slice(0,c).join(this.pathUtils.sep);if(!this.existsSync(f)){try{await this.mkdirPromise(f)}catch(p){if(p.code==="EEXIST")continue;throw p}if(n??=f,r!=null&&await this.chmodPromise(f,r),s!=null)await this.utimesPromise(f,s[0],s[1]);else{let p=await this.statPromise(this.pathUtils.dirname(f));await this.utimesPromise(f,p.atime,p.mtime)}}}return n}mkdirpSync(e,{chmod:r,utimes:s}={}){if(e=this.resolve(e),e===this.pathUtils.dirname(e))return;let a=e.split(this.pathUtils.sep),n;for(let c=2;c<=a.length;++c){let f=a.slice(0,c).join(this.pathUtils.sep);if(!this.existsSync(f)){try{this.mkdirSync(f)}catch(p){if(p.code==="EEXIST")continue;throw p}if(n??=f,r!=null&&this.chmodSync(f,r),s!=null)this.utimesSync(f,s[0],s[1]);else{let p=this.statSync(this.pathUtils.dirname(f));this.utimesSync(f,p.atime,p.mtime)}}}return n}async copyPromise(e,r,{baseFs:s=this,overwrite:a=!0,stableSort:n=!1,stableTime:c=!1,linkStrategy:f=null}={}){return await zZ(this,e,s,r,{overwrite:a,stableSort:n,stableTime:c,linkStrategy:f})}copySync(e,r,{baseFs:s=this,overwrite:a=!0}={}){let n=s.lstatSync(r),c=this.existsSync(e);if(n.isDirectory()){this.mkdirpSync(e);let p=s.readdirSync(r);for(let h of p)this.copySync(this.pathUtils.join(e,h),s.pathUtils.join(r,h),{baseFs:s,overwrite:a})}else if(n.isFile()){if(!c||a){c&&this.removeSync(e);let p=s.readFileSync(r);this.writeFileSync(e,p)}}else if(n.isSymbolicLink()){if(!c||a){c&&this.removeSync(e);let p=s.readlinkSync(r);this.symlinkSync(ZP(this.pathUtils,p),e)}}else throw new Error(`Unsupported file type (file: ${r}, mode: 0o${n.mode.toString(8).padStart(6,"0")})`);let f=n.mode&511;this.chmodSync(e,f)}async changeFilePromise(e,r,s={}){return Buffer.isBuffer(r)?this.changeFileBufferPromise(e,r,s):this.changeFileTextPromise(e,r,s)}async changeFileBufferPromise(e,r,{mode:s}={}){let a=Buffer.alloc(0);try{a=await this.readFilePromise(e)}catch{}Buffer.compare(a,r)!==0&&await this.writeFilePromise(e,r,{mode:s})}async changeFileTextPromise(e,r,{automaticNewlines:s,mode:a}={}){let n="";try{n=await this.readFilePromise(e,"utf8")}catch{}let c=s?Ed(n,r):r;n!==c&&await this.writeFilePromise(e,c,{mode:a})}changeFileSync(e,r,s={}){return Buffer.isBuffer(r)?this.changeFileBufferSync(e,r,s):this.changeFileTextSync(e,r,s)}changeFileBufferSync(e,r,{mode:s}={}){let a=Buffer.alloc(0);try{a=this.readFileSync(e)}catch{}Buffer.compare(a,r)!==0&&this.writeFileSync(e,r,{mode:s})}changeFileTextSync(e,r,{automaticNewlines:s=!1,mode:a}={}){let n="";try{n=this.readFileSync(e,"utf8")}catch{}let c=s?Ed(n,r):r;n!==c&&this.writeFileSync(e,c,{mode:a})}async movePromise(e,r){try{await this.renamePromise(e,r)}catch(s){if(s.code==="EXDEV")await this.copyPromise(r,e),await this.removePromise(e);else throw s}}moveSync(e,r){try{this.renameSync(e,r)}catch(s){if(s.code==="EXDEV")this.copySync(r,e),this.removeSync(e);else throw s}}async lockPromise(e,r){let s=`${e}.flock`,a=1e3/60,n=Date.now(),c=null,f=async()=>{let p;try{[p]=await this.readJsonPromise(s)}catch{return Date.now()-n<500}try{return process.kill(p,0),!0}catch{return!1}};for(;c===null;)try{c=await this.openPromise(s,"wx")}catch(p){if(p.code==="EEXIST"){if(!await f())try{await this.unlinkPromise(s);continue}catch{}if(Date.now()-n<60*1e3)await new Promise(h=>setTimeout(h,a));else throw new Error(`Couldn't acquire a lock in a reasonable time (via ${s})`)}else throw p}await this.writePromise(c,JSON.stringify([process.pid]));try{return await r()}finally{try{await this.closePromise(c),await this.unlinkPromise(s)}catch{}}}async readJsonPromise(e){let r=await this.readFilePromise(e,"utf8");try{return JSON.parse(r)}catch(s){throw s.message+=` (in ${e})`,s}}readJsonSync(e){let r=this.readFileSync(e,"utf8");try{return JSON.parse(r)}catch(s){throw s.message+=` (in ${e})`,s}}async writeJsonPromise(e,r,{compact:s=!1}={}){let a=s?0:2;return await this.writeFilePromise(e,`${JSON.stringify(r,null,a)}
`)}writeJsonSync(e,r,{compact:s=!1}={}){let a=s?0:2;return this.writeFileSync(e,`${JSON.stringify(r,null,a)}
`)}async preserveTimePromise(e,r){let s=await this.lstatPromise(e),a=await r();typeof a<"u"&&(e=a),await this.lutimesPromise(e,s.atime,s.mtime)}async preserveTimeSync(e,r){let s=this.lstatSync(e),a=r();typeof a<"u"&&(e=a),this.lutimesSync(e,s.atime,s.mtime)}},Uf=class extends mp{constructor(){super(J)}}});var _s,yp=Xe(()=>{Id();_s=class extends mp{getExtractHint(e){return this.baseFs.getExtractHint(e)}resolve(e){return this.mapFromBase(this.baseFs.resolve(this.mapToBase(e)))}getRealPath(){return this.mapFromBase(this.baseFs.getRealPath())}async openPromise(e,r,s){return this.baseFs.openPromise(this.mapToBase(e),r,s)}openSync(e,r,s){return this.baseFs.openSync(this.mapToBase(e),r,s)}async opendirPromise(e,r){return Object.assign(await this.baseFs.opendirPromise(this.mapToBase(e),r),{path:e})}opendirSync(e,r){return Object.assign(this.baseFs.opendirSync(this.mapToBase(e),r),{path:e})}async readPromise(e,r,s,a,n){return await this.baseFs.readPromise(e,r,s,a,n)}readSync(e,r,s,a,n){return this.baseFs.readSync(e,r,s,a,n)}async writePromise(e,r,s,a,n){return typeof r=="string"?await this.baseFs.writePromise(e,r,s):await this.baseFs.writePromise(e,r,s,a,n)}writeSync(e,r,s,a,n){return typeof r=="string"?this.baseFs.writeSync(e,r,s):this.baseFs.writeSync(e,r,s,a,n)}async closePromise(e){return this.baseFs.closePromise(e)}closeSync(e){this.baseFs.closeSync(e)}createReadStream(e,r){return this.baseFs.createReadStream(e!==null?this.mapToBase(e):e,r)}createWriteStream(e,r){return this.baseFs.createWriteStream(e!==null?this.mapToBase(e):e,r)}async realpathPromise(e){return this.mapFromBase(await this.baseFs.realpathPromise(this.mapToBase(e)))}realpathSync(e){return this.mapFromBase(this.baseFs.realpathSync(this.mapToBase(e)))}async existsPromise(e){return this.baseFs.existsPromise(this.mapToBase(e))}existsSync(e){return this.baseFs.existsSync(this.mapToBase(e))}accessSync(e,r){return this.baseFs.accessSync(this.mapToBase(e),r)}async accessPromise(e,r){return this.baseFs.accessPromise(this.mapToBase(e),r)}async statPromise(e,r){return this.baseFs.statPromise(this.mapToBase(e),r)}statSync(e,r){return this.baseFs.statSync(this.mapToBase(e),r)}async fstatPromise(e,r){return this.baseFs.fstatPromise(e,r)}fstatSync(e,r){return this.baseFs.fstatSync(e,r)}lstatPromise(e,r){return this.baseFs.lstatPromise(this.mapToBase(e),r)}lstatSync(e,r){return this.baseFs.lstatSync(this.mapToBase(e),r)}async fchmodPromise(e,r){return this.baseFs.fchmodPromise(e,r)}fchmodSync(e,r){return this.baseFs.fchmodSync(e,r)}async chmodPromise(e,r){return this.baseFs.chmodPromise(this.mapToBase(e),r)}chmodSync(e,r){return this.baseFs.chmodSync(this.mapToBase(e),r)}async fchownPromise(e,r,s){return this.baseFs.fchownPromise(e,r,s)}fchownSync(e,r,s){return this.baseFs.fchownSync(e,r,s)}async chownPromise(e,r,s){return this.baseFs.chownPromise(this.mapToBase(e),r,s)}chownSync(e,r,s){return this.baseFs.chownSync(this.mapToBase(e),r,s)}async renamePromise(e,r){return this.baseFs.renamePromise(this.mapToBase(e),this.mapToBase(r))}renameSync(e,r){return this.baseFs.renameSync(this.mapToBase(e),this.mapToBase(r))}async copyFilePromise(e,r,s=0){return this.baseFs.copyFilePromise(this.mapToBase(e),this.mapToBase(r),s)}copyFileSync(e,r,s=0){return this.baseFs.copyFileSync(this.mapToBase(e),this.mapToBase(r),s)}async appendFilePromise(e,r,s){return this.baseFs.appendFilePromise(this.fsMapToBase(e),r,s)}appendFileSync(e,r,s){return this.baseFs.appendFileSync(this.fsMapToBase(e),r,s)}async writeFilePromise(e,r,s){return this.baseFs.writeFilePromise(this.fsMapToBase(e),r,s)}writeFileSync(e,r,s){return this.baseFs.writeFileSync(this.fsMapToBase(e),r,s)}async unlinkPromise(e){return this.baseFs.unlinkPromise(this.mapToBase(e))}unlinkSync(e){return this.baseFs.unlinkSync(this.mapToBase(e))}async utimesPromise(e,r,s){return this.baseFs.utimesPromise(this.mapToBase(e),r,s)}utimesSync(e,r,s){return this.baseFs.utimesSync(this.mapToBase(e),r,s)}async lutimesPromise(e,r,s){return this.baseFs.lutimesPromise(this.mapToBase(e),r,s)}lutimesSync(e,r,s){return this.baseFs.lutimesSync(this.mapToBase(e),r,s)}async mkdirPromise(e,r){return this.baseFs.mkdirPromise(this.mapToBase(e),r)}mkdirSync(e,r){return this.baseFs.mkdirSync(this.mapToBase(e),r)}async rmdirPromise(e,r){return this.baseFs.rmdirPromise(this.mapToBase(e),r)}rmdirSync(e,r){return this.baseFs.rmdirSync(this.mapToBase(e),r)}async rmPromise(e,r){return this.baseFs.rmPromise(this.mapToBase(e),r)}rmSync(e,r){return this.baseFs.rmSync(this.mapToBase(e),r)}async linkPromise(e,r){return this.baseFs.linkPromise(this.mapToBase(e),this.mapToBase(r))}linkSync(e,r){return this.baseFs.linkSync(this.mapToBase(e),this.mapToBase(r))}async symlinkPromise(e,r,s){let a=this.mapToBase(r);if(this.pathUtils.isAbsolute(e))return this.baseFs.symlinkPromise(this.mapToBase(e),a,s);let n=this.mapToBase(this.pathUtils.join(this.pathUtils.dirname(r),e)),c=this.baseFs.pathUtils.relative(this.baseFs.pathUtils.dirname(a),n);return this.baseFs.symlinkPromise(c,a,s)}symlinkSync(e,r,s){let a=this.mapToBase(r);if(this.pathUtils.isAbsolute(e))return this.baseFs.symlinkSync(this.mapToBase(e),a,s);let n=this.mapToBase(this.pathUtils.join(this.pathUtils.dirname(r),e)),c=this.baseFs.pathUtils.relative(this.baseFs.pathUtils.dirname(a),n);return this.baseFs.symlinkSync(c,a,s)}async readFilePromise(e,r){return this.baseFs.readFilePromise(this.fsMapToBase(e),r)}readFileSync(e,r){return this.baseFs.readFileSync(this.fsMapToBase(e),r)}readdirPromise(e,r){return this.baseFs.readdirPromise(this.mapToBase(e),r)}readdirSync(e,r){return this.baseFs.readdirSync(this.mapToBase(e),r)}async readlinkPromise(e){return this.mapFromBase(await this.baseFs.readlinkPromise(this.mapToBase(e)))}readlinkSync(e){return this.mapFromBase(this.baseFs.readlinkSync(this.mapToBase(e)))}async truncatePromise(e,r){return this.baseFs.truncatePromise(this.mapToBase(e),r)}truncateSync(e,r){return this.baseFs.truncateSync(this.mapToBase(e),r)}async ftruncatePromise(e,r){return this.baseFs.ftruncatePromise(e,r)}ftruncateSync(e,r){return this.baseFs.ftruncateSync(e,r)}watch(e,r,s){return this.baseFs.watch(this.mapToBase(e),r,s)}watchFile(e,r,s){return this.baseFs.watchFile(this.mapToBase(e),r,s)}unwatchFile(e,r){return this.baseFs.unwatchFile(this.mapToBase(e),r)}fsMapToBase(e){return typeof e=="number"?e:this.mapToBase(e)}}});var _f,i$=Xe(()=>{yp();_f=class extends _s{constructor(e,{baseFs:r,pathUtils:s}){super(s),this.target=e,this.baseFs=r}getRealPath(){return this.target}getBaseFs(){return this.baseFs}mapFromBase(e){return e}mapToBase(e){return e}}});function s$(t){let e=t;return typeof t.path=="string"&&(e.path=fe.toPortablePath(t.path)),e}var o$,Yn,Cd=Xe(()=>{o$=ut(Ie("fs"));Id();el();Yn=class extends Uf{constructor(e=o$.default){super(),this.realFs=e}getExtractHint(){return!1}getRealPath(){return vt.root}resolve(e){return J.resolve(e)}async openPromise(e,r,s){return await new Promise((a,n)=>{this.realFs.open(fe.fromPortablePath(e),r,s,this.makeCallback(a,n))})}openSync(e,r,s){return this.realFs.openSync(fe.fromPortablePath(e),r,s)}async opendirPromise(e,r){return await new Promise((s,a)=>{typeof r<"u"?this.realFs.opendir(fe.fromPortablePath(e),r,this.makeCallback(s,a)):this.realFs.opendir(fe.fromPortablePath(e),this.makeCallback(s,a))}).then(s=>{let a=s;return Object.defineProperty(a,"path",{value:e,configurable:!0,writable:!0}),a})}opendirSync(e,r){let a=typeof r<"u"?this.realFs.opendirSync(fe.fromPortablePath(e),r):this.realFs.opendirSync(fe.fromPortablePath(e));return Object.defineProperty(a,"path",{value:e,configurable:!0,writable:!0}),a}async readPromise(e,r,s=0,a=0,n=-1){return await new Promise((c,f)=>{this.realFs.read(e,r,s,a,n,(p,h)=>{p?f(p):c(h)})})}readSync(e,r,s,a,n){return this.realFs.readSync(e,r,s,a,n)}async writePromise(e,r,s,a,n){return await new Promise((c,f)=>typeof r=="string"?this.realFs.write(e,r,s,this.makeCallback(c,f)):this.realFs.write(e,r,s,a,n,this.makeCallback(c,f)))}writeSync(e,r,s,a,n){return typeof r=="string"?this.realFs.writeSync(e,r,s):this.realFs.writeSync(e,r,s,a,n)}async closePromise(e){await new Promise((r,s)=>{this.realFs.close(e,this.makeCallback(r,s))})}closeSync(e){this.realFs.closeSync(e)}createReadStream(e,r){let s=e!==null?fe.fromPortablePath(e):e;return this.realFs.createReadStream(s,r)}createWriteStream(e,r){let s=e!==null?fe.fromPortablePath(e):e;return this.realFs.createWriteStream(s,r)}async realpathPromise(e){return await new Promise((r,s)=>{this.realFs.realpath(fe.fromPortablePath(e),{},this.makeCallback(r,s))}).then(r=>fe.toPortablePath(r))}realpathSync(e){return fe.toPortablePath(this.realFs.realpathSync(fe.fromPortablePath(e),{}))}async existsPromise(e){return await new Promise(r=>{this.realFs.exists(fe.fromPortablePath(e),r)})}accessSync(e,r){return this.realFs.accessSync(fe.fromPortablePath(e),r)}async accessPromise(e,r){return await new Promise((s,a)=>{this.realFs.access(fe.fromPortablePath(e),r,this.makeCallback(s,a))})}existsSync(e){return this.realFs.existsSync(fe.fromPortablePath(e))}async statPromise(e,r){return await new Promise((s,a)=>{r?this.realFs.stat(fe.fromPortablePath(e),r,this.makeCallback(s,a)):this.realFs.stat(fe.fromPortablePath(e),this.makeCallback(s,a))})}statSync(e,r){return r?this.realFs.statSync(fe.fromPortablePath(e),r):this.realFs.statSync(fe.fromPortablePath(e))}async fstatPromise(e,r){return await new Promise((s,a)=>{r?this.realFs.fstat(e,r,this.makeCallback(s,a)):this.realFs.fstat(e,this.makeCallback(s,a))})}fstatSync(e,r){return r?this.realFs.fstatSync(e,r):this.realFs.fstatSync(e)}async lstatPromise(e,r){return await new Promise((s,a)=>{r?this.realFs.lstat(fe.fromPortablePath(e),r,this.makeCallback(s,a)):this.realFs.lstat(fe.fromPortablePath(e),this.makeCallback(s,a))})}lstatSync(e,r){return r?this.realFs.lstatSync(fe.fromPortablePath(e),r):this.realFs.lstatSync(fe.fromPortablePath(e))}async fchmodPromise(e,r){return await new Promise((s,a)=>{this.realFs.fchmod(e,r,this.makeCallback(s,a))})}fchmodSync(e,r){return this.realFs.fchmodSync(e,r)}async chmodPromise(e,r){return await new Promise((s,a)=>{this.realFs.chmod(fe.fromPortablePath(e),r,this.makeCallback(s,a))})}chmodSync(e,r){return this.realFs.chmodSync(fe.fromPortablePath(e),r)}async fchownPromise(e,r,s){return await new Promise((a,n)=>{this.realFs.fchown(e,r,s,this.makeCallback(a,n))})}fchownSync(e,r,s){return this.realFs.fchownSync(e,r,s)}async chownPromise(e,r,s){return await new Promise((a,n)=>{this.realFs.chown(fe.fromPortablePath(e),r,s,this.makeCallback(a,n))})}chownSync(e,r,s){return this.realFs.chownSync(fe.fromPortablePath(e),r,s)}async renamePromise(e,r){return await new Promise((s,a)=>{this.realFs.rename(fe.fromPortablePath(e),fe.fromPortablePath(r),this.makeCallback(s,a))})}renameSync(e,r){return this.realFs.renameSync(fe.fromPortablePath(e),fe.fromPortablePath(r))}async copyFilePromise(e,r,s=0){return await new Promise((a,n)=>{this.realFs.copyFile(fe.fromPortablePath(e),fe.fromPortablePath(r),s,this.makeCallback(a,n))})}copyFileSync(e,r,s=0){return this.realFs.copyFileSync(fe.fromPortablePath(e),fe.fromPortablePath(r),s)}async appendFilePromise(e,r,s){return await new Promise((a,n)=>{let c=typeof e=="string"?fe.fromPortablePath(e):e;s?this.realFs.appendFile(c,r,s,this.makeCallback(a,n)):this.realFs.appendFile(c,r,this.makeCallback(a,n))})}appendFileSync(e,r,s){let a=typeof e=="string"?fe.fromPortablePath(e):e;s?this.realFs.appendFileSync(a,r,s):this.realFs.appendFileSync(a,r)}async writeFilePromise(e,r,s){return await new Promise((a,n)=>{let c=typeof e=="string"?fe.fromPortablePath(e):e;s?this.realFs.writeFile(c,r,s,this.makeCallback(a,n)):this.realFs.writeFile(c,r,this.makeCallback(a,n))})}writeFileSync(e,r,s){let a=typeof e=="string"?fe.fromPortablePath(e):e;s?this.realFs.writeFileSync(a,r,s):this.realFs.writeFileSync(a,r)}async unlinkPromise(e){return await new Promise((r,s)=>{this.realFs.unlink(fe.fromPortablePath(e),this.makeCallback(r,s))})}unlinkSync(e){return this.realFs.unlinkSync(fe.fromPortablePath(e))}async utimesPromise(e,r,s){return await new Promise((a,n)=>{this.realFs.utimes(fe.fromPortablePath(e),r,s,this.makeCallback(a,n))})}utimesSync(e,r,s){this.realFs.utimesSync(fe.fromPortablePath(e),r,s)}async lutimesPromise(e,r,s){return await new Promise((a,n)=>{this.realFs.lutimes(fe.fromPortablePath(e),r,s,this.makeCallback(a,n))})}lutimesSync(e,r,s){this.realFs.lutimesSync(fe.fromPortablePath(e),r,s)}async mkdirPromise(e,r){return await new Promise((s,a)=>{this.realFs.mkdir(fe.fromPortablePath(e),r,this.makeCallback(s,a))})}mkdirSync(e,r){return this.realFs.mkdirSync(fe.fromPortablePath(e),r)}async rmdirPromise(e,r){return await new Promise((s,a)=>{r?this.realFs.rmdir(fe.fromPortablePath(e),r,this.makeCallback(s,a)):this.realFs.rmdir(fe.fromPortablePath(e),this.makeCallback(s,a))})}rmdirSync(e,r){return this.realFs.rmdirSync(fe.fromPortablePath(e),r)}async rmPromise(e,r){return await new Promise((s,a)=>{r?this.realFs.rm(fe.fromPortablePath(e),r,this.makeCallback(s,a)):this.realFs.rm(fe.fromPortablePath(e),this.makeCallback(s,a))})}rmSync(e,r){return this.realFs.rmSync(fe.fromPortablePath(e),r)}async linkPromise(e,r){return await new Promise((s,a)=>{this.realFs.link(fe.fromPortablePath(e),fe.fromPortablePath(r),this.makeCallback(s,a))})}linkSync(e,r){return this.realFs.linkSync(fe.fromPortablePath(e),fe.fromPortablePath(r))}async symlinkPromise(e,r,s){return await new Promise((a,n)=>{this.realFs.symlink(fe.fromPortablePath(e.replace(/\/+$/,"")),fe.fromPortablePath(r),s,this.makeCallback(a,n))})}symlinkSync(e,r,s){return this.realFs.symlinkSync(fe.fromPortablePath(e.replace(/\/+$/,"")),fe.fromPortablePath(r),s)}async readFilePromise(e,r){return await new Promise((s,a)=>{let n=typeof e=="string"?fe.fromPortablePath(e):e;this.realFs.readFile(n,r,this.makeCallback(s,a))})}readFileSync(e,r){let s=typeof e=="string"?fe.fromPortablePath(e):e;return this.realFs.readFileSync(s,r)}async readdirPromise(e,r){return await new Promise((s,a)=>{r?r.recursive&&process.platform==="win32"?r.withFileTypes?this.realFs.readdir(fe.fromPortablePath(e),r,this.makeCallback(n=>s(n.map(s$)),a)):this.realFs.readdir(fe.fromPortablePath(e),r,this.makeCallback(n=>s(n.map(fe.toPortablePath)),a)):this.realFs.readdir(fe.fromPortablePath(e),r,this.makeCallback(s,a)):this.realFs.readdir(fe.fromPortablePath(e),this.makeCallback(s,a))})}readdirSync(e,r){return r?r.recursive&&process.platform==="win32"?r.withFileTypes?this.realFs.readdirSync(fe.fromPortablePath(e),r).map(s$):this.realFs.readdirSync(fe.fromPortablePath(e),r).map(fe.toPortablePath):this.realFs.readdirSync(fe.fromPortablePath(e),r):this.realFs.readdirSync(fe.fromPortablePath(e))}async readlinkPromise(e){return await new Promise((r,s)=>{this.realFs.readlink(fe.fromPortablePath(e),this.makeCallback(r,s))}).then(r=>fe.toPortablePath(r))}readlinkSync(e){return fe.toPortablePath(this.realFs.readlinkSync(fe.fromPortablePath(e)))}async truncatePromise(e,r){return await new Promise((s,a)=>{this.realFs.truncate(fe.fromPortablePath(e),r,this.makeCallback(s,a))})}truncateSync(e,r){return this.realFs.truncateSync(fe.fromPortablePath(e),r)}async ftruncatePromise(e,r){return await new Promise((s,a)=>{this.realFs.ftruncate(e,r,this.makeCallback(s,a))})}ftruncateSync(e,r){return this.realFs.ftruncateSync(e,r)}watch(e,r,s){return this.realFs.watch(fe.fromPortablePath(e),r,s)}watchFile(e,r,s){return this.realFs.watchFile(fe.fromPortablePath(e),r,s)}unwatchFile(e,r){return this.realFs.unwatchFile(fe.fromPortablePath(e),r)}makeCallback(e,r){return(s,a)=>{s?r(s):e(a)}}}});var Sn,a$=Xe(()=>{Cd();yp();el();Sn=class extends _s{constructor(e,{baseFs:r=new Yn}={}){super(J),this.target=this.pathUtils.normalize(e),this.baseFs=r}getRealPath(){return this.pathUtils.resolve(this.baseFs.getRealPath(),this.target)}resolve(e){return this.pathUtils.isAbsolute(e)?J.normalize(e):this.baseFs.resolve(J.join(this.target,e))}mapFromBase(e){return e}mapToBase(e){return this.pathUtils.isAbsolute(e)?e:this.pathUtils.join(this.target,e)}}});var l$,Hf,c$=Xe(()=>{Cd();yp();el();l$=vt.root,Hf=class extends _s{constructor(e,{baseFs:r=new Yn}={}){super(J),this.target=this.pathUtils.resolve(vt.root,e),this.baseFs=r}getRealPath(){return this.pathUtils.resolve(this.baseFs.getRealPath(),this.pathUtils.relative(vt.root,this.target))}getTarget(){return this.target}getBaseFs(){return this.baseFs}mapToBase(e){let r=this.pathUtils.normalize(e);if(this.pathUtils.isAbsolute(e))return this.pathUtils.resolve(this.target,this.pathUtils.relative(l$,e));if(r.match(/^\.\.\/?/))throw new Error(`Resolving this path (${e}) would escape the jail`);return this.pathUtils.resolve(this.target,e)}mapFromBase(e){return this.pathUtils.resolve(l$,this.pathUtils.relative(this.target,e))}}});var oE,u$=Xe(()=>{yp();oE=class extends _s{constructor(r,s){super(s);this.instance=null;this.factory=r}get baseFs(){return this.instance||(this.instance=this.factory()),this.instance}set baseFs(r){this.instance=r}mapFromBase(r){return r}mapToBase(r){return r}}});var wd,tl,e0,f$=Xe(()=>{wd=Ie("fs");Id();Cd();bU();zP();el();tl=4278190080,e0=class extends Uf{constructor({baseFs:r=new Yn,filter:s=null,magicByte:a=42,maxOpenFiles:n=1/0,useCache:c=!0,maxAge:f=5e3,typeCheck:p=wd.constants.S_IFREG,getMountPoint:h,factoryPromise:E,factorySync:C}){if(Math.floor(a)!==a||!(a>1&&a<=127))throw new Error("The magic byte must be set to a round value between 1 and 127 included");super();this.fdMap=new Map;this.nextFd=3;this.isMount=new Set;this.notMount=new Set;this.realPaths=new Map;this.limitOpenFilesTimeout=null;this.baseFs=r,this.mountInstances=c?new Map:null,this.factoryPromise=E,this.factorySync=C,this.filter=s,this.getMountPoint=h,this.magic=a<<24,this.maxAge=f,this.maxOpenFiles=n,this.typeCheck=p}getExtractHint(r){return this.baseFs.getExtractHint(r)}getRealPath(){return this.baseFs.getRealPath()}saveAndClose(){if(yd(this),this.mountInstances)for(let[r,{childFs:s}]of this.mountInstances.entries())s.saveAndClose?.(),this.mountInstances.delete(r)}discardAndClose(){if(yd(this),this.mountInstances)for(let[r,{childFs:s}]of this.mountInstances.entries())s.discardAndClose?.(),this.mountInstances.delete(r)}resolve(r){return this.baseFs.resolve(r)}remapFd(r,s){let a=this.nextFd++|this.magic;return this.fdMap.set(a,[r,s]),a}async openPromise(r,s,a){return await this.makeCallPromise(r,async()=>await this.baseFs.openPromise(r,s,a),async(n,{subPath:c})=>this.remapFd(n,await n.openPromise(c,s,a)))}openSync(r,s,a){return this.makeCallSync(r,()=>this.baseFs.openSync(r,s,a),(n,{subPath:c})=>this.remapFd(n,n.openSync(c,s,a)))}async opendirPromise(r,s){return await this.makeCallPromise(r,async()=>await this.baseFs.opendirPromise(r,s),async(a,{subPath:n})=>await a.opendirPromise(n,s),{requireSubpath:!1})}opendirSync(r,s){return this.makeCallSync(r,()=>this.baseFs.opendirSync(r,s),(a,{subPath:n})=>a.opendirSync(n,s),{requireSubpath:!1})}async readPromise(r,s,a,n,c){if((r&tl)!==this.magic)return await this.baseFs.readPromise(r,s,a,n,c);let f=this.fdMap.get(r);if(typeof f>"u")throw Mo("read");let[p,h]=f;return await p.readPromise(h,s,a,n,c)}readSync(r,s,a,n,c){if((r&tl)!==this.magic)return this.baseFs.readSync(r,s,a,n,c);let f=this.fdMap.get(r);if(typeof f>"u")throw Mo("readSync");let[p,h]=f;return p.readSync(h,s,a,n,c)}async writePromise(r,s,a,n,c){if((r&tl)!==this.magic)return typeof s=="string"?await this.baseFs.writePromise(r,s,a):await this.baseFs.writePromise(r,s,a,n,c);let f=this.fdMap.get(r);if(typeof f>"u")throw Mo("write");let[p,h]=f;return typeof s=="string"?await p.writePromise(h,s,a):await p.writePromise(h,s,a,n,c)}writeSync(r,s,a,n,c){if((r&tl)!==this.magic)return typeof s=="string"?this.baseFs.writeSync(r,s,a):this.baseFs.writeSync(r,s,a,n,c);let f=this.fdMap.get(r);if(typeof f>"u")throw Mo("writeSync");let[p,h]=f;return typeof s=="string"?p.writeSync(h,s,a):p.writeSync(h,s,a,n,c)}async closePromise(r){if((r&tl)!==this.magic)return await this.baseFs.closePromise(r);let s=this.fdMap.get(r);if(typeof s>"u")throw Mo("close");this.fdMap.delete(r);let[a,n]=s;return await a.closePromise(n)}closeSync(r){if((r&tl)!==this.magic)return this.baseFs.closeSync(r);let s=this.fdMap.get(r);if(typeof s>"u")throw Mo("closeSync");this.fdMap.delete(r);let[a,n]=s;return a.closeSync(n)}createReadStream(r,s){return r===null?this.baseFs.createReadStream(r,s):this.makeCallSync(r,()=>this.baseFs.createReadStream(r,s),(a,{archivePath:n,subPath:c})=>{let f=a.createReadStream(c,s);return f.path=fe.fromPortablePath(this.pathUtils.join(n,c)),f})}createWriteStream(r,s){return r===null?this.baseFs.createWriteStream(r,s):this.makeCallSync(r,()=>this.baseFs.createWriteStream(r,s),(a,{subPath:n})=>a.createWriteStream(n,s))}async realpathPromise(r){return await this.makeCallPromise(r,async()=>await this.baseFs.realpathPromise(r),async(s,{archivePath:a,subPath:n})=>{let c=this.realPaths.get(a);return typeof c>"u"&&(c=await this.baseFs.realpathPromise(a),this.realPaths.set(a,c)),this.pathUtils.join(c,this.pathUtils.relative(vt.root,await s.realpathPromise(n)))})}realpathSync(r){return this.makeCallSync(r,()=>this.baseFs.realpathSync(r),(s,{archivePath:a,subPath:n})=>{let c=this.realPaths.get(a);return typeof c>"u"&&(c=this.baseFs.realpathSync(a),this.realPaths.set(a,c)),this.pathUtils.join(c,this.pathUtils.relative(vt.root,s.realpathSync(n)))})}async existsPromise(r){return await this.makeCallPromise(r,async()=>await this.baseFs.existsPromise(r),async(s,{subPath:a})=>await s.existsPromise(a))}existsSync(r){return this.makeCallSync(r,()=>this.baseFs.existsSync(r),(s,{subPath:a})=>s.existsSync(a))}async accessPromise(r,s){return await this.makeCallPromise(r,async()=>await this.baseFs.accessPromise(r,s),async(a,{subPath:n})=>await a.accessPromise(n,s))}accessSync(r,s){return this.makeCallSync(r,()=>this.baseFs.accessSync(r,s),(a,{subPath:n})=>a.accessSync(n,s))}async statPromise(r,s){return await this.makeCallPromise(r,async()=>await this.baseFs.statPromise(r,s),async(a,{subPath:n})=>await a.statPromise(n,s))}statSync(r,s){return this.makeCallSync(r,()=>this.baseFs.statSync(r,s),(a,{subPath:n})=>a.statSync(n,s))}async fstatPromise(r,s){if((r&tl)!==this.magic)return this.baseFs.fstatPromise(r,s);let a=this.fdMap.get(r);if(typeof a>"u")throw Mo("fstat");let[n,c]=a;return n.fstatPromise(c,s)}fstatSync(r,s){if((r&tl)!==this.magic)return this.baseFs.fstatSync(r,s);let a=this.fdMap.get(r);if(typeof a>"u")throw Mo("fstatSync");let[n,c]=a;return n.fstatSync(c,s)}async lstatPromise(r,s){return await this.makeCallPromise(r,async()=>await this.baseFs.lstatPromise(r,s),async(a,{subPath:n})=>await a.lstatPromise(n,s))}lstatSync(r,s){return this.makeCallSync(r,()=>this.baseFs.lstatSync(r,s),(a,{subPath:n})=>a.lstatSync(n,s))}async fchmodPromise(r,s){if((r&tl)!==this.magic)return this.baseFs.fchmodPromise(r,s);let a=this.fdMap.get(r);if(typeof a>"u")throw Mo("fchmod");let[n,c]=a;return n.fchmodPromise(c,s)}fchmodSync(r,s){if((r&tl)!==this.magic)return this.baseFs.fchmodSync(r,s);let a=this.fdMap.get(r);if(typeof a>"u")throw Mo("fchmodSync");let[n,c]=a;return n.fchmodSync(c,s)}async chmodPromise(r,s){return await this.makeCallPromise(r,async()=>await this.baseFs.chmodPromise(r,s),async(a,{subPath:n})=>await a.chmodPromise(n,s))}chmodSync(r,s){return this.makeCallSync(r,()=>this.baseFs.chmodSync(r,s),(a,{subPath:n})=>a.chmodSync(n,s))}async fchownPromise(r,s,a){if((r&tl)!==this.magic)return this.baseFs.fchownPromise(r,s,a);let n=this.fdMap.get(r);if(typeof n>"u")throw Mo("fchown");let[c,f]=n;return c.fchownPromise(f,s,a)}fchownSync(r,s,a){if((r&tl)!==this.magic)return this.baseFs.fchownSync(r,s,a);let n=this.fdMap.get(r);if(typeof n>"u")throw Mo("fchownSync");let[c,f]=n;return c.fchownSync(f,s,a)}async chownPromise(r,s,a){return await this.makeCallPromise(r,async()=>await this.baseFs.chownPromise(r,s,a),async(n,{subPath:c})=>await n.chownPromise(c,s,a))}chownSync(r,s,a){return this.makeCallSync(r,()=>this.baseFs.chownSync(r,s,a),(n,{subPath:c})=>n.chownSync(c,s,a))}async renamePromise(r,s){return await this.makeCallPromise(r,async()=>await this.makeCallPromise(s,async()=>await this.baseFs.renamePromise(r,s),async()=>{throw Object.assign(new Error("EEXDEV: cross-device link not permitted"),{code:"EEXDEV"})}),async(a,{subPath:n})=>await this.makeCallPromise(s,async()=>{throw Object.assign(new Error("EEXDEV: cross-device link not permitted"),{code:"EEXDEV"})},async(c,{subPath:f})=>{if(a!==c)throw Object.assign(new Error("EEXDEV: cross-device link not permitted"),{code:"EEXDEV"});return await a.renamePromise(n,f)}))}renameSync(r,s){return this.makeCallSync(r,()=>this.makeCallSync(s,()=>this.baseFs.renameSync(r,s),()=>{throw Object.assign(new Error("EEXDEV: cross-device link not permitted"),{code:"EEXDEV"})}),(a,{subPath:n})=>this.makeCallSync(s,()=>{throw Object.assign(new Error("EEXDEV: cross-device link not permitted"),{code:"EEXDEV"})},(c,{subPath:f})=>{if(a!==c)throw Object.assign(new Error("EEXDEV: cross-device link not permitted"),{code:"EEXDEV"});return a.renameSync(n,f)}))}async copyFilePromise(r,s,a=0){let n=async(c,f,p,h)=>{if(a&wd.constants.COPYFILE_FICLONE_FORCE)throw Object.assign(new Error(`EXDEV: cross-device clone not permitted, copyfile '${f}' -> ${h}'`),{code:"EXDEV"});if(a&wd.constants.COPYFILE_EXCL&&await this.existsPromise(f))throw Object.assign(new Error(`EEXIST: file already exists, copyfile '${f}' -> '${h}'`),{code:"EEXIST"});let E;try{E=await c.readFilePromise(f)}catch{throw Object.assign(new Error(`EINVAL: invalid argument, copyfile '${f}' -> '${h}'`),{code:"EINVAL"})}await p.writeFilePromise(h,E)};return await this.makeCallPromise(r,async()=>await this.makeCallPromise(s,async()=>await this.baseFs.copyFilePromise(r,s,a),async(c,{subPath:f})=>await n(this.baseFs,r,c,f)),async(c,{subPath:f})=>await this.makeCallPromise(s,async()=>await n(c,f,this.baseFs,s),async(p,{subPath:h})=>c!==p?await n(c,f,p,h):await c.copyFilePromise(f,h,a)))}copyFileSync(r,s,a=0){let n=(c,f,p,h)=>{if(a&wd.constants.COPYFILE_FICLONE_FORCE)throw Object.assign(new Error(`EXDEV: cross-device clone not permitted, copyfile '${f}' -> ${h}'`),{code:"EXDEV"});if(a&wd.constants.COPYFILE_EXCL&&this.existsSync(f))throw Object.assign(new Error(`EEXIST: file already exists, copyfile '${f}' -> '${h}'`),{code:"EEXIST"});let E;try{E=c.readFileSync(f)}catch{throw Object.assign(new Error(`EINVAL: invalid argument, copyfile '${f}' -> '${h}'`),{code:"EINVAL"})}p.writeFileSync(h,E)};return this.makeCallSync(r,()=>this.makeCallSync(s,()=>this.baseFs.copyFileSync(r,s,a),(c,{subPath:f})=>n(this.baseFs,r,c,f)),(c,{subPath:f})=>this.makeCallSync(s,()=>n(c,f,this.baseFs,s),(p,{subPath:h})=>c!==p?n(c,f,p,h):c.copyFileSync(f,h,a)))}async appendFilePromise(r,s,a){return await this.makeCallPromise(r,async()=>await this.baseFs.appendFilePromise(r,s,a),async(n,{subPath:c})=>await n.appendFilePromise(c,s,a))}appendFileSync(r,s,a){return this.makeCallSync(r,()=>this.baseFs.appendFileSync(r,s,a),(n,{subPath:c})=>n.appendFileSync(c,s,a))}async writeFilePromise(r,s,a){return await this.makeCallPromise(r,async()=>await this.baseFs.writeFilePromise(r,s,a),async(n,{subPath:c})=>await n.writeFilePromise(c,s,a))}writeFileSync(r,s,a){return this.makeCallSync(r,()=>this.baseFs.writeFileSync(r,s,a),(n,{subPath:c})=>n.writeFileSync(c,s,a))}async unlinkPromise(r){return await this.makeCallPromise(r,async()=>await this.baseFs.unlinkPromise(r),async(s,{subPath:a})=>await s.unlinkPromise(a))}unlinkSync(r){return this.makeCallSync(r,()=>this.baseFs.unlinkSync(r),(s,{subPath:a})=>s.unlinkSync(a))}async utimesPromise(r,s,a){return await this.makeCallPromise(r,async()=>await this.baseFs.utimesPromise(r,s,a),async(n,{subPath:c})=>await n.utimesPromise(c,s,a))}utimesSync(r,s,a){return this.makeCallSync(r,()=>this.baseFs.utimesSync(r,s,a),(n,{subPath:c})=>n.utimesSync(c,s,a))}async lutimesPromise(r,s,a){return await this.makeCallPromise(r,async()=>await this.baseFs.lutimesPromise(r,s,a),async(n,{subPath:c})=>await n.lutimesPromise(c,s,a))}lutimesSync(r,s,a){return this.makeCallSync(r,()=>this.baseFs.lutimesSync(r,s,a),(n,{subPath:c})=>n.lutimesSync(c,s,a))}async mkdirPromise(r,s){return await this.makeCallPromise(r,async()=>await this.baseFs.mkdirPromise(r,s),async(a,{subPath:n})=>await a.mkdirPromise(n,s))}mkdirSync(r,s){return this.makeCallSync(r,()=>this.baseFs.mkdirSync(r,s),(a,{subPath:n})=>a.mkdirSync(n,s))}async rmdirPromise(r,s){return await this.makeCallPromise(r,async()=>await this.baseFs.rmdirPromise(r,s),async(a,{subPath:n})=>await a.rmdirPromise(n,s))}rmdirSync(r,s){return this.makeCallSync(r,()=>this.baseFs.rmdirSync(r,s),(a,{subPath:n})=>a.rmdirSync(n,s))}async rmPromise(r,s){return await this.makeCallPromise(r,async()=>await this.baseFs.rmPromise(r,s),async(a,{subPath:n})=>await a.rmPromise(n,s))}rmSync(r,s){return this.makeCallSync(r,()=>this.baseFs.rmSync(r,s),(a,{subPath:n})=>a.rmSync(n,s))}async linkPromise(r,s){return await this.makeCallPromise(s,async()=>await this.baseFs.linkPromise(r,s),async(a,{subPath:n})=>await a.linkPromise(r,n))}linkSync(r,s){return this.makeCallSync(s,()=>this.baseFs.linkSync(r,s),(a,{subPath:n})=>a.linkSync(r,n))}async symlinkPromise(r,s,a){return await this.makeCallPromise(s,async()=>await this.baseFs.symlinkPromise(r,s,a),async(n,{subPath:c})=>await n.symlinkPromise(r,c))}symlinkSync(r,s,a){return this.makeCallSync(s,()=>this.baseFs.symlinkSync(r,s,a),(n,{subPath:c})=>n.symlinkSync(r,c))}async readFilePromise(r,s){return this.makeCallPromise(r,async()=>await this.baseFs.readFilePromise(r,s),async(a,{subPath:n})=>await a.readFilePromise(n,s))}readFileSync(r,s){return this.makeCallSync(r,()=>this.baseFs.readFileSync(r,s),(a,{subPath:n})=>a.readFileSync(n,s))}async readdirPromise(r,s){return await this.makeCallPromise(r,async()=>await this.baseFs.readdirPromise(r,s),async(a,{subPath:n})=>await a.readdirPromise(n,s),{requireSubpath:!1})}readdirSync(r,s){return this.makeCallSync(r,()=>this.baseFs.readdirSync(r,s),(a,{subPath:n})=>a.readdirSync(n,s),{requireSubpath:!1})}async readlinkPromise(r){return await this.makeCallPromise(r,async()=>await this.baseFs.readlinkPromise(r),async(s,{subPath:a})=>await s.readlinkPromise(a))}readlinkSync(r){return this.makeCallSync(r,()=>this.baseFs.readlinkSync(r),(s,{subPath:a})=>s.readlinkSync(a))}async truncatePromise(r,s){return await this.makeCallPromise(r,async()=>await this.baseFs.truncatePromise(r,s),async(a,{subPath:n})=>await a.truncatePromise(n,s))}truncateSync(r,s){return this.makeCallSync(r,()=>this.baseFs.truncateSync(r,s),(a,{subPath:n})=>a.truncateSync(n,s))}async ftruncatePromise(r,s){if((r&tl)!==this.magic)return this.baseFs.ftruncatePromise(r,s);let a=this.fdMap.get(r);if(typeof a>"u")throw Mo("ftruncate");let[n,c]=a;return n.ftruncatePromise(c,s)}ftruncateSync(r,s){if((r&tl)!==this.magic)return this.baseFs.ftruncateSync(r,s);let a=this.fdMap.get(r);if(typeof a>"u")throw Mo("ftruncateSync");let[n,c]=a;return n.ftruncateSync(c,s)}watch(r,s,a){return this.makeCallSync(r,()=>this.baseFs.watch(r,s,a),(n,{subPath:c})=>n.watch(c,s,a))}watchFile(r,s,a){return this.makeCallSync(r,()=>this.baseFs.watchFile(r,s,a),()=>sE(this,r,s,a))}unwatchFile(r,s){return this.makeCallSync(r,()=>this.baseFs.unwatchFile(r,s),()=>md(this,r,s))}async makeCallPromise(r,s,a,{requireSubpath:n=!0}={}){if(typeof r!="string")return await s();let c=this.resolve(r),f=this.findMount(c);return f?n&&f.subPath==="/"?await s():await this.getMountPromise(f.archivePath,async p=>await a(p,f)):await s()}makeCallSync(r,s,a,{requireSubpath:n=!0}={}){if(typeof r!="string")return s();let c=this.resolve(r),f=this.findMount(c);return!f||n&&f.subPath==="/"?s():this.getMountSync(f.archivePath,p=>a(p,f))}findMount(r){if(this.filter&&!this.filter.test(r))return null;let s="";for(;;){let a=r.substring(s.length),n=this.getMountPoint(a,s);if(!n)return null;if(s=this.pathUtils.join(s,n),!this.isMount.has(s)){if(this.notMount.has(s))continue;try{if(this.typeCheck!==null&&(this.baseFs.statSync(s).mode&wd.constants.S_IFMT)!==this.typeCheck){this.notMount.add(s);continue}}catch{return null}this.isMount.add(s)}return{archivePath:s,subPath:this.pathUtils.join(vt.root,r.substring(s.length))}}}limitOpenFiles(r){if(this.mountInstances===null)return;let s=Date.now(),a=s+this.maxAge,n=r===null?0:this.mountInstances.size-r;for(let[c,{childFs:f,expiresAt:p,refCount:h}]of this.mountInstances.entries())if(!(h!==0||f.hasOpenFileHandles?.())){if(s>=p){f.saveAndClose?.(),this.mountInstances.delete(c),n-=1;continue}else if(r===null||n<=0){a=p;break}f.saveAndClose?.(),this.mountInstances.delete(c),n-=1}this.limitOpenFilesTimeout===null&&(r===null&&this.mountInstances.size>0||r!==null)&&isFinite(a)&&(this.limitOpenFilesTimeout=setTimeout(()=>{this.limitOpenFilesTimeout=null,this.limitOpenFiles(null)},a-s).unref())}async getMountPromise(r,s){if(this.mountInstances){let a=this.mountInstances.get(r);if(!a){let n=await this.factoryPromise(this.baseFs,r);a=this.mountInstances.get(r),a||(a={childFs:n(),expiresAt:0,refCount:0})}this.mountInstances.delete(r),this.limitOpenFiles(this.maxOpenFiles-1),this.mountInstances.set(r,a),a.expiresAt=Date.now()+this.maxAge,a.refCount+=1;try{return await s(a.childFs)}finally{a.refCount-=1}}else{let a=(await this.factoryPromise(this.baseFs,r))();try{return await s(a)}finally{a.saveAndClose?.()}}}getMountSync(r,s){if(this.mountInstances){let a=this.mountInstances.get(r);return a||(a={childFs:this.factorySync(this.baseFs,r),expiresAt:0,refCount:0}),this.mountInstances.delete(r),this.limitOpenFiles(this.maxOpenFiles-1),this.mountInstances.set(r,a),a.expiresAt=Date.now()+this.maxAge,s(a.childFs)}else{let a=this.factorySync(this.baseFs,r);try{return s(a)}finally{a.saveAndClose?.()}}}}});var er,nx,A$=Xe(()=>{Id();el();er=()=>Object.assign(new Error("ENOSYS: unsupported filesystem access"),{code:"ENOSYS"}),nx=class t extends mp{static{this.instance=new t}constructor(){super(J)}getExtractHint(){throw er()}getRealPath(){throw er()}resolve(){throw er()}async openPromise(){throw er()}openSync(){throw er()}async opendirPromise(){throw er()}opendirSync(){throw er()}async readPromise(){throw er()}readSync(){throw er()}async writePromise(){throw er()}writeSync(){throw er()}async closePromise(){throw er()}closeSync(){throw er()}createWriteStream(){throw er()}createReadStream(){throw er()}async realpathPromise(){throw er()}realpathSync(){throw er()}async readdirPromise(){throw er()}readdirSync(){throw er()}async existsPromise(e){throw er()}existsSync(e){throw er()}async accessPromise(){throw er()}accessSync(){throw er()}async statPromise(){throw er()}statSync(){throw er()}async fstatPromise(e){throw er()}fstatSync(e){throw er()}async lstatPromise(e){throw er()}lstatSync(e){throw er()}async fchmodPromise(){throw er()}fchmodSync(){throw er()}async chmodPromise(){throw er()}chmodSync(){throw er()}async fchownPromise(){throw er()}fchownSync(){throw er()}async chownPromise(){throw er()}chownSync(){throw er()}async mkdirPromise(){throw er()}mkdirSync(){throw er()}async rmdirPromise(){throw er()}rmdirSync(){throw er()}async rmPromise(){throw er()}rmSync(){throw er()}async linkPromise(){throw er()}linkSync(){throw er()}async symlinkPromise(){throw er()}symlinkSync(){throw er()}async renamePromise(){throw er()}renameSync(){throw er()}async copyFilePromise(){throw er()}copyFileSync(){throw er()}async appendFilePromise(){throw er()}appendFileSync(){throw er()}async writeFilePromise(){throw er()}writeFileSync(){throw er()}async unlinkPromise(){throw er()}unlinkSync(){throw er()}async utimesPromise(){throw er()}utimesSync(){throw er()}async lutimesPromise(){throw er()}lutimesSync(){throw er()}async readFilePromise(){throw er()}readFileSync(){throw er()}async readlinkPromise(){throw er()}readlinkSync(){throw er()}async truncatePromise(){throw er()}truncateSync(){throw er()}async ftruncatePromise(e,r){throw er()}ftruncateSync(e,r){throw er()}watch(){throw er()}watchFile(){throw er()}unwatchFile(){throw er()}}});var t0,p$=Xe(()=>{yp();el();t0=class extends _s{constructor(e){super(fe),this.baseFs=e}mapFromBase(e){return fe.fromPortablePath(e)}mapToBase(e){return fe.toPortablePath(e)}}});var o5e,PU,a5e,uo,h$=Xe(()=>{Cd();yp();el();o5e=/^[0-9]+$/,PU=/^(\/(?:[^/]+\/)*?(?:\$\$virtual|__virtual__))((?:\/((?:[^/]+-)?[a-f0-9]+)(?:\/([^/]+))?)?((?:\/.*)?))$/,a5e=/^([^/]+-)?[a-f0-9]+$/,uo=class t extends _s{static makeVirtualPath(e,r,s){if(J.basename(e)!=="__virtual__")throw new Error('Assertion failed: Virtual folders must be named "__virtual__"');if(!J.basename(r).match(a5e))throw new Error("Assertion failed: Virtual components must be ended by an hexadecimal hash");let n=J.relative(J.dirname(e),s).split("/"),c=0;for(;c<n.length&&n[c]==="..";)c+=1;let f=n.slice(c);return J.join(e,r,String(c),...f)}static resolveVirtual(e){let r=e.match(PU);if(!r||!r[3]&&r[5])return e;let s=J.dirname(r[1]);if(!r[3]||!r[4])return s;if(!o5e.test(r[4]))return e;let n=Number(r[4]),c="../".repeat(n),f=r[5]||".";return t.resolveVirtual(J.join(s,c,f))}constructor({baseFs:e=new Yn}={}){super(J),this.baseFs=e}getExtractHint(e){return this.baseFs.getExtractHint(e)}getRealPath(){return this.baseFs.getRealPath()}realpathSync(e){let r=e.match(PU);if(!r)return this.baseFs.realpathSync(e);if(!r[5])return e;let s=this.baseFs.realpathSync(this.mapToBase(e));return t.makeVirtualPath(r[1],r[3],s)}async realpathPromise(e){let r=e.match(PU);if(!r)return await this.baseFs.realpathPromise(e);if(!r[5])return e;let s=await this.baseFs.realpathPromise(this.mapToBase(e));return t.makeVirtualPath(r[1],r[3],s)}mapToBase(e){if(e==="")return e;if(this.pathUtils.isAbsolute(e))return t.resolveVirtual(e);let r=t.resolveVirtual(this.baseFs.resolve(vt.dot)),s=t.resolveVirtual(this.baseFs.resolve(e));return J.relative(r,s)||vt.dot}mapFromBase(e){return e}}});function l5e(t,e){return typeof xU.default.isUtf8<"u"?xU.default.isUtf8(t):Buffer.byteLength(e)===t.byteLength}var xU,g$,d$,ix,m$=Xe(()=>{xU=ut(Ie("buffer")),g$=Ie("url"),d$=Ie("util");yp();el();ix=class extends _s{constructor(e){super(fe),this.baseFs=e}mapFromBase(e){return e}mapToBase(e){if(typeof e=="string")return e;if(e instanceof URL)return(0,g$.fileURLToPath)(e);if(Buffer.isBuffer(e)){let r=e.toString();if(!l5e(e,r))throw new Error("Non-utf8 buffers are not supported at the moment. Please upvote the following issue if you encounter this error: https://github.com/yarnpkg/berry/issues/4942");return r}throw new Error(`Unsupported path type: ${(0,d$.inspect)(e)}`)}}});var w$,Uo,Ep,r0,sx,ox,aE,Ru,Fu,y$,E$,I$,C$,M2,B$=Xe(()=>{w$=Ie("readline"),Uo=Symbol("kBaseFs"),Ep=Symbol("kFd"),r0=Symbol("kClosePromise"),sx=Symbol("kCloseResolve"),ox=Symbol("kCloseReject"),aE=Symbol("kRefs"),Ru=Symbol("kRef"),Fu=Symbol("kUnref"),M2=class{constructor(e,r){this[C$]=1;this[I$]=void 0;this[E$]=void 0;this[y$]=void 0;this[Uo]=r,this[Ep]=e}get fd(){return this[Ep]}async appendFile(e,r){try{this[Ru](this.appendFile);let s=(typeof r=="string"?r:r?.encoding)??void 0;return await this[Uo].appendFilePromise(this.fd,e,s?{encoding:s}:void 0)}finally{this[Fu]()}}async chown(e,r){try{return this[Ru](this.chown),await this[Uo].fchownPromise(this.fd,e,r)}finally{this[Fu]()}}async chmod(e){try{return this[Ru](this.chmod),await this[Uo].fchmodPromise(this.fd,e)}finally{this[Fu]()}}createReadStream(e){return this[Uo].createReadStream(null,{...e,fd:this.fd})}createWriteStream(e){return this[Uo].createWriteStream(null,{...e,fd:this.fd})}datasync(){throw new Error("Method not implemented.")}sync(){throw new Error("Method not implemented.")}async read(e,r,s,a){try{this[Ru](this.read);let n,c;return ArrayBuffer.isView(e)?typeof r=="object"&&r!==null?(n=e,c=r?.offset??0,s=r?.length??n.byteLength-c,a=r?.position??null):(n=e,c=r??0,s??=0):(n=e?.buffer??Buffer.alloc(16384),c=e?.offset??0,s=e?.length??n.byteLength-c,a=e?.position??null),s===0?{bytesRead:s,buffer:n}:{bytesRead:await this[Uo].readPromise(this.fd,Buffer.isBuffer(n)?n:Buffer.from(n.buffer,n.byteOffset,n.byteLength),c,s,a),buffer:n}}finally{this[Fu]()}}async readFile(e){try{this[Ru](this.readFile);let r=(typeof e=="string"?e:e?.encoding)??void 0;return await this[Uo].readFilePromise(this.fd,r)}finally{this[Fu]()}}readLines(e){return(0,w$.createInterface)({input:this.createReadStream(e),crlfDelay:1/0})}async stat(e){try{return this[Ru](this.stat),await this[Uo].fstatPromise(this.fd,e)}finally{this[Fu]()}}async truncate(e){try{return this[Ru](this.truncate),await this[Uo].ftruncatePromise(this.fd,e)}finally{this[Fu]()}}utimes(e,r){throw new Error("Method not implemented.")}async writeFile(e,r){try{this[Ru](this.writeFile);let s=(typeof r=="string"?r:r?.encoding)??void 0;await this[Uo].writeFilePromise(this.fd,e,s)}finally{this[Fu]()}}async write(...e){try{if(this[Ru](this.write),ArrayBuffer.isView(e[0])){let[r,s,a,n]=e;return{bytesWritten:await this[Uo].writePromise(this.fd,r,s??void 0,a??void 0,n??void 0),buffer:r}}else{let[r,s,a]=e;return{bytesWritten:await this[Uo].writePromise(this.fd,r,s,a),buffer:r}}}finally{this[Fu]()}}async writev(e,r){try{this[Ru](this.writev);let s=0;if(typeof r<"u")for(let a of e){let n=await this.write(a,void 0,void 0,r);s+=n.bytesWritten,r+=n.bytesWritten}else for(let a of e){let n=await this.write(a);s+=n.bytesWritten}return{buffers:e,bytesWritten:s}}finally{this[Fu]()}}readv(e,r){throw new Error("Method not implemented.")}close(){if(this[Ep]===-1)return Promise.resolve();if(this[r0])return this[r0];if(this[aE]--,this[aE]===0){let e=this[Ep];this[Ep]=-1,this[r0]=this[Uo].closePromise(e).finally(()=>{this[r0]=void 0})}else this[r0]=new Promise((e,r)=>{this[sx]=e,this[ox]=r}).finally(()=>{this[r0]=void 0,this[ox]=void 0,this[sx]=void 0});return this[r0]}[(Uo,Ep,C$=aE,I$=r0,E$=sx,y$=ox,Ru)](e){if(this[Ep]===-1){let r=new Error("file closed");throw r.code="EBADF",r.syscall=e.name,r}this[aE]++}[Fu](){if(this[aE]--,this[aE]===0){let e=this[Ep];this[Ep]=-1,this[Uo].closePromise(e).then(this[sx],this[ox])}}}});function U2(t,e){e=new ix(e);let r=(s,a,n)=>{let c=s[a];s[a]=n,typeof c?.[lE.promisify.custom]<"u"&&(n[lE.promisify.custom]=c[lE.promisify.custom])};{r(t,"exists",(s,...a)=>{let c=typeof a[a.length-1]=="function"?a.pop():()=>{};process.nextTick(()=>{e.existsPromise(s).then(f=>{c(f)},()=>{c(!1)})})}),r(t,"read",(...s)=>{let[a,n,c,f,p,h]=s;if(s.length<=3){let E={};s.length<3?h=s[1]:(E=s[1],h=s[2]),{buffer:n=Buffer.alloc(16384),offset:c=0,length:f=n.byteLength,position:p}=E}if(c==null&&(c=0),f|=0,f===0){process.nextTick(()=>{h(null,0,n)});return}p==null&&(p=-1),process.nextTick(()=>{e.readPromise(a,n,c,f,p).then(E=>{h(null,E,n)},E=>{h(E,0,n)})})});for(let s of v$){let a=s.replace(/Promise$/,"");if(typeof t[a]>"u")continue;let n=e[s];if(typeof n>"u")continue;r(t,a,(...f)=>{let h=typeof f[f.length-1]=="function"?f.pop():()=>{};process.nextTick(()=>{n.apply(e,f).then(E=>{h(null,E)},E=>{h(E)})})})}t.realpath.native=t.realpath}{r(t,"existsSync",s=>{try{return e.existsSync(s)}catch{return!1}}),r(t,"readSync",(...s)=>{let[a,n,c,f,p]=s;return s.length<=3&&({offset:c=0,length:f=n.byteLength,position:p}=s[2]||{}),c==null&&(c=0),f|=0,f===0?0:(p==null&&(p=-1),e.readSync(a,n,c,f,p))});for(let s of c5e){let a=s;if(typeof t[a]>"u")continue;let n=e[s];typeof n>"u"||r(t,a,n.bind(e))}t.realpathSync.native=t.realpathSync}{let s=t.promises;for(let a of v$){let n=a.replace(/Promise$/,"");if(typeof s[n]>"u")continue;let c=e[a];typeof c>"u"||a!=="open"&&r(s,n,(f,...p)=>f instanceof M2?f[n].apply(f,p):c.call(e,f,...p))}r(s,"open",async(...a)=>{let n=await e.openPromise(...a);return new M2(n,e)})}t.read[lE.promisify.custom]=async(s,a,...n)=>({bytesRead:await e.readPromise(s,a,...n),buffer:a}),t.write[lE.promisify.custom]=async(s,a,...n)=>({bytesWritten:await e.writePromise(s,a,...n),buffer:a})}function ax(t,e){let r=Object.create(t);return U2(r,e),r}var lE,c5e,v$,S$=Xe(()=>{lE=Ie("util");m$();B$();c5e=new Set(["accessSync","appendFileSync","createReadStream","createWriteStream","chmodSync","fchmodSync","chownSync","fchownSync","closeSync","copyFileSync","linkSync","lstatSync","fstatSync","lutimesSync","mkdirSync","openSync","opendirSync","readlinkSync","readFileSync","readdirSync","readlinkSync","realpathSync","renameSync","rmdirSync","rmSync","statSync","symlinkSync","truncateSync","ftruncateSync","unlinkSync","unwatchFile","utimesSync","watch","watchFile","writeFileSync","writeSync"]),v$=new Set(["accessPromise","appendFilePromise","fchmodPromise","chmodPromise","fchownPromise","chownPromise","closePromise","copyFilePromise","linkPromise","fstatPromise","lstatPromise","lutimesPromise","mkdirPromise","openPromise","opendirPromise","readdirPromise","realpathPromise","readFilePromise","readdirPromise","readlinkPromise","renamePromise","rmdirPromise","rmPromise","statPromise","symlinkPromise","truncatePromise","ftruncatePromise","unlinkPromise","utimesPromise","writeFilePromise","writeSync"])});function D$(t){let e=Math.ceil(Math.random()*4294967296).toString(16).padStart(8,"0");return`${t}${e}`}function b$(){if(kU)return kU;let t=fe.toPortablePath(P$.default.tmpdir()),e=ce.realpathSync(t);return process.once("exit",()=>{ce.rmtempSync()}),kU={tmpdir:t,realTmpdir:e}}var P$,Nu,kU,ce,x$=Xe(()=>{P$=ut(Ie("os"));Cd();el();Nu=new Set,kU=null;ce=Object.assign(new Yn,{detachTemp(t){Nu.delete(t)},mktempSync(t){let{tmpdir:e,realTmpdir:r}=b$();for(;;){let s=D$("xfs-");try{this.mkdirSync(J.join(e,s))}catch(n){if(n.code==="EEXIST")continue;throw n}let a=J.join(r,s);if(Nu.add(a),typeof t>"u")return a;try{return t(a)}finally{if(Nu.has(a)){Nu.delete(a);try{this.removeSync(a)}catch{}}}}},async mktempPromise(t){let{tmpdir:e,realTmpdir:r}=b$();for(;;){let s=D$("xfs-");try{await this.mkdirPromise(J.join(e,s))}catch(n){if(n.code==="EEXIST")continue;throw n}let a=J.join(r,s);if(Nu.add(a),typeof t>"u")return a;try{return await t(a)}finally{if(Nu.has(a)){Nu.delete(a);try{await this.removePromise(a)}catch{}}}}},async rmtempPromise(){await Promise.all(Array.from(Nu.values()).map(async t=>{try{await ce.removePromise(t,{maxRetries:0}),Nu.delete(t)}catch{}}))},rmtempSync(){for(let t of Nu)try{ce.removeSync(t),Nu.delete(t)}catch{}}})});var _2={};Vt(_2,{AliasFS:()=>_f,BasePortableFakeFS:()=>Uf,CustomDir:()=>L2,CwdFS:()=>Sn,FakeFS:()=>mp,Filename:()=>Er,JailFS:()=>Hf,LazyFS:()=>oE,MountFS:()=>e0,NoFS:()=>nx,NodeFS:()=>Yn,PortablePath:()=>vt,PosixFS:()=>t0,ProxiedFS:()=>_s,VirtualFS:()=>uo,constants:()=>fi,errors:()=>or,extendFs:()=>ax,normalizeLineEndings:()=>Ed,npath:()=>fe,opendir:()=>ex,patchFs:()=>U2,ppath:()=>J,setupCopyIndex:()=>$P,statUtils:()=>$a,unwatchAllFiles:()=>yd,unwatchFile:()=>md,watchFile:()=>sE,xfs:()=>ce});var Dt=Xe(()=>{YZ();zP();BU();DU();ZZ();bU();Id();el();el();i$();Id();a$();c$();u$();f$();A$();Cd();p$();yp();h$();S$();x$()});var F$=_((Dkt,R$)=>{R$.exports=T$;T$.sync=f5e;var k$=Ie("fs");function u5e(t,e){var r=e.pathExt!==void 0?e.pathExt:process.env.PATHEXT;if(!r||(r=r.split(";"),r.indexOf("")!==-1))return!0;for(var s=0;s<r.length;s++){var a=r[s].toLowerCase();if(a&&t.substr(-a.length).toLowerCase()===a)return!0}return!1}function Q$(t,e,r){return!t.isSymbolicLink()&&!t.isFile()?!1:u5e(e,r)}function T$(t,e,r){k$.stat(t,function(s,a){r(s,s?!1:Q$(a,t,e))})}function f5e(t,e){return Q$(k$.statSync(t),t,e)}});var U$=_((bkt,M$)=>{M$.exports=O$;O$.sync=A5e;var N$=Ie("fs");function O$(t,e,r){N$.stat(t,function(s,a){r(s,s?!1:L$(a,e))})}function A5e(t,e){return L$(N$.statSync(t),e)}function L$(t,e){return t.isFile()&&p5e(t,e)}function p5e(t,e){var r=t.mode,s=t.uid,a=t.gid,n=e.uid!==void 0?e.uid:process.getuid&&process.getuid(),c=e.gid!==void 0?e.gid:process.getgid&&process.getgid(),f=parseInt("100",8),p=parseInt("010",8),h=parseInt("001",8),E=f|p,C=r&h||r&p&&a===c||r&f&&s===n||r&E&&n===0;return C}});var H$=_((xkt,_$)=>{var Pkt=Ie("fs"),lx;process.platform==="win32"||global.TESTING_WINDOWS?lx=F$():lx=U$();_$.exports=QU;QU.sync=h5e;function QU(t,e,r){if(typeof e=="function"&&(r=e,e={}),!r){if(typeof Promise!="function")throw new TypeError("callback not provided");return new Promise(function(s,a){QU(t,e||{},function(n,c){n?a(n):s(c)})})}lx(t,e||{},function(s,a){s&&(s.code==="EACCES"||e&&e.ignoreErrors)&&(s=null,a=!1),r(s,a)})}function h5e(t,e){try{return lx.sync(t,e||{})}catch(r){if(e&&e.ignoreErrors||r.code==="EACCES")return!1;throw r}}});var J$=_((kkt,V$)=>{var cE=process.platform==="win32"||process.env.OSTYPE==="cygwin"||process.env.OSTYPE==="msys",j$=Ie("path"),g5e=cE?";":":",G$=H$(),q$=t=>Object.assign(new Error(`not found: ${t}`),{code:"ENOENT"}),W$=(t,e)=>{let r=e.colon||g5e,s=t.match(/\//)||cE&&t.match(/\\/)?[""]:[...cE?[process.cwd()]:[],...(e.path||process.env.PATH||"").split(r)],a=cE?e.pathExt||process.env.PATHEXT||".EXE;.CMD;.BAT;.COM":"",n=cE?a.split(r):[""];return cE&&t.indexOf(".")!==-1&&n[0]!==""&&n.unshift(""),{pathEnv:s,pathExt:n,pathExtExe:a}},Y$=(t,e,r)=>{typeof e=="function"&&(r=e,e={}),e||(e={});let{pathEnv:s,pathExt:a,pathExtExe:n}=W$(t,e),c=[],f=h=>new Promise((E,C)=>{if(h===s.length)return e.all&&c.length?E(c):C(q$(t));let S=s[h],P=/^".*"$/.test(S)?S.slice(1,-1):S,I=j$.join(P,t),R=!P&&/^\.[\\\/]/.test(t)?t.slice(0,2)+I:I;E(p(R,h,0))}),p=(h,E,C)=>new Promise((S,P)=>{if(C===a.length)return S(f(E+1));let I=a[C];G$(h+I,{pathExt:n},(R,N)=>{if(!R&&N)if(e.all)c.push(h+I);else return S(h+I);return S(p(h,E,C+1))})});return r?f(0).then(h=>r(null,h),r):f(0)},d5e=(t,e)=>{e=e||{};let{pathEnv:r,pathExt:s,pathExtExe:a}=W$(t,e),n=[];for(let c=0;c<r.length;c++){let f=r[c],p=/^".*"$/.test(f)?f.slice(1,-1):f,h=j$.join(p,t),E=!p&&/^\.[\\\/]/.test(t)?t.slice(0,2)+h:h;for(let C=0;C<s.length;C++){let S=E+s[C];try{if(G$.sync(S,{pathExt:a}))if(e.all)n.push(S);else return S}catch{}}}if(e.all&&n.length)return n;if(e.nothrow)return null;throw q$(t)};V$.exports=Y$;Y$.sync=d5e});var z$=_((Qkt,TU)=>{"use strict";var K$=(t={})=>{let e=t.env||process.env;return(t.platform||process.platform)!=="win32"?"PATH":Object.keys(e).reverse().find(s=>s.toUpperCase()==="PATH")||"Path"};TU.exports=K$;TU.exports.default=K$});var eee=_((Tkt,$$)=>{"use strict";var X$=Ie("path"),m5e=J$(),y5e=z$();function Z$(t,e){let r=t.options.env||process.env,s=process.cwd(),a=t.options.cwd!=null,n=a&&process.chdir!==void 0&&!process.chdir.disabled;if(n)try{process.chdir(t.options.cwd)}catch{}let c;try{c=m5e.sync(t.command,{path:r[y5e({env:r})],pathExt:e?X$.delimiter:void 0})}catch{}finally{n&&process.chdir(s)}return c&&(c=X$.resolve(a?t.options.cwd:"",c)),c}function E5e(t){return Z$(t)||Z$(t,!0)}$$.exports=E5e});var tee=_((Rkt,FU)=>{"use strict";var RU=/([()\][%!^"`<>&|;, *?])/g;function I5e(t){return t=t.replace(RU,"^$1"),t}function C5e(t,e){return t=`${t}`,t=t.replace(/(?=(\\+?)?)\1"/g,'$1$1\\"'),t=t.replace(/(?=(\\+?)?)\1$/,"$1$1"),t=`"${t}"`,t=t.replace(RU,"^$1"),e&&(t=t.replace(RU,"^$1")),t}FU.exports.command=I5e;FU.exports.argument=C5e});var nee=_((Fkt,ree)=>{"use strict";ree.exports=/^#!(.*)/});var see=_((Nkt,iee)=>{"use strict";var w5e=nee();iee.exports=(t="")=>{let e=t.match(w5e);if(!e)return null;let[r,s]=e[0].replace(/#! ?/,"").split(" "),a=r.split("/").pop();return a==="env"?s:s?`${a} ${s}`:a}});var aee=_((Okt,oee)=>{"use strict";var NU=Ie("fs"),B5e=see();function v5e(t){let r=Buffer.alloc(150),s;try{s=NU.openSync(t,"r"),NU.readSync(s,r,0,150,0),NU.closeSync(s)}catch{}return B5e(r.toString())}oee.exports=v5e});var fee=_((Lkt,uee)=>{"use strict";var S5e=Ie("path"),lee=eee(),cee=tee(),D5e=aee(),b5e=process.platform==="win32",P5e=/\.(?:com|exe)$/i,x5e=/node_modules[\\/].bin[\\/][^\\/]+\.cmd$/i;function k5e(t){t.file=lee(t);let e=t.file&&D5e(t.file);return e?(t.args.unshift(t.file),t.command=e,lee(t)):t.file}function Q5e(t){if(!b5e)return t;let e=k5e(t),r=!P5e.test(e);if(t.options.forceShell||r){let s=x5e.test(e);t.command=S5e.normalize(t.command),t.command=cee.command(t.command),t.args=t.args.map(n=>cee.argument(n,s));let a=[t.command].concat(t.args).join(" ");t.args=["/d","/s","/c",`"${a}"`],t.command=process.env.comspec||"cmd.exe",t.options.windowsVerbatimArguments=!0}return t}function T5e(t,e,r){e&&!Array.isArray(e)&&(r=e,e=null),e=e?e.slice(0):[],r=Object.assign({},r);let s={command:t,args:e,options:r,file:void 0,original:{command:t,args:e}};return r.shell?s:Q5e(s)}uee.exports=T5e});var hee=_((Mkt,pee)=>{"use strict";var OU=process.platform==="win32";function LU(t,e){return Object.assign(new Error(`${e} ${t.command} ENOENT`),{code:"ENOENT",errno:"ENOENT",syscall:`${e} ${t.command}`,path:t.command,spawnargs:t.args})}function R5e(t,e){if(!OU)return;let r=t.emit;t.emit=function(s,a){if(s==="exit"){let n=Aee(a,e);if(n)return r.call(t,"error",n)}return r.apply(t,arguments)}}function Aee(t,e){return OU&&t===1&&!e.file?LU(e.original,"spawn"):null}function F5e(t,e){return OU&&t===1&&!e.file?LU(e.original,"spawnSync"):null}pee.exports={hookChildProcess:R5e,verifyENOENT:Aee,verifyENOENTSync:F5e,notFoundError:LU}});var _U=_((Ukt,uE)=>{"use strict";var gee=Ie("child_process"),MU=fee(),UU=hee();function dee(t,e,r){let s=MU(t,e,r),a=gee.spawn(s.command,s.args,s.options);return UU.hookChildProcess(a,s),a}function N5e(t,e,r){let s=MU(t,e,r),a=gee.spawnSync(s.command,s.args,s.options);return a.error=a.error||UU.verifyENOENTSync(a.status,s),a}uE.exports=dee;uE.exports.spawn=dee;uE.exports.sync=N5e;uE.exports._parse=MU;uE.exports._enoent=UU});var yee=_((_kt,mee)=>{"use strict";function O5e(t,e){function r(){this.constructor=t}r.prototype=e.prototype,t.prototype=new r}function Bd(t,e,r,s){this.message=t,this.expected=e,this.found=r,this.location=s,this.name="SyntaxError",typeof Error.captureStackTrace=="function"&&Error.captureStackTrace(this,Bd)}O5e(Bd,Error);Bd.buildMessage=function(t,e){var r={literal:function(h){return'"'+a(h.text)+'"'},class:function(h){var E="",C;for(C=0;C<h.parts.length;C++)E+=h.parts[C]instanceof Array?n(h.parts[C][0])+"-"+n(h.parts[C][1]):n(h.parts[C]);return"["+(h.inverted?"^":"")+E+"]"},any:function(h){return"any character"},end:function(h){return"end of input"},other:function(h){return h.description}};function s(h){return h.charCodeAt(0).toString(16).toUpperCase()}function a(h){return h.replace(/\\/g,"\\\\").replace(/"/g,'\\"').replace(/\0/g,"\\0").replace(/\t/g,"\\t").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/[\x00-\x0F]/g,function(E){return"\\x0"+s(E)}).replace(/[\x10-\x1F\x7F-\x9F]/g,function(E){return"\\x"+s(E)})}function n(h){return h.replace(/\\/g,"\\\\").replace(/\]/g,"\\]").replace(/\^/g,"\\^").replace(/-/g,"\\-").replace(/\0/g,"\\0").replace(/\t/g,"\\t").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/[\x00-\x0F]/g,function(E){return"\\x0"+s(E)}).replace(/[\x10-\x1F\x7F-\x9F]/g,function(E){return"\\x"+s(E)})}function c(h){return r[h.type](h)}function f(h){var E=new Array(h.length),C,S;for(C=0;C<h.length;C++)E[C]=c(h[C]);if(E.sort(),E.length>0){for(C=1,S=1;C<E.length;C++)E[C-1]!==E[C]&&(E[S]=E[C],S++);E.length=S}switch(E.length){case 1:return E[0];case 2:return E[0]+" or "+E[1];default:return E.slice(0,-1).join(", ")+", or "+E[E.length-1]}}function p(h){return h?'"'+a(h)+'"':"end of input"}return"Expected "+f(t)+" but "+p(e)+" found."};function L5e(t,e){e=e!==void 0?e:{};var r={},s={Start:Wa},a=Wa,n=function(O){return O||[]},c=function(O,K,re){return[{command:O,type:K}].concat(re||[])},f=function(O,K){return[{command:O,type:K||";"}]},p=function(O){return O},h=";",E=ur(";",!1),C="&",S=ur("&",!1),P=function(O,K){return K?{chain:O,then:K}:{chain:O}},I=function(O,K){return{type:O,line:K}},R="&&",N=ur("&&",!1),U="||",W=ur("||",!1),ee=function(O,K){return K?{...O,then:K}:O},ie=function(O,K){return{type:O,chain:K}},ue="|&",le=ur("|&",!1),me="|",pe=ur("|",!1),Be="=",Ce=ur("=",!1),g=function(O,K){return{name:O,args:[K]}},we=function(O){return{name:O,args:[]}},ye="(",Ae=ur("(",!1),se=")",Z=ur(")",!1),De=function(O,K){return{type:"subshell",subshell:O,args:K}},Re="{",mt=ur("{",!1),j="}",rt=ur("}",!1),Fe=function(O,K){return{type:"group",group:O,args:K}},Ne=function(O,K){return{type:"command",args:K,envs:O}},Pe=function(O){return{type:"envs",envs:O}},Ve=function(O){return O},ke=function(O){return O},it=/^[0-9]/,Ue=zi([["0","9"]],!1,!1),x=function(O,K,re){return{type:"redirection",subtype:K,fd:O!==null?parseInt(O):null,args:[re]}},w=">>",b=ur(">>",!1),y=">&",F=ur(">&",!1),z=">",X=ur(">",!1),$="<<<",oe=ur("<<<",!1),xe="<&",Te=ur("<&",!1),lt="<",Ct=ur("<",!1),qt=function(O){return{type:"argument",segments:[].concat(...O)}},ir=function(O){return O},Pt="$'",gn=ur("$'",!1),Pr="'",Ir=ur("'",!1),Or=function(O){return[{type:"text",text:O}]},on='""',ai=ur('""',!1),Io=function(){return{type:"text",text:""}},rs='"',$s=ur('"',!1),Co=function(O){return O},ji=function(O){return{type:"arithmetic",arithmetic:O,quoted:!0}},eo=function(O){return{type:"shell",shell:O,quoted:!0}},wo=function(O){return{type:"variable",...O,quoted:!0}},QA=function(O){return{type:"text",text:O}},Af=function(O){return{type:"arithmetic",arithmetic:O,quoted:!1}},dh=function(O){return{type:"shell",shell:O,quoted:!1}},mh=function(O){return{type:"variable",...O,quoted:!1}},to=function(O){return{type:"glob",pattern:O}},jn=/^[^']/,Ts=zi(["'"],!0,!1),ro=function(O){return O.join("")},ou=/^[^$"]/,au=zi(["$",'"'],!0,!1),lu=`\\
`,TA=ur(`\\
`,!1),RA=function(){return""},oa="\\",aa=ur("\\",!1),FA=/^[\\$"`]/,gr=zi(["\\","$",'"',"`"],!1,!1),Bo=function(O){return O},Me="\\a",cu=ur("\\a",!1),Cr=function(){return"a"},pf="\\b",NA=ur("\\b",!1),OA=function(){return"\b"},uu=/^[Ee]/,fu=zi(["E","e"],!1,!1),oc=function(){return"\x1B"},ve="\\f",Nt=ur("\\f",!1),ac=function(){return"\f"},Oi="\\n",no=ur("\\n",!1),Rt=function(){return`
`},xn="\\r",la=ur("\\r",!1),Gi=function(){return"\r"},Li="\\t",Na=ur("\\t",!1),dn=function(){return" "},Kn="\\v",Au=ur("\\v",!1),yh=function(){return"\v"},Oa=/^[\\'"?]/,La=zi(["\\","'",'"',"?"],!1,!1),Ma=function(O){return String.fromCharCode(parseInt(O,16))},$e="\\x",Ua=ur("\\x",!1),hf="\\u",lc=ur("\\u",!1),wn="\\U",ca=ur("\\U",!1),LA=function(O){return String.fromCodePoint(parseInt(O,16))},MA=/^[0-7]/,ua=zi([["0","7"]],!1,!1),Bl=/^[0-9a-fA-f]/,Mt=zi([["0","9"],["a","f"],["A","f"]],!1,!1),kn=yf(),fa="{}",Ha=ur("{}",!1),ns=function(){return"{}"},cc="-",pu=ur("-",!1),uc="+",ja=ur("+",!1),Mi=".",Is=ur(".",!1),vl=function(O,K,re){return{type:"number",value:(O==="-"?-1:1)*parseFloat(K.join("")+"."+re.join(""))}},gf=function(O,K){return{type:"number",value:(O==="-"?-1:1)*parseInt(K.join(""))}},fc=function(O){return{type:"variable",...O}},wi=function(O){return{type:"variable",name:O}},Qn=function(O){return O},Ac="*",Ke=ur("*",!1),st="/",St=ur("/",!1),lr=function(O,K,re){return{type:K==="*"?"multiplication":"division",right:re}},te=function(O,K){return K.reduce((re,de)=>({left:re,...de}),O)},Ee=function(O,K,re){return{type:K==="+"?"addition":"subtraction",right:re}},Oe="$((",dt=ur("$((",!1),Et="))",bt=ur("))",!1),tr=function(O){return O},An="$(",li=ur("$(",!1),qi=function(O){return O},Tn="${",Ga=ur("${",!1),my=":-",Z1=ur(":-",!1),vo=function(O,K){return{name:O,defaultValue:K}},yy=":-}",Eh=ur(":-}",!1),$1=function(O){return{name:O,defaultValue:[]}},So=":+",Ih=ur(":+",!1),Ch=function(O,K){return{name:O,alternativeValue:K}},hu=":+}",wh=ur(":+}",!1),Fg=function(O){return{name:O,alternativeValue:[]}},Ng=function(O){return{name:O}},Og="$",Ey=ur("$",!1),df=function(O){return e.isGlobPattern(O)},Do=function(O){return O},Sl=/^[a-zA-Z0-9_]/,Bh=zi([["a","z"],["A","Z"],["0","9"],"_"],!1,!1),Lg=function(){return By()},Dl=/^[$@*?#a-zA-Z0-9_\-]/,bl=zi(["$","@","*","?","#",["a","z"],["A","Z"],["0","9"],"_","-"],!1,!1),Iy=/^[()}<>$|&; \t"']/,UA=zi(["(",")","}","<",">","$","|","&",";"," "," ",'"',"'"],!1,!1),Cy=/^[<>&; \t"']/,wy=zi(["<",">","&",";"," "," ",'"',"'"],!1,!1),_A=/^[ \t]/,HA=zi([" "," "],!1,!1),Y=0,xt=0,jA=[{line:1,column:1}],bo=0,mf=[],yt=0,gu;if("startRule"in e){if(!(e.startRule in s))throw new Error(`Can't start parsing from rule "`+e.startRule+'".');a=s[e.startRule]}function By(){return t.substring(xt,Y)}function Mg(){return Ef(xt,Y)}function e2(O,K){throw K=K!==void 0?K:Ef(xt,Y),GA([Ug(O)],t.substring(xt,Y),K)}function vh(O,K){throw K=K!==void 0?K:Ef(xt,Y),di(O,K)}function ur(O,K){return{type:"literal",text:O,ignoreCase:K}}function zi(O,K,re){return{type:"class",parts:O,inverted:K,ignoreCase:re}}function yf(){return{type:"any"}}function qa(){return{type:"end"}}function Ug(O){return{type:"other",description:O}}function du(O){var K=jA[O],re;if(K)return K;for(re=O-1;!jA[re];)re--;for(K=jA[re],K={line:K.line,column:K.column};re<O;)t.charCodeAt(re)===10?(K.line++,K.column=1):K.column++,re++;return jA[O]=K,K}function Ef(O,K){var re=du(O),de=du(K);return{start:{offset:O,line:re.line,column:re.column},end:{offset:K,line:de.line,column:de.column}}}function wt(O){Y<bo||(Y>bo&&(bo=Y,mf=[]),mf.push(O))}function di(O,K){return new Bd(O,null,null,K)}function GA(O,K,re){return new Bd(Bd.buildMessage(O,K),O,K,re)}function Wa(){var O,K,re;for(O=Y,K=[],re=kt();re!==r;)K.push(re),re=kt();return K!==r?(re=Aa(),re===r&&(re=null),re!==r?(xt=O,K=n(re),O=K):(Y=O,O=r)):(Y=O,O=r),O}function Aa(){var O,K,re,de,Je;if(O=Y,K=Sh(),K!==r){for(re=[],de=kt();de!==r;)re.push(de),de=kt();re!==r?(de=_g(),de!==r?(Je=Ya(),Je===r&&(Je=null),Je!==r?(xt=O,K=c(K,de,Je),O=K):(Y=O,O=r)):(Y=O,O=r)):(Y=O,O=r)}else Y=O,O=r;if(O===r)if(O=Y,K=Sh(),K!==r){for(re=[],de=kt();de!==r;)re.push(de),de=kt();re!==r?(de=_g(),de===r&&(de=null),de!==r?(xt=O,K=f(K,de),O=K):(Y=O,O=r)):(Y=O,O=r)}else Y=O,O=r;return O}function Ya(){var O,K,re,de,Je;for(O=Y,K=[],re=kt();re!==r;)K.push(re),re=kt();if(K!==r)if(re=Aa(),re!==r){for(de=[],Je=kt();Je!==r;)de.push(Je),Je=kt();de!==r?(xt=O,K=p(re),O=K):(Y=O,O=r)}else Y=O,O=r;else Y=O,O=r;return O}function _g(){var O;return t.charCodeAt(Y)===59?(O=h,Y++):(O=r,yt===0&&wt(E)),O===r&&(t.charCodeAt(Y)===38?(O=C,Y++):(O=r,yt===0&&wt(S))),O}function Sh(){var O,K,re;return O=Y,K=qA(),K!==r?(re=Hg(),re===r&&(re=null),re!==r?(xt=O,K=P(K,re),O=K):(Y=O,O=r)):(Y=O,O=r),O}function Hg(){var O,K,re,de,Je,At,dr;for(O=Y,K=[],re=kt();re!==r;)K.push(re),re=kt();if(K!==r)if(re=vy(),re!==r){for(de=[],Je=kt();Je!==r;)de.push(Je),Je=kt();if(de!==r)if(Je=Sh(),Je!==r){for(At=[],dr=kt();dr!==r;)At.push(dr),dr=kt();At!==r?(xt=O,K=I(re,Je),O=K):(Y=O,O=r)}else Y=O,O=r;else Y=O,O=r}else Y=O,O=r;else Y=O,O=r;return O}function vy(){var O;return t.substr(Y,2)===R?(O=R,Y+=2):(O=r,yt===0&&wt(N)),O===r&&(t.substr(Y,2)===U?(O=U,Y+=2):(O=r,yt===0&&wt(W))),O}function qA(){var O,K,re;return O=Y,K=If(),K!==r?(re=jg(),re===r&&(re=null),re!==r?(xt=O,K=ee(K,re),O=K):(Y=O,O=r)):(Y=O,O=r),O}function jg(){var O,K,re,de,Je,At,dr;for(O=Y,K=[],re=kt();re!==r;)K.push(re),re=kt();if(K!==r)if(re=mu(),re!==r){for(de=[],Je=kt();Je!==r;)de.push(Je),Je=kt();if(de!==r)if(Je=qA(),Je!==r){for(At=[],dr=kt();dr!==r;)At.push(dr),dr=kt();At!==r?(xt=O,K=ie(re,Je),O=K):(Y=O,O=r)}else Y=O,O=r;else Y=O,O=r}else Y=O,O=r;else Y=O,O=r;return O}function mu(){var O;return t.substr(Y,2)===ue?(O=ue,Y+=2):(O=r,yt===0&&wt(le)),O===r&&(t.charCodeAt(Y)===124?(O=me,Y++):(O=r,yt===0&&wt(pe))),O}function yu(){var O,K,re,de,Je,At;if(O=Y,K=Ph(),K!==r)if(t.charCodeAt(Y)===61?(re=Be,Y++):(re=r,yt===0&&wt(Ce)),re!==r)if(de=WA(),de!==r){for(Je=[],At=kt();At!==r;)Je.push(At),At=kt();Je!==r?(xt=O,K=g(K,de),O=K):(Y=O,O=r)}else Y=O,O=r;else Y=O,O=r;else Y=O,O=r;if(O===r)if(O=Y,K=Ph(),K!==r)if(t.charCodeAt(Y)===61?(re=Be,Y++):(re=r,yt===0&&wt(Ce)),re!==r){for(de=[],Je=kt();Je!==r;)de.push(Je),Je=kt();de!==r?(xt=O,K=we(K),O=K):(Y=O,O=r)}else Y=O,O=r;else Y=O,O=r;return O}function If(){var O,K,re,de,Je,At,dr,vr,Un,mi,Cs;for(O=Y,K=[],re=kt();re!==r;)K.push(re),re=kt();if(K!==r)if(t.charCodeAt(Y)===40?(re=ye,Y++):(re=r,yt===0&&wt(Ae)),re!==r){for(de=[],Je=kt();Je!==r;)de.push(Je),Je=kt();if(de!==r)if(Je=Aa(),Je!==r){for(At=[],dr=kt();dr!==r;)At.push(dr),dr=kt();if(At!==r)if(t.charCodeAt(Y)===41?(dr=se,Y++):(dr=r,yt===0&&wt(Z)),dr!==r){for(vr=[],Un=kt();Un!==r;)vr.push(Un),Un=kt();if(vr!==r){for(Un=[],mi=Gn();mi!==r;)Un.push(mi),mi=Gn();if(Un!==r){for(mi=[],Cs=kt();Cs!==r;)mi.push(Cs),Cs=kt();mi!==r?(xt=O,K=De(Je,Un),O=K):(Y=O,O=r)}else Y=O,O=r}else Y=O,O=r}else Y=O,O=r;else Y=O,O=r}else Y=O,O=r;else Y=O,O=r}else Y=O,O=r;else Y=O,O=r;if(O===r){for(O=Y,K=[],re=kt();re!==r;)K.push(re),re=kt();if(K!==r)if(t.charCodeAt(Y)===123?(re=Re,Y++):(re=r,yt===0&&wt(mt)),re!==r){for(de=[],Je=kt();Je!==r;)de.push(Je),Je=kt();if(de!==r)if(Je=Aa(),Je!==r){for(At=[],dr=kt();dr!==r;)At.push(dr),dr=kt();if(At!==r)if(t.charCodeAt(Y)===125?(dr=j,Y++):(dr=r,yt===0&&wt(rt)),dr!==r){for(vr=[],Un=kt();Un!==r;)vr.push(Un),Un=kt();if(vr!==r){for(Un=[],mi=Gn();mi!==r;)Un.push(mi),mi=Gn();if(Un!==r){for(mi=[],Cs=kt();Cs!==r;)mi.push(Cs),Cs=kt();mi!==r?(xt=O,K=Fe(Je,Un),O=K):(Y=O,O=r)}else Y=O,O=r}else Y=O,O=r}else Y=O,O=r;else Y=O,O=r}else Y=O,O=r;else Y=O,O=r}else Y=O,O=r;else Y=O,O=r;if(O===r){for(O=Y,K=[],re=kt();re!==r;)K.push(re),re=kt();if(K!==r){for(re=[],de=yu();de!==r;)re.push(de),de=yu();if(re!==r){for(de=[],Je=kt();Je!==r;)de.push(Je),Je=kt();if(de!==r){if(Je=[],At=Eu(),At!==r)for(;At!==r;)Je.push(At),At=Eu();else Je=r;if(Je!==r){for(At=[],dr=kt();dr!==r;)At.push(dr),dr=kt();At!==r?(xt=O,K=Ne(re,Je),O=K):(Y=O,O=r)}else Y=O,O=r}else Y=O,O=r}else Y=O,O=r}else Y=O,O=r;if(O===r){for(O=Y,K=[],re=kt();re!==r;)K.push(re),re=kt();if(K!==r){if(re=[],de=yu(),de!==r)for(;de!==r;)re.push(de),de=yu();else re=r;if(re!==r){for(de=[],Je=kt();Je!==r;)de.push(Je),Je=kt();de!==r?(xt=O,K=Pe(re),O=K):(Y=O,O=r)}else Y=O,O=r}else Y=O,O=r}}}return O}function Rs(){var O,K,re,de,Je;for(O=Y,K=[],re=kt();re!==r;)K.push(re),re=kt();if(K!==r){if(re=[],de=Pi(),de!==r)for(;de!==r;)re.push(de),de=Pi();else re=r;if(re!==r){for(de=[],Je=kt();Je!==r;)de.push(Je),Je=kt();de!==r?(xt=O,K=Ve(re),O=K):(Y=O,O=r)}else Y=O,O=r}else Y=O,O=r;return O}function Eu(){var O,K,re;for(O=Y,K=[],re=kt();re!==r;)K.push(re),re=kt();if(K!==r?(re=Gn(),re!==r?(xt=O,K=ke(re),O=K):(Y=O,O=r)):(Y=O,O=r),O===r){for(O=Y,K=[],re=kt();re!==r;)K.push(re),re=kt();K!==r?(re=Pi(),re!==r?(xt=O,K=ke(re),O=K):(Y=O,O=r)):(Y=O,O=r)}return O}function Gn(){var O,K,re,de,Je;for(O=Y,K=[],re=kt();re!==r;)K.push(re),re=kt();return K!==r?(it.test(t.charAt(Y))?(re=t.charAt(Y),Y++):(re=r,yt===0&&wt(Ue)),re===r&&(re=null),re!==r?(de=is(),de!==r?(Je=Pi(),Je!==r?(xt=O,K=x(re,de,Je),O=K):(Y=O,O=r)):(Y=O,O=r)):(Y=O,O=r)):(Y=O,O=r),O}function is(){var O;return t.substr(Y,2)===w?(O=w,Y+=2):(O=r,yt===0&&wt(b)),O===r&&(t.substr(Y,2)===y?(O=y,Y+=2):(O=r,yt===0&&wt(F)),O===r&&(t.charCodeAt(Y)===62?(O=z,Y++):(O=r,yt===0&&wt(X)),O===r&&(t.substr(Y,3)===$?(O=$,Y+=3):(O=r,yt===0&&wt(oe)),O===r&&(t.substr(Y,2)===xe?(O=xe,Y+=2):(O=r,yt===0&&wt(Te)),O===r&&(t.charCodeAt(Y)===60?(O=lt,Y++):(O=r,yt===0&&wt(Ct))))))),O}function Pi(){var O,K,re;for(O=Y,K=[],re=kt();re!==r;)K.push(re),re=kt();return K!==r?(re=WA(),re!==r?(xt=O,K=ke(re),O=K):(Y=O,O=r)):(Y=O,O=r),O}function WA(){var O,K,re;if(O=Y,K=[],re=Cf(),re!==r)for(;re!==r;)K.push(re),re=Cf();else K=r;return K!==r&&(xt=O,K=qt(K)),O=K,O}function Cf(){var O,K;return O=Y,K=mn(),K!==r&&(xt=O,K=ir(K)),O=K,O===r&&(O=Y,K=Gg(),K!==r&&(xt=O,K=ir(K)),O=K,O===r&&(O=Y,K=qg(),K!==r&&(xt=O,K=ir(K)),O=K,O===r&&(O=Y,K=ss(),K!==r&&(xt=O,K=ir(K)),O=K))),O}function mn(){var O,K,re,de;return O=Y,t.substr(Y,2)===Pt?(K=Pt,Y+=2):(K=r,yt===0&&wt(gn)),K!==r?(re=yn(),re!==r?(t.charCodeAt(Y)===39?(de=Pr,Y++):(de=r,yt===0&&wt(Ir)),de!==r?(xt=O,K=Or(re),O=K):(Y=O,O=r)):(Y=O,O=r)):(Y=O,O=r),O}function Gg(){var O,K,re,de;return O=Y,t.charCodeAt(Y)===39?(K=Pr,Y++):(K=r,yt===0&&wt(Ir)),K!==r?(re=wf(),re!==r?(t.charCodeAt(Y)===39?(de=Pr,Y++):(de=r,yt===0&&wt(Ir)),de!==r?(xt=O,K=Or(re),O=K):(Y=O,O=r)):(Y=O,O=r)):(Y=O,O=r),O}function qg(){var O,K,re,de;if(O=Y,t.substr(Y,2)===on?(K=on,Y+=2):(K=r,yt===0&&wt(ai)),K!==r&&(xt=O,K=Io()),O=K,O===r)if(O=Y,t.charCodeAt(Y)===34?(K=rs,Y++):(K=r,yt===0&&wt($s)),K!==r){for(re=[],de=Pl();de!==r;)re.push(de),de=Pl();re!==r?(t.charCodeAt(Y)===34?(de=rs,Y++):(de=r,yt===0&&wt($s)),de!==r?(xt=O,K=Co(re),O=K):(Y=O,O=r)):(Y=O,O=r)}else Y=O,O=r;return O}function ss(){var O,K,re;if(O=Y,K=[],re=Po(),re!==r)for(;re!==r;)K.push(re),re=Po();else K=r;return K!==r&&(xt=O,K=Co(K)),O=K,O}function Pl(){var O,K;return O=Y,K=Zr(),K!==r&&(xt=O,K=ji(K)),O=K,O===r&&(O=Y,K=bh(),K!==r&&(xt=O,K=eo(K)),O=K,O===r&&(O=Y,K=VA(),K!==r&&(xt=O,K=wo(K)),O=K,O===r&&(O=Y,K=Bf(),K!==r&&(xt=O,K=QA(K)),O=K))),O}function Po(){var O,K;return O=Y,K=Zr(),K!==r&&(xt=O,K=Af(K)),O=K,O===r&&(O=Y,K=bh(),K!==r&&(xt=O,K=dh(K)),O=K,O===r&&(O=Y,K=VA(),K!==r&&(xt=O,K=mh(K)),O=K,O===r&&(O=Y,K=Sy(),K!==r&&(xt=O,K=to(K)),O=K,O===r&&(O=Y,K=Dh(),K!==r&&(xt=O,K=QA(K)),O=K)))),O}function wf(){var O,K,re;for(O=Y,K=[],jn.test(t.charAt(Y))?(re=t.charAt(Y),Y++):(re=r,yt===0&&wt(Ts));re!==r;)K.push(re),jn.test(t.charAt(Y))?(re=t.charAt(Y),Y++):(re=r,yt===0&&wt(Ts));return K!==r&&(xt=O,K=ro(K)),O=K,O}function Bf(){var O,K,re;if(O=Y,K=[],re=xl(),re===r&&(ou.test(t.charAt(Y))?(re=t.charAt(Y),Y++):(re=r,yt===0&&wt(au))),re!==r)for(;re!==r;)K.push(re),re=xl(),re===r&&(ou.test(t.charAt(Y))?(re=t.charAt(Y),Y++):(re=r,yt===0&&wt(au)));else K=r;return K!==r&&(xt=O,K=ro(K)),O=K,O}function xl(){var O,K,re;return O=Y,t.substr(Y,2)===lu?(K=lu,Y+=2):(K=r,yt===0&&wt(TA)),K!==r&&(xt=O,K=RA()),O=K,O===r&&(O=Y,t.charCodeAt(Y)===92?(K=oa,Y++):(K=r,yt===0&&wt(aa)),K!==r?(FA.test(t.charAt(Y))?(re=t.charAt(Y),Y++):(re=r,yt===0&&wt(gr)),re!==r?(xt=O,K=Bo(re),O=K):(Y=O,O=r)):(Y=O,O=r)),O}function yn(){var O,K,re;for(O=Y,K=[],re=xo(),re===r&&(jn.test(t.charAt(Y))?(re=t.charAt(Y),Y++):(re=r,yt===0&&wt(Ts)));re!==r;)K.push(re),re=xo(),re===r&&(jn.test(t.charAt(Y))?(re=t.charAt(Y),Y++):(re=r,yt===0&&wt(Ts)));return K!==r&&(xt=O,K=ro(K)),O=K,O}function xo(){var O,K,re;return O=Y,t.substr(Y,2)===Me?(K=Me,Y+=2):(K=r,yt===0&&wt(cu)),K!==r&&(xt=O,K=Cr()),O=K,O===r&&(O=Y,t.substr(Y,2)===pf?(K=pf,Y+=2):(K=r,yt===0&&wt(NA)),K!==r&&(xt=O,K=OA()),O=K,O===r&&(O=Y,t.charCodeAt(Y)===92?(K=oa,Y++):(K=r,yt===0&&wt(aa)),K!==r?(uu.test(t.charAt(Y))?(re=t.charAt(Y),Y++):(re=r,yt===0&&wt(fu)),re!==r?(xt=O,K=oc(),O=K):(Y=O,O=r)):(Y=O,O=r),O===r&&(O=Y,t.substr(Y,2)===ve?(K=ve,Y+=2):(K=r,yt===0&&wt(Nt)),K!==r&&(xt=O,K=ac()),O=K,O===r&&(O=Y,t.substr(Y,2)===Oi?(K=Oi,Y+=2):(K=r,yt===0&&wt(no)),K!==r&&(xt=O,K=Rt()),O=K,O===r&&(O=Y,t.substr(Y,2)===xn?(K=xn,Y+=2):(K=r,yt===0&&wt(la)),K!==r&&(xt=O,K=Gi()),O=K,O===r&&(O=Y,t.substr(Y,2)===Li?(K=Li,Y+=2):(K=r,yt===0&&wt(Na)),K!==r&&(xt=O,K=dn()),O=K,O===r&&(O=Y,t.substr(Y,2)===Kn?(K=Kn,Y+=2):(K=r,yt===0&&wt(Au)),K!==r&&(xt=O,K=yh()),O=K,O===r&&(O=Y,t.charCodeAt(Y)===92?(K=oa,Y++):(K=r,yt===0&&wt(aa)),K!==r?(Oa.test(t.charAt(Y))?(re=t.charAt(Y),Y++):(re=r,yt===0&&wt(La)),re!==r?(xt=O,K=Bo(re),O=K):(Y=O,O=r)):(Y=O,O=r),O===r&&(O=Iu()))))))))),O}function Iu(){var O,K,re,de,Je,At,dr,vr,Un,mi,Cs,JA;return O=Y,t.charCodeAt(Y)===92?(K=oa,Y++):(K=r,yt===0&&wt(aa)),K!==r?(re=pa(),re!==r?(xt=O,K=Ma(re),O=K):(Y=O,O=r)):(Y=O,O=r),O===r&&(O=Y,t.substr(Y,2)===$e?(K=$e,Y+=2):(K=r,yt===0&&wt(Ua)),K!==r?(re=Y,de=Y,Je=pa(),Je!==r?(At=Fs(),At!==r?(Je=[Je,At],de=Je):(Y=de,de=r)):(Y=de,de=r),de===r&&(de=pa()),de!==r?re=t.substring(re,Y):re=de,re!==r?(xt=O,K=Ma(re),O=K):(Y=O,O=r)):(Y=O,O=r),O===r&&(O=Y,t.substr(Y,2)===hf?(K=hf,Y+=2):(K=r,yt===0&&wt(lc)),K!==r?(re=Y,de=Y,Je=Fs(),Je!==r?(At=Fs(),At!==r?(dr=Fs(),dr!==r?(vr=Fs(),vr!==r?(Je=[Je,At,dr,vr],de=Je):(Y=de,de=r)):(Y=de,de=r)):(Y=de,de=r)):(Y=de,de=r),de!==r?re=t.substring(re,Y):re=de,re!==r?(xt=O,K=Ma(re),O=K):(Y=O,O=r)):(Y=O,O=r),O===r&&(O=Y,t.substr(Y,2)===wn?(K=wn,Y+=2):(K=r,yt===0&&wt(ca)),K!==r?(re=Y,de=Y,Je=Fs(),Je!==r?(At=Fs(),At!==r?(dr=Fs(),dr!==r?(vr=Fs(),vr!==r?(Un=Fs(),Un!==r?(mi=Fs(),mi!==r?(Cs=Fs(),Cs!==r?(JA=Fs(),JA!==r?(Je=[Je,At,dr,vr,Un,mi,Cs,JA],de=Je):(Y=de,de=r)):(Y=de,de=r)):(Y=de,de=r)):(Y=de,de=r)):(Y=de,de=r)):(Y=de,de=r)):(Y=de,de=r)):(Y=de,de=r),de!==r?re=t.substring(re,Y):re=de,re!==r?(xt=O,K=LA(re),O=K):(Y=O,O=r)):(Y=O,O=r)))),O}function pa(){var O;return MA.test(t.charAt(Y))?(O=t.charAt(Y),Y++):(O=r,yt===0&&wt(ua)),O}function Fs(){var O;return Bl.test(t.charAt(Y))?(O=t.charAt(Y),Y++):(O=r,yt===0&&wt(Mt)),O}function Dh(){var O,K,re,de,Je;if(O=Y,K=[],re=Y,t.charCodeAt(Y)===92?(de=oa,Y++):(de=r,yt===0&&wt(aa)),de!==r?(t.length>Y?(Je=t.charAt(Y),Y++):(Je=r,yt===0&&wt(kn)),Je!==r?(xt=re,de=Bo(Je),re=de):(Y=re,re=r)):(Y=re,re=r),re===r&&(re=Y,t.substr(Y,2)===fa?(de=fa,Y+=2):(de=r,yt===0&&wt(Ha)),de!==r&&(xt=re,de=ns()),re=de,re===r&&(re=Y,de=Y,yt++,Je=Dy(),yt--,Je===r?de=void 0:(Y=de,de=r),de!==r?(t.length>Y?(Je=t.charAt(Y),Y++):(Je=r,yt===0&&wt(kn)),Je!==r?(xt=re,de=Bo(Je),re=de):(Y=re,re=r)):(Y=re,re=r))),re!==r)for(;re!==r;)K.push(re),re=Y,t.charCodeAt(Y)===92?(de=oa,Y++):(de=r,yt===0&&wt(aa)),de!==r?(t.length>Y?(Je=t.charAt(Y),Y++):(Je=r,yt===0&&wt(kn)),Je!==r?(xt=re,de=Bo(Je),re=de):(Y=re,re=r)):(Y=re,re=r),re===r&&(re=Y,t.substr(Y,2)===fa?(de=fa,Y+=2):(de=r,yt===0&&wt(Ha)),de!==r&&(xt=re,de=ns()),re=de,re===r&&(re=Y,de=Y,yt++,Je=Dy(),yt--,Je===r?de=void 0:(Y=de,de=r),de!==r?(t.length>Y?(Je=t.charAt(Y),Y++):(Je=r,yt===0&&wt(kn)),Je!==r?(xt=re,de=Bo(Je),re=de):(Y=re,re=r)):(Y=re,re=r)));else K=r;return K!==r&&(xt=O,K=ro(K)),O=K,O}function YA(){var O,K,re,de,Je,At;if(O=Y,t.charCodeAt(Y)===45?(K=cc,Y++):(K=r,yt===0&&wt(pu)),K===r&&(t.charCodeAt(Y)===43?(K=uc,Y++):(K=r,yt===0&&wt(ja))),K===r&&(K=null),K!==r){if(re=[],it.test(t.charAt(Y))?(de=t.charAt(Y),Y++):(de=r,yt===0&&wt(Ue)),de!==r)for(;de!==r;)re.push(de),it.test(t.charAt(Y))?(de=t.charAt(Y),Y++):(de=r,yt===0&&wt(Ue));else re=r;if(re!==r)if(t.charCodeAt(Y)===46?(de=Mi,Y++):(de=r,yt===0&&wt(Is)),de!==r){if(Je=[],it.test(t.charAt(Y))?(At=t.charAt(Y),Y++):(At=r,yt===0&&wt(Ue)),At!==r)for(;At!==r;)Je.push(At),it.test(t.charAt(Y))?(At=t.charAt(Y),Y++):(At=r,yt===0&&wt(Ue));else Je=r;Je!==r?(xt=O,K=vl(K,re,Je),O=K):(Y=O,O=r)}else Y=O,O=r;else Y=O,O=r}else Y=O,O=r;if(O===r){if(O=Y,t.charCodeAt(Y)===45?(K=cc,Y++):(K=r,yt===0&&wt(pu)),K===r&&(t.charCodeAt(Y)===43?(K=uc,Y++):(K=r,yt===0&&wt(ja))),K===r&&(K=null),K!==r){if(re=[],it.test(t.charAt(Y))?(de=t.charAt(Y),Y++):(de=r,yt===0&&wt(Ue)),de!==r)for(;de!==r;)re.push(de),it.test(t.charAt(Y))?(de=t.charAt(Y),Y++):(de=r,yt===0&&wt(Ue));else re=r;re!==r?(xt=O,K=gf(K,re),O=K):(Y=O,O=r)}else Y=O,O=r;if(O===r&&(O=Y,K=VA(),K!==r&&(xt=O,K=fc(K)),O=K,O===r&&(O=Y,K=pc(),K!==r&&(xt=O,K=wi(K)),O=K,O===r)))if(O=Y,t.charCodeAt(Y)===40?(K=ye,Y++):(K=r,yt===0&&wt(Ae)),K!==r){for(re=[],de=kt();de!==r;)re.push(de),de=kt();if(re!==r)if(de=io(),de!==r){for(Je=[],At=kt();At!==r;)Je.push(At),At=kt();Je!==r?(t.charCodeAt(Y)===41?(At=se,Y++):(At=r,yt===0&&wt(Z)),At!==r?(xt=O,K=Qn(de),O=K):(Y=O,O=r)):(Y=O,O=r)}else Y=O,O=r;else Y=O,O=r}else Y=O,O=r}return O}function vf(){var O,K,re,de,Je,At,dr,vr;if(O=Y,K=YA(),K!==r){for(re=[],de=Y,Je=[],At=kt();At!==r;)Je.push(At),At=kt();if(Je!==r)if(t.charCodeAt(Y)===42?(At=Ac,Y++):(At=r,yt===0&&wt(Ke)),At===r&&(t.charCodeAt(Y)===47?(At=st,Y++):(At=r,yt===0&&wt(St))),At!==r){for(dr=[],vr=kt();vr!==r;)dr.push(vr),vr=kt();dr!==r?(vr=YA(),vr!==r?(xt=de,Je=lr(K,At,vr),de=Je):(Y=de,de=r)):(Y=de,de=r)}else Y=de,de=r;else Y=de,de=r;for(;de!==r;){for(re.push(de),de=Y,Je=[],At=kt();At!==r;)Je.push(At),At=kt();if(Je!==r)if(t.charCodeAt(Y)===42?(At=Ac,Y++):(At=r,yt===0&&wt(Ke)),At===r&&(t.charCodeAt(Y)===47?(At=st,Y++):(At=r,yt===0&&wt(St))),At!==r){for(dr=[],vr=kt();vr!==r;)dr.push(vr),vr=kt();dr!==r?(vr=YA(),vr!==r?(xt=de,Je=lr(K,At,vr),de=Je):(Y=de,de=r)):(Y=de,de=r)}else Y=de,de=r;else Y=de,de=r}re!==r?(xt=O,K=te(K,re),O=K):(Y=O,O=r)}else Y=O,O=r;return O}function io(){var O,K,re,de,Je,At,dr,vr;if(O=Y,K=vf(),K!==r){for(re=[],de=Y,Je=[],At=kt();At!==r;)Je.push(At),At=kt();if(Je!==r)if(t.charCodeAt(Y)===43?(At=uc,Y++):(At=r,yt===0&&wt(ja)),At===r&&(t.charCodeAt(Y)===45?(At=cc,Y++):(At=r,yt===0&&wt(pu))),At!==r){for(dr=[],vr=kt();vr!==r;)dr.push(vr),vr=kt();dr!==r?(vr=vf(),vr!==r?(xt=de,Je=Ee(K,At,vr),de=Je):(Y=de,de=r)):(Y=de,de=r)}else Y=de,de=r;else Y=de,de=r;for(;de!==r;){for(re.push(de),de=Y,Je=[],At=kt();At!==r;)Je.push(At),At=kt();if(Je!==r)if(t.charCodeAt(Y)===43?(At=uc,Y++):(At=r,yt===0&&wt(ja)),At===r&&(t.charCodeAt(Y)===45?(At=cc,Y++):(At=r,yt===0&&wt(pu))),At!==r){for(dr=[],vr=kt();vr!==r;)dr.push(vr),vr=kt();dr!==r?(vr=vf(),vr!==r?(xt=de,Je=Ee(K,At,vr),de=Je):(Y=de,de=r)):(Y=de,de=r)}else Y=de,de=r;else Y=de,de=r}re!==r?(xt=O,K=te(K,re),O=K):(Y=O,O=r)}else Y=O,O=r;return O}function Zr(){var O,K,re,de,Je,At;if(O=Y,t.substr(Y,3)===Oe?(K=Oe,Y+=3):(K=r,yt===0&&wt(dt)),K!==r){for(re=[],de=kt();de!==r;)re.push(de),de=kt();if(re!==r)if(de=io(),de!==r){for(Je=[],At=kt();At!==r;)Je.push(At),At=kt();Je!==r?(t.substr(Y,2)===Et?(At=Et,Y+=2):(At=r,yt===0&&wt(bt)),At!==r?(xt=O,K=tr(de),O=K):(Y=O,O=r)):(Y=O,O=r)}else Y=O,O=r;else Y=O,O=r}else Y=O,O=r;return O}function bh(){var O,K,re,de;return O=Y,t.substr(Y,2)===An?(K=An,Y+=2):(K=r,yt===0&&wt(li)),K!==r?(re=Aa(),re!==r?(t.charCodeAt(Y)===41?(de=se,Y++):(de=r,yt===0&&wt(Z)),de!==r?(xt=O,K=qi(re),O=K):(Y=O,O=r)):(Y=O,O=r)):(Y=O,O=r),O}function VA(){var O,K,re,de,Je,At;return O=Y,t.substr(Y,2)===Tn?(K=Tn,Y+=2):(K=r,yt===0&&wt(Ga)),K!==r?(re=pc(),re!==r?(t.substr(Y,2)===my?(de=my,Y+=2):(de=r,yt===0&&wt(Z1)),de!==r?(Je=Rs(),Je!==r?(t.charCodeAt(Y)===125?(At=j,Y++):(At=r,yt===0&&wt(rt)),At!==r?(xt=O,K=vo(re,Je),O=K):(Y=O,O=r)):(Y=O,O=r)):(Y=O,O=r)):(Y=O,O=r)):(Y=O,O=r),O===r&&(O=Y,t.substr(Y,2)===Tn?(K=Tn,Y+=2):(K=r,yt===0&&wt(Ga)),K!==r?(re=pc(),re!==r?(t.substr(Y,3)===yy?(de=yy,Y+=3):(de=r,yt===0&&wt(Eh)),de!==r?(xt=O,K=$1(re),O=K):(Y=O,O=r)):(Y=O,O=r)):(Y=O,O=r),O===r&&(O=Y,t.substr(Y,2)===Tn?(K=Tn,Y+=2):(K=r,yt===0&&wt(Ga)),K!==r?(re=pc(),re!==r?(t.substr(Y,2)===So?(de=So,Y+=2):(de=r,yt===0&&wt(Ih)),de!==r?(Je=Rs(),Je!==r?(t.charCodeAt(Y)===125?(At=j,Y++):(At=r,yt===0&&wt(rt)),At!==r?(xt=O,K=Ch(re,Je),O=K):(Y=O,O=r)):(Y=O,O=r)):(Y=O,O=r)):(Y=O,O=r)):(Y=O,O=r),O===r&&(O=Y,t.substr(Y,2)===Tn?(K=Tn,Y+=2):(K=r,yt===0&&wt(Ga)),K!==r?(re=pc(),re!==r?(t.substr(Y,3)===hu?(de=hu,Y+=3):(de=r,yt===0&&wt(wh)),de!==r?(xt=O,K=Fg(re),O=K):(Y=O,O=r)):(Y=O,O=r)):(Y=O,O=r),O===r&&(O=Y,t.substr(Y,2)===Tn?(K=Tn,Y+=2):(K=r,yt===0&&wt(Ga)),K!==r?(re=pc(),re!==r?(t.charCodeAt(Y)===125?(de=j,Y++):(de=r,yt===0&&wt(rt)),de!==r?(xt=O,K=Ng(re),O=K):(Y=O,O=r)):(Y=O,O=r)):(Y=O,O=r),O===r&&(O=Y,t.charCodeAt(Y)===36?(K=Og,Y++):(K=r,yt===0&&wt(Ey)),K!==r?(re=pc(),re!==r?(xt=O,K=Ng(re),O=K):(Y=O,O=r)):(Y=O,O=r)))))),O}function Sy(){var O,K,re;return O=Y,K=Wg(),K!==r?(xt=Y,re=df(K),re?re=void 0:re=r,re!==r?(xt=O,K=Do(K),O=K):(Y=O,O=r)):(Y=O,O=r),O}function Wg(){var O,K,re,de,Je;if(O=Y,K=[],re=Y,de=Y,yt++,Je=xh(),yt--,Je===r?de=void 0:(Y=de,de=r),de!==r?(t.length>Y?(Je=t.charAt(Y),Y++):(Je=r,yt===0&&wt(kn)),Je!==r?(xt=re,de=Bo(Je),re=de):(Y=re,re=r)):(Y=re,re=r),re!==r)for(;re!==r;)K.push(re),re=Y,de=Y,yt++,Je=xh(),yt--,Je===r?de=void 0:(Y=de,de=r),de!==r?(t.length>Y?(Je=t.charAt(Y),Y++):(Je=r,yt===0&&wt(kn)),Je!==r?(xt=re,de=Bo(Je),re=de):(Y=re,re=r)):(Y=re,re=r);else K=r;return K!==r&&(xt=O,K=ro(K)),O=K,O}function Ph(){var O,K,re;if(O=Y,K=[],Sl.test(t.charAt(Y))?(re=t.charAt(Y),Y++):(re=r,yt===0&&wt(Bh)),re!==r)for(;re!==r;)K.push(re),Sl.test(t.charAt(Y))?(re=t.charAt(Y),Y++):(re=r,yt===0&&wt(Bh));else K=r;return K!==r&&(xt=O,K=Lg()),O=K,O}function pc(){var O,K,re;if(O=Y,K=[],Dl.test(t.charAt(Y))?(re=t.charAt(Y),Y++):(re=r,yt===0&&wt(bl)),re!==r)for(;re!==r;)K.push(re),Dl.test(t.charAt(Y))?(re=t.charAt(Y),Y++):(re=r,yt===0&&wt(bl));else K=r;return K!==r&&(xt=O,K=Lg()),O=K,O}function Dy(){var O;return Iy.test(t.charAt(Y))?(O=t.charAt(Y),Y++):(O=r,yt===0&&wt(UA)),O}function xh(){var O;return Cy.test(t.charAt(Y))?(O=t.charAt(Y),Y++):(O=r,yt===0&&wt(wy)),O}function kt(){var O,K;if(O=[],_A.test(t.charAt(Y))?(K=t.charAt(Y),Y++):(K=r,yt===0&&wt(HA)),K!==r)for(;K!==r;)O.push(K),_A.test(t.charAt(Y))?(K=t.charAt(Y),Y++):(K=r,yt===0&&wt(HA));else O=r;return O}if(gu=a(),gu!==r&&Y===t.length)return gu;throw gu!==r&&Y<t.length&&wt(qa()),GA(mf,bo<t.length?t.charAt(bo):null,bo<t.length?Ef(bo,bo+1):Ef(bo,bo))}mee.exports={SyntaxError:Bd,parse:L5e}});function ux(t,e={isGlobPattern:()=>!1}){try{return(0,Eee.parse)(t,e)}catch(r){throw r.location&&(r.message=r.message.replace(/(\.)?$/,` (line ${r.location.start.line}, column ${r.location.start.column})$1`)),r}}function fE(t,{endSemicolon:e=!1}={}){return t.map(({command:r,type:s},a)=>`${fx(r)}${s===";"?a!==t.length-1||e?";":"":" &"}`).join(" ")}function fx(t){return`${AE(t.chain)}${t.then?` ${HU(t.then)}`:""}`}function HU(t){return`${t.type} ${fx(t.line)}`}function AE(t){return`${GU(t)}${t.then?` ${jU(t.then)}`:""}`}function jU(t){return`${t.type} ${AE(t.chain)}`}function GU(t){switch(t.type){case"command":return`${t.envs.length>0?`${t.envs.map(e=>cx(e)).join(" ")} `:""}${t.args.map(e=>qU(e)).join(" ")}`;case"subshell":return`(${fE(t.subshell)})${t.args.length>0?` ${t.args.map(e=>H2(e)).join(" ")}`:""}`;case"group":return`{ ${fE(t.group,{endSemicolon:!0})} }${t.args.length>0?` ${t.args.map(e=>H2(e)).join(" ")}`:""}`;case"envs":return t.envs.map(e=>cx(e)).join(" ");default:throw new Error(`Unsupported command type: "${t.type}"`)}}function cx(t){return`${t.name}=${t.args[0]?vd(t.args[0]):""}`}function qU(t){switch(t.type){case"redirection":return H2(t);case"argument":return vd(t);default:throw new Error(`Unsupported argument type: "${t.type}"`)}}function H2(t){return`${t.subtype} ${t.args.map(e=>vd(e)).join(" ")}`}function vd(t){return t.segments.map(e=>WU(e)).join("")}function WU(t){let e=(s,a)=>a?`"${s}"`:s,r=s=>s===""?"''":s.match(/[()}<>$|&;"'\n\t ]/)?s.match(/['\t\p{C}]/u)?s.match(/'/)?`"${s.replace(/["$\t\p{C}]/u,U5e)}"`:`$'${s.replace(/[\t\p{C}]/u,Cee)}'`:`'${s}'`:s;switch(t.type){case"text":return r(t.text);case"glob":return t.pattern;case"shell":return e(`$(${fE(t.shell)})`,t.quoted);case"variable":return e(typeof t.defaultValue>"u"?typeof t.alternativeValue>"u"?`\${${t.name}}`:t.alternativeValue.length===0?`\${${t.name}:+}`:`\${${t.name}:+${t.alternativeValue.map(s=>vd(s)).join(" ")}}`:t.defaultValue.length===0?`\${${t.name}:-}`:`\${${t.name}:-${t.defaultValue.map(s=>vd(s)).join(" ")}}`,t.quoted);case"arithmetic":return`$(( ${Ax(t.arithmetic)} ))`;default:throw new Error(`Unsupported argument segment type: "${t.type}"`)}}function Ax(t){let e=a=>{switch(a){case"addition":return"+";case"subtraction":return"-";case"multiplication":return"*";case"division":return"/";default:throw new Error(`Can't extract operator from arithmetic expression of type "${a}"`)}},r=(a,n)=>n?`( ${a} )`:a,s=a=>r(Ax(a),!["number","variable"].includes(a.type));switch(t.type){case"number":return String(t.value);case"variable":return t.name;default:return`${s(t.left)} ${e(t.type)} ${s(t.right)}`}}var Eee,Iee,M5e,Cee,U5e,wee=Xe(()=>{Eee=ut(yee());Iee=new Map([["\f","\\f"],[`
`,"\\n"],["\r","\\r"],[" ","\\t"],["\v","\\v"],["\0","\\0"]]),M5e=new Map([["\\","\\\\"],["$","\\$"],['"','\\"'],...Array.from(Iee,([t,e])=>[t,`"$'${e}'"`])]),Cee=t=>Iee.get(t)??`\\x${t.charCodeAt(0).toString(16).padStart(2,"0")}`,U5e=t=>M5e.get(t)??`"$'${Cee(t)}'"`});var vee=_((eQt,Bee)=>{"use strict";function _5e(t,e){function r(){this.constructor=t}r.prototype=e.prototype,t.prototype=new r}function Sd(t,e,r,s){this.message=t,this.expected=e,this.found=r,this.location=s,this.name="SyntaxError",typeof Error.captureStackTrace=="function"&&Error.captureStackTrace(this,Sd)}_5e(Sd,Error);Sd.buildMessage=function(t,e){var r={literal:function(h){return'"'+a(h.text)+'"'},class:function(h){var E="",C;for(C=0;C<h.parts.length;C++)E+=h.parts[C]instanceof Array?n(h.parts[C][0])+"-"+n(h.parts[C][1]):n(h.parts[C]);return"["+(h.inverted?"^":"")+E+"]"},any:function(h){return"any character"},end:function(h){return"end of input"},other:function(h){return h.description}};function s(h){return h.charCodeAt(0).toString(16).toUpperCase()}function a(h){return h.replace(/\\/g,"\\\\").replace(/"/g,'\\"').replace(/\0/g,"\\0").replace(/\t/g,"\\t").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/[\x00-\x0F]/g,function(E){return"\\x0"+s(E)}).replace(/[\x10-\x1F\x7F-\x9F]/g,function(E){return"\\x"+s(E)})}function n(h){return h.replace(/\\/g,"\\\\").replace(/\]/g,"\\]").replace(/\^/g,"\\^").replace(/-/g,"\\-").replace(/\0/g,"\\0").replace(/\t/g,"\\t").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/[\x00-\x0F]/g,function(E){return"\\x0"+s(E)}).replace(/[\x10-\x1F\x7F-\x9F]/g,function(E){return"\\x"+s(E)})}function c(h){return r[h.type](h)}function f(h){var E=new Array(h.length),C,S;for(C=0;C<h.length;C++)E[C]=c(h[C]);if(E.sort(),E.length>0){for(C=1,S=1;C<E.length;C++)E[C-1]!==E[C]&&(E[S]=E[C],S++);E.length=S}switch(E.length){case 1:return E[0];case 2:return E[0]+" or "+E[1];default:return E.slice(0,-1).join(", ")+", or "+E[E.length-1]}}function p(h){return h?'"'+a(h)+'"':"end of input"}return"Expected "+f(t)+" but "+p(e)+" found."};function H5e(t,e){e=e!==void 0?e:{};var r={},s={resolution:Ne},a=Ne,n="/",c=ye("/",!1),f=function(Ue,x){return{from:Ue,descriptor:x}},p=function(Ue){return{descriptor:Ue}},h="@",E=ye("@",!1),C=function(Ue,x){return{fullName:Ue,description:x}},S=function(Ue){return{fullName:Ue}},P=function(){return Be()},I=/^[^\/@]/,R=Ae(["/","@"],!0,!1),N=/^[^\/]/,U=Ae(["/"],!0,!1),W=0,ee=0,ie=[{line:1,column:1}],ue=0,le=[],me=0,pe;if("startRule"in e){if(!(e.startRule in s))throw new Error(`Can't start parsing from rule "`+e.startRule+'".');a=s[e.startRule]}function Be(){return t.substring(ee,W)}function Ce(){return mt(ee,W)}function g(Ue,x){throw x=x!==void 0?x:mt(ee,W),Fe([De(Ue)],t.substring(ee,W),x)}function we(Ue,x){throw x=x!==void 0?x:mt(ee,W),rt(Ue,x)}function ye(Ue,x){return{type:"literal",text:Ue,ignoreCase:x}}function Ae(Ue,x,w){return{type:"class",parts:Ue,inverted:x,ignoreCase:w}}function se(){return{type:"any"}}function Z(){return{type:"end"}}function De(Ue){return{type:"other",description:Ue}}function Re(Ue){var x=ie[Ue],w;if(x)return x;for(w=Ue-1;!ie[w];)w--;for(x=ie[w],x={line:x.line,column:x.column};w<Ue;)t.charCodeAt(w)===10?(x.line++,x.column=1):x.column++,w++;return ie[Ue]=x,x}function mt(Ue,x){var w=Re(Ue),b=Re(x);return{start:{offset:Ue,line:w.line,column:w.column},end:{offset:x,line:b.line,column:b.column}}}function j(Ue){W<ue||(W>ue&&(ue=W,le=[]),le.push(Ue))}function rt(Ue,x){return new Sd(Ue,null,null,x)}function Fe(Ue,x,w){return new Sd(Sd.buildMessage(Ue,x),Ue,x,w)}function Ne(){var Ue,x,w,b;return Ue=W,x=Pe(),x!==r?(t.charCodeAt(W)===47?(w=n,W++):(w=r,me===0&&j(c)),w!==r?(b=Pe(),b!==r?(ee=Ue,x=f(x,b),Ue=x):(W=Ue,Ue=r)):(W=Ue,Ue=r)):(W=Ue,Ue=r),Ue===r&&(Ue=W,x=Pe(),x!==r&&(ee=Ue,x=p(x)),Ue=x),Ue}function Pe(){var Ue,x,w,b;return Ue=W,x=Ve(),x!==r?(t.charCodeAt(W)===64?(w=h,W++):(w=r,me===0&&j(E)),w!==r?(b=it(),b!==r?(ee=Ue,x=C(x,b),Ue=x):(W=Ue,Ue=r)):(W=Ue,Ue=r)):(W=Ue,Ue=r),Ue===r&&(Ue=W,x=Ve(),x!==r&&(ee=Ue,x=S(x)),Ue=x),Ue}function Ve(){var Ue,x,w,b,y;return Ue=W,t.charCodeAt(W)===64?(x=h,W++):(x=r,me===0&&j(E)),x!==r?(w=ke(),w!==r?(t.charCodeAt(W)===47?(b=n,W++):(b=r,me===0&&j(c)),b!==r?(y=ke(),y!==r?(ee=Ue,x=P(),Ue=x):(W=Ue,Ue=r)):(W=Ue,Ue=r)):(W=Ue,Ue=r)):(W=Ue,Ue=r),Ue===r&&(Ue=W,x=ke(),x!==r&&(ee=Ue,x=P()),Ue=x),Ue}function ke(){var Ue,x,w;if(Ue=W,x=[],I.test(t.charAt(W))?(w=t.charAt(W),W++):(w=r,me===0&&j(R)),w!==r)for(;w!==r;)x.push(w),I.test(t.charAt(W))?(w=t.charAt(W),W++):(w=r,me===0&&j(R));else x=r;return x!==r&&(ee=Ue,x=P()),Ue=x,Ue}function it(){var Ue,x,w;if(Ue=W,x=[],N.test(t.charAt(W))?(w=t.charAt(W),W++):(w=r,me===0&&j(U)),w!==r)for(;w!==r;)x.push(w),N.test(t.charAt(W))?(w=t.charAt(W),W++):(w=r,me===0&&j(U));else x=r;return x!==r&&(ee=Ue,x=P()),Ue=x,Ue}if(pe=a(),pe!==r&&W===t.length)return pe;throw pe!==r&&W<t.length&&j(Z()),Fe(le,ue<t.length?t.charAt(ue):null,ue<t.length?mt(ue,ue+1):mt(ue,ue))}Bee.exports={SyntaxError:Sd,parse:H5e}});function px(t){let e=t.match(/^\*{1,2}\/(.*)/);if(e)throw new Error(`The override for '${t}' includes a glob pattern. Glob patterns have been removed since their behaviours don't match what you'd expect. Set the override to '${e[1]}' instead.`);try{return(0,See.parse)(t)}catch(r){throw r.location&&(r.message=r.message.replace(/(\.)?$/,` (line ${r.location.start.line}, column ${r.location.start.column})$1`)),r}}function hx(t){let e="";return t.from&&(e+=t.from.fullName,t.from.description&&(e+=`@${t.from.description}`),e+="/"),e+=t.descriptor.fullName,t.descriptor.description&&(e+=`@${t.descriptor.description}`),e}var See,Dee=Xe(()=>{See=ut(vee())});var bd=_((rQt,Dd)=>{"use strict";function bee(t){return typeof t>"u"||t===null}function j5e(t){return typeof t=="object"&&t!==null}function G5e(t){return Array.isArray(t)?t:bee(t)?[]:[t]}function q5e(t,e){var r,s,a,n;if(e)for(n=Object.keys(e),r=0,s=n.length;r<s;r+=1)a=n[r],t[a]=e[a];return t}function W5e(t,e){var r="",s;for(s=0;s<e;s+=1)r+=t;return r}function Y5e(t){return t===0&&Number.NEGATIVE_INFINITY===1/t}Dd.exports.isNothing=bee;Dd.exports.isObject=j5e;Dd.exports.toArray=G5e;Dd.exports.repeat=W5e;Dd.exports.isNegativeZero=Y5e;Dd.exports.extend=q5e});var pE=_((nQt,Pee)=>{"use strict";function j2(t,e){Error.call(this),this.name="YAMLException",this.reason=t,this.mark=e,this.message=(this.reason||"(unknown reason)")+(this.mark?" "+this.mark.toString():""),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack||""}j2.prototype=Object.create(Error.prototype);j2.prototype.constructor=j2;j2.prototype.toString=function(e){var r=this.name+": ";return r+=this.reason||"(unknown reason)",!e&&this.mark&&(r+=" "+this.mark.toString()),r};Pee.exports=j2});var Qee=_((iQt,kee)=>{"use strict";var xee=bd();function YU(t,e,r,s,a){this.name=t,this.buffer=e,this.position=r,this.line=s,this.column=a}YU.prototype.getSnippet=function(e,r){var s,a,n,c,f;if(!this.buffer)return null;for(e=e||4,r=r||75,s="",a=this.position;a>0&&`\0\r
\x85\u2028\u2029`.indexOf(this.buffer.charAt(a-1))===-1;)if(a-=1,this.position-a>r/2-1){s=" ... ",a+=5;break}for(n="",c=this.position;c<this.buffer.length&&`\0\r
\x85\u2028\u2029`.indexOf(this.buffer.charAt(c))===-1;)if(c+=1,c-this.position>r/2-1){n=" ... ",c-=5;break}return f=this.buffer.slice(a,c),xee.repeat(" ",e)+s+f+n+`
`+xee.repeat(" ",e+this.position-a+s.length)+"^"};YU.prototype.toString=function(e){var r,s="";return this.name&&(s+='in "'+this.name+'" '),s+="at line "+(this.line+1)+", column "+(this.column+1),e||(r=this.getSnippet(),r&&(s+=`:
`+r)),s};kee.exports=YU});var Ss=_((sQt,Ree)=>{"use strict";var Tee=pE(),V5e=["kind","resolve","construct","instanceOf","predicate","represent","defaultStyle","styleAliases"],J5e=["scalar","sequence","mapping"];function K5e(t){var e={};return t!==null&&Object.keys(t).forEach(function(r){t[r].forEach(function(s){e[String(s)]=r})}),e}function z5e(t,e){if(e=e||{},Object.keys(e).forEach(function(r){if(V5e.indexOf(r)===-1)throw new Tee('Unknown option "'+r+'" is met in definition of "'+t+'" YAML type.')}),this.tag=t,this.kind=e.kind||null,this.resolve=e.resolve||function(){return!0},this.construct=e.construct||function(r){return r},this.instanceOf=e.instanceOf||null,this.predicate=e.predicate||null,this.represent=e.represent||null,this.defaultStyle=e.defaultStyle||null,this.styleAliases=K5e(e.styleAliases||null),J5e.indexOf(this.kind)===-1)throw new Tee('Unknown kind "'+this.kind+'" is specified for "'+t+'" YAML type.')}Ree.exports=z5e});var Pd=_((oQt,Nee)=>{"use strict";var Fee=bd(),gx=pE(),X5e=Ss();function VU(t,e,r){var s=[];return t.include.forEach(function(a){r=VU(a,e,r)}),t[e].forEach(function(a){r.forEach(function(n,c){n.tag===a.tag&&n.kind===a.kind&&s.push(c)}),r.push(a)}),r.filter(function(a,n){return s.indexOf(n)===-1})}function Z5e(){var t={scalar:{},sequence:{},mapping:{},fallback:{}},e,r;function s(a){t[a.kind][a.tag]=t.fallback[a.tag]=a}for(e=0,r=arguments.length;e<r;e+=1)arguments[e].forEach(s);return t}function hE(t){this.include=t.include||[],this.implicit=t.implicit||[],this.explicit=t.explicit||[],this.implicit.forEach(function(e){if(e.loadKind&&e.loadKind!=="scalar")throw new gx("There is a non-scalar type in the implicit list of a schema. Implicit resolving of such types is not supported.")}),this.compiledImplicit=VU(this,"implicit",[]),this.compiledExplicit=VU(this,"explicit",[]),this.compiledTypeMap=Z5e(this.compiledImplicit,this.compiledExplicit)}hE.DEFAULT=null;hE.create=function(){var e,r;switch(arguments.length){case 1:e=hE.DEFAULT,r=arguments[0];break;case 2:e=arguments[0],r=arguments[1];break;default:throw new gx("Wrong number of arguments for Schema.create function")}if(e=Fee.toArray(e),r=Fee.toArray(r),!e.every(function(s){return s instanceof hE}))throw new gx("Specified list of super schemas (or a single Schema object) contains a non-Schema object.");if(!r.every(function(s){return s instanceof X5e}))throw new gx("Specified list of YAML types (or a single Type object) contains a non-Type object.");return new hE({include:e,explicit:r})};Nee.exports=hE});var Lee=_((aQt,Oee)=>{"use strict";var $5e=Ss();Oee.exports=new $5e("tag:yaml.org,2002:str",{kind:"scalar",construct:function(t){return t!==null?t:""}})});var Uee=_((lQt,Mee)=>{"use strict";var eqe=Ss();Mee.exports=new eqe("tag:yaml.org,2002:seq",{kind:"sequence",construct:function(t){return t!==null?t:[]}})});var Hee=_((cQt,_ee)=>{"use strict";var tqe=Ss();_ee.exports=new tqe("tag:yaml.org,2002:map",{kind:"mapping",construct:function(t){return t!==null?t:{}}})});var dx=_((uQt,jee)=>{"use strict";var rqe=Pd();jee.exports=new rqe({explicit:[Lee(),Uee(),Hee()]})});var qee=_((fQt,Gee)=>{"use strict";var nqe=Ss();function iqe(t){if(t===null)return!0;var e=t.length;return e===1&&t==="~"||e===4&&(t==="null"||t==="Null"||t==="NULL")}function sqe(){return null}function oqe(t){return t===null}Gee.exports=new nqe("tag:yaml.org,2002:null",{kind:"scalar",resolve:iqe,construct:sqe,predicate:oqe,represent:{canonical:function(){return"~"},lowercase:function(){return"null"},uppercase:function(){return"NULL"},camelcase:function(){return"Null"}},defaultStyle:"lowercase"})});var Yee=_((AQt,Wee)=>{"use strict";var aqe=Ss();function lqe(t){if(t===null)return!1;var e=t.length;return e===4&&(t==="true"||t==="True"||t==="TRUE")||e===5&&(t==="false"||t==="False"||t==="FALSE")}function cqe(t){return t==="true"||t==="True"||t==="TRUE"}function uqe(t){return Object.prototype.toString.call(t)==="[object Boolean]"}Wee.exports=new aqe("tag:yaml.org,2002:bool",{kind:"scalar",resolve:lqe,construct:cqe,predicate:uqe,represent:{lowercase:function(t){return t?"true":"false"},uppercase:function(t){return t?"TRUE":"FALSE"},camelcase:function(t){return t?"True":"False"}},defaultStyle:"lowercase"})});var Jee=_((pQt,Vee)=>{"use strict";var fqe=bd(),Aqe=Ss();function pqe(t){return 48<=t&&t<=57||65<=t&&t<=70||97<=t&&t<=102}function hqe(t){return 48<=t&&t<=55}function gqe(t){return 48<=t&&t<=57}function dqe(t){if(t===null)return!1;var e=t.length,r=0,s=!1,a;if(!e)return!1;if(a=t[r],(a==="-"||a==="+")&&(a=t[++r]),a==="0"){if(r+1===e)return!0;if(a=t[++r],a==="b"){for(r++;r<e;r++)if(a=t[r],a!=="_"){if(a!=="0"&&a!=="1")return!1;s=!0}return s&&a!=="_"}if(a==="x"){for(r++;r<e;r++)if(a=t[r],a!=="_"){if(!pqe(t.charCodeAt(r)))return!1;s=!0}return s&&a!=="_"}for(;r<e;r++)if(a=t[r],a!=="_"){if(!hqe(t.charCodeAt(r)))return!1;s=!0}return s&&a!=="_"}if(a==="_")return!1;for(;r<e;r++)if(a=t[r],a!=="_"){if(a===":")break;if(!gqe(t.charCodeAt(r)))return!1;s=!0}return!s||a==="_"?!1:a!==":"?!0:/^(:[0-5]?[0-9])+$/.test(t.slice(r))}function mqe(t){var e=t,r=1,s,a,n=[];return e.indexOf("_")!==-1&&(e=e.replace(/_/g,"")),s=e[0],(s==="-"||s==="+")&&(s==="-"&&(r=-1),e=e.slice(1),s=e[0]),e==="0"?0:s==="0"?e[1]==="b"?r*parseInt(e.slice(2),2):e[1]==="x"?r*parseInt(e,16):r*parseInt(e,8):e.indexOf(":")!==-1?(e.split(":").forEach(function(c){n.unshift(parseInt(c,10))}),e=0,a=1,n.forEach(function(c){e+=c*a,a*=60}),r*e):r*parseInt(e,10)}function yqe(t){return Object.prototype.toString.call(t)==="[object Number]"&&t%1===0&&!fqe.isNegativeZero(t)}Vee.exports=new Aqe("tag:yaml.org,2002:int",{kind:"scalar",resolve:dqe,construct:mqe,predicate:yqe,represent:{binary:function(t){return t>=0?"0b"+t.toString(2):"-0b"+t.toString(2).slice(1)},octal:function(t){return t>=0?"0"+t.toString(8):"-0"+t.toString(8).slice(1)},decimal:function(t){return t.toString(10)},hexadecimal:function(t){return t>=0?"0x"+t.toString(16).toUpperCase():"-0x"+t.toString(16).toUpperCase().slice(1)}},defaultStyle:"decimal",styleAliases:{binary:[2,"bin"],octal:[8,"oct"],decimal:[10,"dec"],hexadecimal:[16,"hex"]}})});var Xee=_((hQt,zee)=>{"use strict";var Kee=bd(),Eqe=Ss(),Iqe=new RegExp("^(?:[-+]?(?:0|[1-9][0-9_]*)(?:\\.[0-9_]*)?(?:[eE][-+]?[0-9]+)?|\\.[0-9_]+(?:[eE][-+]?[0-9]+)?|[-+]?[0-9][0-9_]*(?::[0-5]?[0-9])+\\.[0-9_]*|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$");function Cqe(t){return!(t===null||!Iqe.test(t)||t[t.length-1]==="_")}function wqe(t){var e,r,s,a;return e=t.replace(/_/g,"").toLowerCase(),r=e[0]==="-"?-1:1,a=[],"+-".indexOf(e[0])>=0&&(e=e.slice(1)),e===".inf"?r===1?Number.POSITIVE_INFINITY:Number.NEGATIVE_INFINITY:e===".nan"?NaN:e.indexOf(":")>=0?(e.split(":").forEach(function(n){a.unshift(parseFloat(n,10))}),e=0,s=1,a.forEach(function(n){e+=n*s,s*=60}),r*e):r*parseFloat(e,10)}var Bqe=/^[-+]?[0-9]+e/;function vqe(t,e){var r;if(isNaN(t))switch(e){case"lowercase":return".nan";case"uppercase":return".NAN";case"camelcase":return".NaN"}else if(Number.POSITIVE_INFINITY===t)switch(e){case"lowercase":return".inf";case"uppercase":return".INF";case"camelcase":return".Inf"}else if(Number.NEGATIVE_INFINITY===t)switch(e){case"lowercase":return"-.inf";case"uppercase":return"-.INF";case"camelcase":return"-.Inf"}else if(Kee.isNegativeZero(t))return"-0.0";return r=t.toString(10),Bqe.test(r)?r.replace("e",".e"):r}function Sqe(t){return Object.prototype.toString.call(t)==="[object Number]"&&(t%1!==0||Kee.isNegativeZero(t))}zee.exports=new Eqe("tag:yaml.org,2002:float",{kind:"scalar",resolve:Cqe,construct:wqe,predicate:Sqe,represent:vqe,defaultStyle:"lowercase"})});var JU=_((gQt,Zee)=>{"use strict";var Dqe=Pd();Zee.exports=new Dqe({include:[dx()],implicit:[qee(),Yee(),Jee(),Xee()]})});var KU=_((dQt,$ee)=>{"use strict";var bqe=Pd();$ee.exports=new bqe({include:[JU()]})});var nte=_((mQt,rte)=>{"use strict";var Pqe=Ss(),ete=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9])-([0-9][0-9])$"),tte=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9]?)-([0-9][0-9]?)(?:[Tt]|[ \\t]+)([0-9][0-9]?):([0-9][0-9]):([0-9][0-9])(?:\\.([0-9]*))?(?:[ \\t]*(Z|([-+])([0-9][0-9]?)(?::([0-9][0-9]))?))?$");function xqe(t){return t===null?!1:ete.exec(t)!==null||tte.exec(t)!==null}function kqe(t){var e,r,s,a,n,c,f,p=0,h=null,E,C,S;if(e=ete.exec(t),e===null&&(e=tte.exec(t)),e===null)throw new Error("Date resolve error");if(r=+e[1],s=+e[2]-1,a=+e[3],!e[4])return new Date(Date.UTC(r,s,a));if(n=+e[4],c=+e[5],f=+e[6],e[7]){for(p=e[7].slice(0,3);p.length<3;)p+="0";p=+p}return e[9]&&(E=+e[10],C=+(e[11]||0),h=(E*60+C)*6e4,e[9]==="-"&&(h=-h)),S=new Date(Date.UTC(r,s,a,n,c,f,p)),h&&S.setTime(S.getTime()-h),S}function Qqe(t){return t.toISOString()}rte.exports=new Pqe("tag:yaml.org,2002:timestamp",{kind:"scalar",resolve:xqe,construct:kqe,instanceOf:Date,represent:Qqe})});var ste=_((yQt,ite)=>{"use strict";var Tqe=Ss();function Rqe(t){return t==="<<"||t===null}ite.exports=new Tqe("tag:yaml.org,2002:merge",{kind:"scalar",resolve:Rqe})});var lte=_((EQt,ate)=>{"use strict";var xd;try{ote=Ie,xd=ote("buffer").Buffer}catch{}var ote,Fqe=Ss(),zU=`ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=
\r`;function Nqe(t){if(t===null)return!1;var e,r,s=0,a=t.length,n=zU;for(r=0;r<a;r++)if(e=n.indexOf(t.charAt(r)),!(e>64)){if(e<0)return!1;s+=6}return s%8===0}function Oqe(t){var e,r,s=t.replace(/[\r\n=]/g,""),a=s.length,n=zU,c=0,f=[];for(e=0;e<a;e++)e%4===0&&e&&(f.push(c>>16&255),f.push(c>>8&255),f.push(c&255)),c=c<<6|n.indexOf(s.charAt(e));return r=a%4*6,r===0?(f.push(c>>16&255),f.push(c>>8&255),f.push(c&255)):r===18?(f.push(c>>10&255),f.push(c>>2&255)):r===12&&f.push(c>>4&255),xd?xd.from?xd.from(f):new xd(f):f}function Lqe(t){var e="",r=0,s,a,n=t.length,c=zU;for(s=0;s<n;s++)s%3===0&&s&&(e+=c[r>>18&63],e+=c[r>>12&63],e+=c[r>>6&63],e+=c[r&63]),r=(r<<8)+t[s];return a=n%3,a===0?(e+=c[r>>18&63],e+=c[r>>12&63],e+=c[r>>6&63],e+=c[r&63]):a===2?(e+=c[r>>10&63],e+=c[r>>4&63],e+=c[r<<2&63],e+=c[64]):a===1&&(e+=c[r>>2&63],e+=c[r<<4&63],e+=c[64],e+=c[64]),e}function Mqe(t){return xd&&xd.isBuffer(t)}ate.exports=new Fqe("tag:yaml.org,2002:binary",{kind:"scalar",resolve:Nqe,construct:Oqe,predicate:Mqe,represent:Lqe})});var ute=_((CQt,cte)=>{"use strict";var Uqe=Ss(),_qe=Object.prototype.hasOwnProperty,Hqe=Object.prototype.toString;function jqe(t){if(t===null)return!0;var e=[],r,s,a,n,c,f=t;for(r=0,s=f.length;r<s;r+=1){if(a=f[r],c=!1,Hqe.call(a)!=="[object Object]")return!1;for(n in a)if(_qe.call(a,n))if(!c)c=!0;else return!1;if(!c)return!1;if(e.indexOf(n)===-1)e.push(n);else return!1}return!0}function Gqe(t){return t!==null?t:[]}cte.exports=new Uqe("tag:yaml.org,2002:omap",{kind:"sequence",resolve:jqe,construct:Gqe})});var Ate=_((wQt,fte)=>{"use strict";var qqe=Ss(),Wqe=Object.prototype.toString;function Yqe(t){if(t===null)return!0;var e,r,s,a,n,c=t;for(n=new Array(c.length),e=0,r=c.length;e<r;e+=1){if(s=c[e],Wqe.call(s)!=="[object Object]"||(a=Object.keys(s),a.length!==1))return!1;n[e]=[a[0],s[a[0]]]}return!0}function Vqe(t){if(t===null)return[];var e,r,s,a,n,c=t;for(n=new Array(c.length),e=0,r=c.length;e<r;e+=1)s=c[e],a=Object.keys(s),n[e]=[a[0],s[a[0]]];return n}fte.exports=new qqe("tag:yaml.org,2002:pairs",{kind:"sequence",resolve:Yqe,construct:Vqe})});var hte=_((BQt,pte)=>{"use strict";var Jqe=Ss(),Kqe=Object.prototype.hasOwnProperty;function zqe(t){if(t===null)return!0;var e,r=t;for(e in r)if(Kqe.call(r,e)&&r[e]!==null)return!1;return!0}function Xqe(t){return t!==null?t:{}}pte.exports=new Jqe("tag:yaml.org,2002:set",{kind:"mapping",resolve:zqe,construct:Xqe})});var gE=_((vQt,gte)=>{"use strict";var Zqe=Pd();gte.exports=new Zqe({include:[KU()],implicit:[nte(),ste()],explicit:[lte(),ute(),Ate(),hte()]})});var mte=_((SQt,dte)=>{"use strict";var $qe=Ss();function e9e(){return!0}function t9e(){}function r9e(){return""}function n9e(t){return typeof t>"u"}dte.exports=new $qe("tag:yaml.org,2002:js/undefined",{kind:"scalar",resolve:e9e,construct:t9e,predicate:n9e,represent:r9e})});var Ete=_((DQt,yte)=>{"use strict";var i9e=Ss();function s9e(t){if(t===null||t.length===0)return!1;var e=t,r=/\/([gim]*)$/.exec(t),s="";return!(e[0]==="/"&&(r&&(s=r[1]),s.length>3||e[e.length-s.length-1]!=="/"))}function o9e(t){var e=t,r=/\/([gim]*)$/.exec(t),s="";return e[0]==="/"&&(r&&(s=r[1]),e=e.slice(1,e.length-s.length-1)),new RegExp(e,s)}function a9e(t){var e="/"+t.source+"/";return t.global&&(e+="g"),t.multiline&&(e+="m"),t.ignoreCase&&(e+="i"),e}function l9e(t){return Object.prototype.toString.call(t)==="[object RegExp]"}yte.exports=new i9e("tag:yaml.org,2002:js/regexp",{kind:"scalar",resolve:s9e,construct:o9e,predicate:l9e,represent:a9e})});var wte=_((bQt,Cte)=>{"use strict";var mx;try{Ite=Ie,mx=Ite("esprima")}catch{typeof window<"u"&&(mx=window.esprima)}var Ite,c9e=Ss();function u9e(t){if(t===null)return!1;try{var e="("+t+")",r=mx.parse(e,{range:!0});return!(r.type!=="Program"||r.body.length!==1||r.body[0].type!=="ExpressionStatement"||r.body[0].expression.type!=="ArrowFunctionExpression"&&r.body[0].expression.type!=="FunctionExpression")}catch{return!1}}function f9e(t){var e="("+t+")",r=mx.parse(e,{range:!0}),s=[],a;if(r.type!=="Program"||r.body.length!==1||r.body[0].type!=="ExpressionStatement"||r.body[0].expression.type!=="ArrowFunctionExpression"&&r.body[0].expression.type!=="FunctionExpression")throw new Error("Failed to resolve function");return r.body[0].expression.params.forEach(function(n){s.push(n.name)}),a=r.body[0].expression.body.range,r.body[0].expression.body.type==="BlockStatement"?new Function(s,e.slice(a[0]+1,a[1]-1)):new Function(s,"return "+e.slice(a[0],a[1]))}function A9e(t){return t.toString()}function p9e(t){return Object.prototype.toString.call(t)==="[object Function]"}Cte.exports=new c9e("tag:yaml.org,2002:js/function",{kind:"scalar",resolve:u9e,construct:f9e,predicate:p9e,represent:A9e})});var G2=_((xQt,vte)=>{"use strict";var Bte=Pd();vte.exports=Bte.DEFAULT=new Bte({include:[gE()],explicit:[mte(),Ete(),wte()]})});var Gte=_((kQt,q2)=>{"use strict";var Ip=bd(),Qte=pE(),h9e=Qee(),Tte=gE(),g9e=G2(),i0=Object.prototype.hasOwnProperty,yx=1,Rte=2,Fte=3,Ex=4,XU=1,d9e=2,Ste=3,m9e=/[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,y9e=/[\x85\u2028\u2029]/,E9e=/[,\[\]\{\}]/,Nte=/^(?:!|!!|![a-z\-]+!)$/i,Ote=/^(?:!|[^,\[\]\{\}])(?:%[0-9a-f]{2}|[0-9a-z\-#;\/\?:@&=\+\$,_\.!~\*'\(\)\[\]])*$/i;function Dte(t){return Object.prototype.toString.call(t)}function jf(t){return t===10||t===13}function Qd(t){return t===9||t===32}function rl(t){return t===9||t===32||t===10||t===13}function dE(t){return t===44||t===91||t===93||t===123||t===125}function I9e(t){var e;return 48<=t&&t<=57?t-48:(e=t|32,97<=e&&e<=102?e-97+10:-1)}function C9e(t){return t===120?2:t===117?4:t===85?8:0}function w9e(t){return 48<=t&&t<=57?t-48:-1}function bte(t){return t===48?"\0":t===97?"\x07":t===98?"\b":t===116||t===9?" ":t===110?`
`:t===118?"\v":t===102?"\f":t===114?"\r":t===101?"\x1B":t===32?" ":t===34?'"':t===47?"/":t===92?"\\":t===78?"\x85":t===95?"\xA0":t===76?"\u2028":t===80?"\u2029":""}function B9e(t){return t<=65535?String.fromCharCode(t):String.fromCharCode((t-65536>>10)+55296,(t-65536&1023)+56320)}var Lte=new Array(256),Mte=new Array(256);for(kd=0;kd<256;kd++)Lte[kd]=bte(kd)?1:0,Mte[kd]=bte(kd);var kd;function v9e(t,e){this.input=t,this.filename=e.filename||null,this.schema=e.schema||g9e,this.onWarning=e.onWarning||null,this.legacy=e.legacy||!1,this.json=e.json||!1,this.listener=e.listener||null,this.implicitTypes=this.schema.compiledImplicit,this.typeMap=this.schema.compiledTypeMap,this.length=t.length,this.position=0,this.line=0,this.lineStart=0,this.lineIndent=0,this.documents=[]}function Ute(t,e){return new Qte(e,new h9e(t.filename,t.input,t.position,t.line,t.position-t.lineStart))}function Rr(t,e){throw Ute(t,e)}function Ix(t,e){t.onWarning&&t.onWarning.call(null,Ute(t,e))}var Pte={YAML:function(e,r,s){var a,n,c;e.version!==null&&Rr(e,"duplication of %YAML directive"),s.length!==1&&Rr(e,"YAML directive accepts exactly one argument"),a=/^([0-9]+)\.([0-9]+)$/.exec(s[0]),a===null&&Rr(e,"ill-formed argument of the YAML directive"),n=parseInt(a[1],10),c=parseInt(a[2],10),n!==1&&Rr(e,"unacceptable YAML version of the document"),e.version=s[0],e.checkLineBreaks=c<2,c!==1&&c!==2&&Ix(e,"unsupported YAML version of the document")},TAG:function(e,r,s){var a,n;s.length!==2&&Rr(e,"TAG directive accepts exactly two arguments"),a=s[0],n=s[1],Nte.test(a)||Rr(e,"ill-formed tag handle (first argument) of the TAG directive"),i0.call(e.tagMap,a)&&Rr(e,'there is a previously declared suffix for "'+a+'" tag handle'),Ote.test(n)||Rr(e,"ill-formed tag prefix (second argument) of the TAG directive"),e.tagMap[a]=n}};function n0(t,e,r,s){var a,n,c,f;if(e<r){if(f=t.input.slice(e,r),s)for(a=0,n=f.length;a<n;a+=1)c=f.charCodeAt(a),c===9||32<=c&&c<=1114111||Rr(t,"expected valid JSON character");else m9e.test(f)&&Rr(t,"the stream contains non-printable characters");t.result+=f}}function xte(t,e,r,s){var a,n,c,f;for(Ip.isObject(r)||Rr(t,"cannot merge mappings; the provided source object is unacceptable"),a=Object.keys(r),c=0,f=a.length;c<f;c+=1)n=a[c],i0.call(e,n)||(e[n]=r[n],s[n]=!0)}function mE(t,e,r,s,a,n,c,f){var p,h;if(Array.isArray(a))for(a=Array.prototype.slice.call(a),p=0,h=a.length;p<h;p+=1)Array.isArray(a[p])&&Rr(t,"nested arrays are not supported inside keys"),typeof a=="object"&&Dte(a[p])==="[object Object]"&&(a[p]="[object Object]");if(typeof a=="object"&&Dte(a)==="[object Object]"&&(a="[object Object]"),a=String(a),e===null&&(e={}),s==="tag:yaml.org,2002:merge")if(Array.isArray(n))for(p=0,h=n.length;p<h;p+=1)xte(t,e,n[p],r);else xte(t,e,n,r);else!t.json&&!i0.call(r,a)&&i0.call(e,a)&&(t.line=c||t.line,t.position=f||t.position,Rr(t,"duplicated mapping key")),e[a]=n,delete r[a];return e}function ZU(t){var e;e=t.input.charCodeAt(t.position),e===10?t.position++:e===13?(t.position++,t.input.charCodeAt(t.position)===10&&t.position++):Rr(t,"a line break is expected"),t.line+=1,t.lineStart=t.position}function as(t,e,r){for(var s=0,a=t.input.charCodeAt(t.position);a!==0;){for(;Qd(a);)a=t.input.charCodeAt(++t.position);if(e&&a===35)do a=t.input.charCodeAt(++t.position);while(a!==10&&a!==13&&a!==0);if(jf(a))for(ZU(t),a=t.input.charCodeAt(t.position),s++,t.lineIndent=0;a===32;)t.lineIndent++,a=t.input.charCodeAt(++t.position);else break}return r!==-1&&s!==0&&t.lineIndent<r&&Ix(t,"deficient indentation"),s}function Cx(t){var e=t.position,r;return r=t.input.charCodeAt(e),!!((r===45||r===46)&&r===t.input.charCodeAt(e+1)&&r===t.input.charCodeAt(e+2)&&(e+=3,r=t.input.charCodeAt(e),r===0||rl(r)))}function $U(t,e){e===1?t.result+=" ":e>1&&(t.result+=Ip.repeat(`
`,e-1))}function S9e(t,e,r){var s,a,n,c,f,p,h,E,C=t.kind,S=t.result,P;if(P=t.input.charCodeAt(t.position),rl(P)||dE(P)||P===35||P===38||P===42||P===33||P===124||P===62||P===39||P===34||P===37||P===64||P===96||(P===63||P===45)&&(a=t.input.charCodeAt(t.position+1),rl(a)||r&&dE(a)))return!1;for(t.kind="scalar",t.result="",n=c=t.position,f=!1;P!==0;){if(P===58){if(a=t.input.charCodeAt(t.position+1),rl(a)||r&&dE(a))break}else if(P===35){if(s=t.input.charCodeAt(t.position-1),rl(s))break}else{if(t.position===t.lineStart&&Cx(t)||r&&dE(P))break;if(jf(P))if(p=t.line,h=t.lineStart,E=t.lineIndent,as(t,!1,-1),t.lineIndent>=e){f=!0,P=t.input.charCodeAt(t.position);continue}else{t.position=c,t.line=p,t.lineStart=h,t.lineIndent=E;break}}f&&(n0(t,n,c,!1),$U(t,t.line-p),n=c=t.position,f=!1),Qd(P)||(c=t.position+1),P=t.input.charCodeAt(++t.position)}return n0(t,n,c,!1),t.result?!0:(t.kind=C,t.result=S,!1)}function D9e(t,e){var r,s,a;if(r=t.input.charCodeAt(t.position),r!==39)return!1;for(t.kind="scalar",t.result="",t.position++,s=a=t.position;(r=t.input.charCodeAt(t.position))!==0;)if(r===39)if(n0(t,s,t.position,!0),r=t.input.charCodeAt(++t.position),r===39)s=t.position,t.position++,a=t.position;else return!0;else jf(r)?(n0(t,s,a,!0),$U(t,as(t,!1,e)),s=a=t.position):t.position===t.lineStart&&Cx(t)?Rr(t,"unexpected end of the document within a single quoted scalar"):(t.position++,a=t.position);Rr(t,"unexpected end of the stream within a single quoted scalar")}function b9e(t,e){var r,s,a,n,c,f;if(f=t.input.charCodeAt(t.position),f!==34)return!1;for(t.kind="scalar",t.result="",t.position++,r=s=t.position;(f=t.input.charCodeAt(t.position))!==0;){if(f===34)return n0(t,r,t.position,!0),t.position++,!0;if(f===92){if(n0(t,r,t.position,!0),f=t.input.charCodeAt(++t.position),jf(f))as(t,!1,e);else if(f<256&&Lte[f])t.result+=Mte[f],t.position++;else if((c=C9e(f))>0){for(a=c,n=0;a>0;a--)f=t.input.charCodeAt(++t.position),(c=I9e(f))>=0?n=(n<<4)+c:Rr(t,"expected hexadecimal character");t.result+=B9e(n),t.position++}else Rr(t,"unknown escape sequence");r=s=t.position}else jf(f)?(n0(t,r,s,!0),$U(t,as(t,!1,e)),r=s=t.position):t.position===t.lineStart&&Cx(t)?Rr(t,"unexpected end of the document within a double quoted scalar"):(t.position++,s=t.position)}Rr(t,"unexpected end of the stream within a double quoted scalar")}function P9e(t,e){var r=!0,s,a=t.tag,n,c=t.anchor,f,p,h,E,C,S={},P,I,R,N;if(N=t.input.charCodeAt(t.position),N===91)p=93,C=!1,n=[];else if(N===123)p=125,C=!0,n={};else return!1;for(t.anchor!==null&&(t.anchorMap[t.anchor]=n),N=t.input.charCodeAt(++t.position);N!==0;){if(as(t,!0,e),N=t.input.charCodeAt(t.position),N===p)return t.position++,t.tag=a,t.anchor=c,t.kind=C?"mapping":"sequence",t.result=n,!0;r||Rr(t,"missed comma between flow collection entries"),I=P=R=null,h=E=!1,N===63&&(f=t.input.charCodeAt(t.position+1),rl(f)&&(h=E=!0,t.position++,as(t,!0,e))),s=t.line,yE(t,e,yx,!1,!0),I=t.tag,P=t.result,as(t,!0,e),N=t.input.charCodeAt(t.position),(E||t.line===s)&&N===58&&(h=!0,N=t.input.charCodeAt(++t.position),as(t,!0,e),yE(t,e,yx,!1,!0),R=t.result),C?mE(t,n,S,I,P,R):h?n.push(mE(t,null,S,I,P,R)):n.push(P),as(t,!0,e),N=t.input.charCodeAt(t.position),N===44?(r=!0,N=t.input.charCodeAt(++t.position)):r=!1}Rr(t,"unexpected end of the stream within a flow collection")}function x9e(t,e){var r,s,a=XU,n=!1,c=!1,f=e,p=0,h=!1,E,C;if(C=t.input.charCodeAt(t.position),C===124)s=!1;else if(C===62)s=!0;else return!1;for(t.kind="scalar",t.result="";C!==0;)if(C=t.input.charCodeAt(++t.position),C===43||C===45)XU===a?a=C===43?Ste:d9e:Rr(t,"repeat of a chomping mode identifier");else if((E=w9e(C))>=0)E===0?Rr(t,"bad explicit indentation width of a block scalar; it cannot be less than one"):c?Rr(t,"repeat of an indentation width identifier"):(f=e+E-1,c=!0);else break;if(Qd(C)){do C=t.input.charCodeAt(++t.position);while(Qd(C));if(C===35)do C=t.input.charCodeAt(++t.position);while(!jf(C)&&C!==0)}for(;C!==0;){for(ZU(t),t.lineIndent=0,C=t.input.charCodeAt(t.position);(!c||t.lineIndent<f)&&C===32;)t.lineIndent++,C=t.input.charCodeAt(++t.position);if(!c&&t.lineIndent>f&&(f=t.lineIndent),jf(C)){p++;continue}if(t.lineIndent<f){a===Ste?t.result+=Ip.repeat(`
`,n?1+p:p):a===XU&&n&&(t.result+=`
`);break}for(s?Qd(C)?(h=!0,t.result+=Ip.repeat(`
`,n?1+p:p)):h?(h=!1,t.result+=Ip.repeat(`
`,p+1)):p===0?n&&(t.result+=" "):t.result+=Ip.repeat(`
`,p):t.result+=Ip.repeat(`
`,n?1+p:p),n=!0,c=!0,p=0,r=t.position;!jf(C)&&C!==0;)C=t.input.charCodeAt(++t.position);n0(t,r,t.position,!1)}return!0}function kte(t,e){var r,s=t.tag,a=t.anchor,n=[],c,f=!1,p;for(t.anchor!==null&&(t.anchorMap[t.anchor]=n),p=t.input.charCodeAt(t.position);p!==0&&!(p!==45||(c=t.input.charCodeAt(t.position+1),!rl(c)));){if(f=!0,t.position++,as(t,!0,-1)&&t.lineIndent<=e){n.push(null),p=t.input.charCodeAt(t.position);continue}if(r=t.line,yE(t,e,Fte,!1,!0),n.push(t.result),as(t,!0,-1),p=t.input.charCodeAt(t.position),(t.line===r||t.lineIndent>e)&&p!==0)Rr(t,"bad indentation of a sequence entry");else if(t.lineIndent<e)break}return f?(t.tag=s,t.anchor=a,t.kind="sequence",t.result=n,!0):!1}function k9e(t,e,r){var s,a,n,c,f=t.tag,p=t.anchor,h={},E={},C=null,S=null,P=null,I=!1,R=!1,N;for(t.anchor!==null&&(t.anchorMap[t.anchor]=h),N=t.input.charCodeAt(t.position);N!==0;){if(s=t.input.charCodeAt(t.position+1),n=t.line,c=t.position,(N===63||N===58)&&rl(s))N===63?(I&&(mE(t,h,E,C,S,null),C=S=P=null),R=!0,I=!0,a=!0):I?(I=!1,a=!0):Rr(t,"incomplete explicit mapping pair; a key node is missed; or followed by a non-tabulated empty line"),t.position+=1,N=s;else if(yE(t,r,Rte,!1,!0))if(t.line===n){for(N=t.input.charCodeAt(t.position);Qd(N);)N=t.input.charCodeAt(++t.position);if(N===58)N=t.input.charCodeAt(++t.position),rl(N)||Rr(t,"a whitespace character is expected after the key-value separator within a block mapping"),I&&(mE(t,h,E,C,S,null),C=S=P=null),R=!0,I=!1,a=!1,C=t.tag,S=t.result;else if(R)Rr(t,"can not read an implicit mapping pair; a colon is missed");else return t.tag=f,t.anchor=p,!0}else if(R)Rr(t,"can not read a block mapping entry; a multiline key may not be an implicit key");else return t.tag=f,t.anchor=p,!0;else break;if((t.line===n||t.lineIndent>e)&&(yE(t,e,Ex,!0,a)&&(I?S=t.result:P=t.result),I||(mE(t,h,E,C,S,P,n,c),C=S=P=null),as(t,!0,-1),N=t.input.charCodeAt(t.position)),t.lineIndent>e&&N!==0)Rr(t,"bad indentation of a mapping entry");else if(t.lineIndent<e)break}return I&&mE(t,h,E,C,S,null),R&&(t.tag=f,t.anchor=p,t.kind="mapping",t.result=h),R}function Q9e(t){var e,r=!1,s=!1,a,n,c;if(c=t.input.charCodeAt(t.position),c!==33)return!1;if(t.tag!==null&&Rr(t,"duplication of a tag property"),c=t.input.charCodeAt(++t.position),c===60?(r=!0,c=t.input.charCodeAt(++t.position)):c===33?(s=!0,a="!!",c=t.input.charCodeAt(++t.position)):a="!",e=t.position,r){do c=t.input.charCodeAt(++t.position);while(c!==0&&c!==62);t.position<t.length?(n=t.input.slice(e,t.position),c=t.input.charCodeAt(++t.position)):Rr(t,"unexpected end of the stream within a verbatim tag")}else{for(;c!==0&&!rl(c);)c===33&&(s?Rr(t,"tag suffix cannot contain exclamation marks"):(a=t.input.slice(e-1,t.position+1),Nte.test(a)||Rr(t,"named tag handle cannot contain such characters"),s=!0,e=t.position+1)),c=t.input.charCodeAt(++t.position);n=t.input.slice(e,t.position),E9e.test(n)&&Rr(t,"tag suffix cannot contain flow indicator characters")}return n&&!Ote.test(n)&&Rr(t,"tag name cannot contain such characters: "+n),r?t.tag=n:i0.call(t.tagMap,a)?t.tag=t.tagMap[a]+n:a==="!"?t.tag="!"+n:a==="!!"?t.tag="tag:yaml.org,2002:"+n:Rr(t,'undeclared tag handle "'+a+'"'),!0}function T9e(t){var e,r;if(r=t.input.charCodeAt(t.position),r!==38)return!1;for(t.anchor!==null&&Rr(t,"duplication of an anchor property"),r=t.input.charCodeAt(++t.position),e=t.position;r!==0&&!rl(r)&&!dE(r);)r=t.input.charCodeAt(++t.position);return t.position===e&&Rr(t,"name of an anchor node must contain at least one character"),t.anchor=t.input.slice(e,t.position),!0}function R9e(t){var e,r,s;if(s=t.input.charCodeAt(t.position),s!==42)return!1;for(s=t.input.charCodeAt(++t.position),e=t.position;s!==0&&!rl(s)&&!dE(s);)s=t.input.charCodeAt(++t.position);return t.position===e&&Rr(t,"name of an alias node must contain at least one character"),r=t.input.slice(e,t.position),i0.call(t.anchorMap,r)||Rr(t,'unidentified alias "'+r+'"'),t.result=t.anchorMap[r],as(t,!0,-1),!0}function yE(t,e,r,s,a){var n,c,f,p=1,h=!1,E=!1,C,S,P,I,R;if(t.listener!==null&&t.listener("open",t),t.tag=null,t.anchor=null,t.kind=null,t.result=null,n=c=f=Ex===r||Fte===r,s&&as(t,!0,-1)&&(h=!0,t.lineIndent>e?p=1:t.lineIndent===e?p=0:t.lineIndent<e&&(p=-1)),p===1)for(;Q9e(t)||T9e(t);)as(t,!0,-1)?(h=!0,f=n,t.lineIndent>e?p=1:t.lineIndent===e?p=0:t.lineIndent<e&&(p=-1)):f=!1;if(f&&(f=h||a),(p===1||Ex===r)&&(yx===r||Rte===r?I=e:I=e+1,R=t.position-t.lineStart,p===1?f&&(kte(t,R)||k9e(t,R,I))||P9e(t,I)?E=!0:(c&&x9e(t,I)||D9e(t,I)||b9e(t,I)?E=!0:R9e(t)?(E=!0,(t.tag!==null||t.anchor!==null)&&Rr(t,"alias node should not have any properties")):S9e(t,I,yx===r)&&(E=!0,t.tag===null&&(t.tag="?")),t.anchor!==null&&(t.anchorMap[t.anchor]=t.result)):p===0&&(E=f&&kte(t,R))),t.tag!==null&&t.tag!=="!")if(t.tag==="?"){for(t.result!==null&&t.kind!=="scalar"&&Rr(t,'unacceptable node kind for !<?> tag; it should be "scalar", not "'+t.kind+'"'),C=0,S=t.implicitTypes.length;C<S;C+=1)if(P=t.implicitTypes[C],P.resolve(t.result)){t.result=P.construct(t.result),t.tag=P.tag,t.anchor!==null&&(t.anchorMap[t.anchor]=t.result);break}}else i0.call(t.typeMap[t.kind||"fallback"],t.tag)?(P=t.typeMap[t.kind||"fallback"][t.tag],t.result!==null&&P.kind!==t.kind&&Rr(t,"unacceptable node kind for !<"+t.tag+'> tag; it should be "'+P.kind+'", not "'+t.kind+'"'),P.resolve(t.result)?(t.result=P.construct(t.result),t.anchor!==null&&(t.anchorMap[t.anchor]=t.result)):Rr(t,"cannot resolve a node with !<"+t.tag+"> explicit tag")):Rr(t,"unknown tag !<"+t.tag+">");return t.listener!==null&&t.listener("close",t),t.tag!==null||t.anchor!==null||E}function F9e(t){var e=t.position,r,s,a,n=!1,c;for(t.version=null,t.checkLineBreaks=t.legacy,t.tagMap={},t.anchorMap={};(c=t.input.charCodeAt(t.position))!==0&&(as(t,!0,-1),c=t.input.charCodeAt(t.position),!(t.lineIndent>0||c!==37));){for(n=!0,c=t.input.charCodeAt(++t.position),r=t.position;c!==0&&!rl(c);)c=t.input.charCodeAt(++t.position);for(s=t.input.slice(r,t.position),a=[],s.length<1&&Rr(t,"directive name must not be less than one character in length");c!==0;){for(;Qd(c);)c=t.input.charCodeAt(++t.position);if(c===35){do c=t.input.charCodeAt(++t.position);while(c!==0&&!jf(c));break}if(jf(c))break;for(r=t.position;c!==0&&!rl(c);)c=t.input.charCodeAt(++t.position);a.push(t.input.slice(r,t.position))}c!==0&&ZU(t),i0.call(Pte,s)?Pte[s](t,s,a):Ix(t,'unknown document directive "'+s+'"')}if(as(t,!0,-1),t.lineIndent===0&&t.input.charCodeAt(t.position)===45&&t.input.charCodeAt(t.position+1)===45&&t.input.charCodeAt(t.position+2)===45?(t.position+=3,as(t,!0,-1)):n&&Rr(t,"directives end mark is expected"),yE(t,t.lineIndent-1,Ex,!1,!0),as(t,!0,-1),t.checkLineBreaks&&y9e.test(t.input.slice(e,t.position))&&Ix(t,"non-ASCII line breaks are interpreted as content"),t.documents.push(t.result),t.position===t.lineStart&&Cx(t)){t.input.charCodeAt(t.position)===46&&(t.position+=3,as(t,!0,-1));return}if(t.position<t.length-1)Rr(t,"end of the stream or a document separator is expected");else return}function _te(t,e){t=String(t),e=e||{},t.length!==0&&(t.charCodeAt(t.length-1)!==10&&t.charCodeAt(t.length-1)!==13&&(t+=`
`),t.charCodeAt(0)===65279&&(t=t.slice(1)));var r=new v9e(t,e),s=t.indexOf("\0");for(s!==-1&&(r.position=s,Rr(r,"null byte is not allowed in input")),r.input+="\0";r.input.charCodeAt(r.position)===32;)r.lineIndent+=1,r.position+=1;for(;r.position<r.length-1;)F9e(r);return r.documents}function Hte(t,e,r){e!==null&&typeof e=="object"&&typeof r>"u"&&(r=e,e=null);var s=_te(t,r);if(typeof e!="function")return s;for(var a=0,n=s.length;a<n;a+=1)e(s[a])}function jte(t,e){var r=_te(t,e);if(r.length!==0){if(r.length===1)return r[0];throw new Qte("expected a single document in the stream, but found more")}}function N9e(t,e,r){return typeof e=="object"&&e!==null&&typeof r>"u"&&(r=e,e=null),Hte(t,e,Ip.extend({schema:Tte},r))}function O9e(t,e){return jte(t,Ip.extend({schema:Tte},e))}q2.exports.loadAll=Hte;q2.exports.load=jte;q2.exports.safeLoadAll=N9e;q2.exports.safeLoad=O9e});var Are=_((QQt,n_)=>{"use strict";var Y2=bd(),V2=pE(),L9e=G2(),M9e=gE(),Xte=Object.prototype.toString,Zte=Object.prototype.hasOwnProperty,U9e=9,W2=10,_9e=13,H9e=32,j9e=33,G9e=34,$te=35,q9e=37,W9e=38,Y9e=39,V9e=42,ere=44,J9e=45,tre=58,K9e=61,z9e=62,X9e=63,Z9e=64,rre=91,nre=93,$9e=96,ire=123,eWe=124,sre=125,_o={};_o[0]="\\0";_o[7]="\\a";_o[8]="\\b";_o[9]="\\t";_o[10]="\\n";_o[11]="\\v";_o[12]="\\f";_o[13]="\\r";_o[27]="\\e";_o[34]='\\"';_o[92]="\\\\";_o[133]="\\N";_o[160]="\\_";_o[8232]="\\L";_o[8233]="\\P";var tWe=["y","Y","yes","Yes","YES","on","On","ON","n","N","no","No","NO","off","Off","OFF"];function rWe(t,e){var r,s,a,n,c,f,p;if(e===null)return{};for(r={},s=Object.keys(e),a=0,n=s.length;a<n;a+=1)c=s[a],f=String(e[c]),c.slice(0,2)==="!!"&&(c="tag:yaml.org,2002:"+c.slice(2)),p=t.compiledTypeMap.fallback[c],p&&Zte.call(p.styleAliases,f)&&(f=p.styleAliases[f]),r[c]=f;return r}function qte(t){var e,r,s;if(e=t.toString(16).toUpperCase(),t<=255)r="x",s=2;else if(t<=65535)r="u",s=4;else if(t<=4294967295)r="U",s=8;else throw new V2("code point within a string may not be greater than 0xFFFFFFFF");return"\\"+r+Y2.repeat("0",s-e.length)+e}function nWe(t){this.schema=t.schema||L9e,this.indent=Math.max(1,t.indent||2),this.noArrayIndent=t.noArrayIndent||!1,this.skipInvalid=t.skipInvalid||!1,this.flowLevel=Y2.isNothing(t.flowLevel)?-1:t.flowLevel,this.styleMap=rWe(this.schema,t.styles||null),this.sortKeys=t.sortKeys||!1,this.lineWidth=t.lineWidth||80,this.noRefs=t.noRefs||!1,this.noCompatMode=t.noCompatMode||!1,this.condenseFlow=t.condenseFlow||!1,this.implicitTypes=this.schema.compiledImplicit,this.explicitTypes=this.schema.compiledExplicit,this.tag=null,this.result="",this.duplicates=[],this.usedDuplicates=null}function Wte(t,e){for(var r=Y2.repeat(" ",e),s=0,a=-1,n="",c,f=t.length;s<f;)a=t.indexOf(`
`,s),a===-1?(c=t.slice(s),s=f):(c=t.slice(s,a+1),s=a+1),c.length&&c!==`
`&&(n+=r),n+=c;return n}function e_(t,e){return`
`+Y2.repeat(" ",t.indent*e)}function iWe(t,e){var r,s,a;for(r=0,s=t.implicitTypes.length;r<s;r+=1)if(a=t.implicitTypes[r],a.resolve(e))return!0;return!1}function r_(t){return t===H9e||t===U9e}function EE(t){return 32<=t&&t<=126||161<=t&&t<=55295&&t!==8232&&t!==8233||57344<=t&&t<=65533&&t!==65279||65536<=t&&t<=1114111}function sWe(t){return EE(t)&&!r_(t)&&t!==65279&&t!==_9e&&t!==W2}function Yte(t,e){return EE(t)&&t!==65279&&t!==ere&&t!==rre&&t!==nre&&t!==ire&&t!==sre&&t!==tre&&(t!==$te||e&&sWe(e))}function oWe(t){return EE(t)&&t!==65279&&!r_(t)&&t!==J9e&&t!==X9e&&t!==tre&&t!==ere&&t!==rre&&t!==nre&&t!==ire&&t!==sre&&t!==$te&&t!==W9e&&t!==V9e&&t!==j9e&&t!==eWe&&t!==K9e&&t!==z9e&&t!==Y9e&&t!==G9e&&t!==q9e&&t!==Z9e&&t!==$9e}function ore(t){var e=/^\n* /;return e.test(t)}var are=1,lre=2,cre=3,ure=4,wx=5;function aWe(t,e,r,s,a){var n,c,f,p=!1,h=!1,E=s!==-1,C=-1,S=oWe(t.charCodeAt(0))&&!r_(t.charCodeAt(t.length-1));if(e)for(n=0;n<t.length;n++){if(c=t.charCodeAt(n),!EE(c))return wx;f=n>0?t.charCodeAt(n-1):null,S=S&&Yte(c,f)}else{for(n=0;n<t.length;n++){if(c=t.charCodeAt(n),c===W2)p=!0,E&&(h=h||n-C-1>s&&t[C+1]!==" ",C=n);else if(!EE(c))return wx;f=n>0?t.charCodeAt(n-1):null,S=S&&Yte(c,f)}h=h||E&&n-C-1>s&&t[C+1]!==" "}return!p&&!h?S&&!a(t)?are:lre:r>9&&ore(t)?wx:h?ure:cre}function lWe(t,e,r,s){t.dump=function(){if(e.length===0)return"''";if(!t.noCompatMode&&tWe.indexOf(e)!==-1)return"'"+e+"'";var a=t.indent*Math.max(1,r),n=t.lineWidth===-1?-1:Math.max(Math.min(t.lineWidth,40),t.lineWidth-a),c=s||t.flowLevel>-1&&r>=t.flowLevel;function f(p){return iWe(t,p)}switch(aWe(e,c,t.indent,n,f)){case are:return e;case lre:return"'"+e.replace(/'/g,"''")+"'";case cre:return"|"+Vte(e,t.indent)+Jte(Wte(e,a));case ure:return">"+Vte(e,t.indent)+Jte(Wte(cWe(e,n),a));case wx:return'"'+uWe(e,n)+'"';default:throw new V2("impossible error: invalid scalar style")}}()}function Vte(t,e){var r=ore(t)?String(e):"",s=t[t.length-1]===`
`,a=s&&(t[t.length-2]===`
`||t===`
`),n=a?"+":s?"":"-";return r+n+`
`}function Jte(t){return t[t.length-1]===`
`?t.slice(0,-1):t}function cWe(t,e){for(var r=/(\n+)([^\n]*)/g,s=function(){var h=t.indexOf(`
`);return h=h!==-1?h:t.length,r.lastIndex=h,Kte(t.slice(0,h),e)}(),a=t[0]===`
`||t[0]===" ",n,c;c=r.exec(t);){var f=c[1],p=c[2];n=p[0]===" ",s+=f+(!a&&!n&&p!==""?`
`:"")+Kte(p,e),a=n}return s}function Kte(t,e){if(t===""||t[0]===" ")return t;for(var r=/ [^ ]/g,s,a=0,n,c=0,f=0,p="";s=r.exec(t);)f=s.index,f-a>e&&(n=c>a?c:f,p+=`
`+t.slice(a,n),a=n+1),c=f;return p+=`
`,t.length-a>e&&c>a?p+=t.slice(a,c)+`
`+t.slice(c+1):p+=t.slice(a),p.slice(1)}function uWe(t){for(var e="",r,s,a,n=0;n<t.length;n++){if(r=t.charCodeAt(n),r>=55296&&r<=56319&&(s=t.charCodeAt(n+1),s>=56320&&s<=57343)){e+=qte((r-55296)*1024+s-56320+65536),n++;continue}a=_o[r],e+=!a&&EE(r)?t[n]:a||qte(r)}return e}function fWe(t,e,r){var s="",a=t.tag,n,c;for(n=0,c=r.length;n<c;n+=1)Td(t,e,r[n],!1,!1)&&(n!==0&&(s+=","+(t.condenseFlow?"":" ")),s+=t.dump);t.tag=a,t.dump="["+s+"]"}function AWe(t,e,r,s){var a="",n=t.tag,c,f;for(c=0,f=r.length;c<f;c+=1)Td(t,e+1,r[c],!0,!0)&&((!s||c!==0)&&(a+=e_(t,e)),t.dump&&W2===t.dump.charCodeAt(0)?a+="-":a+="- ",a+=t.dump);t.tag=n,t.dump=a||"[]"}function pWe(t,e,r){var s="",a=t.tag,n=Object.keys(r),c,f,p,h,E;for(c=0,f=n.length;c<f;c+=1)E="",c!==0&&(E+=", "),t.condenseFlow&&(E+='"'),p=n[c],h=r[p],Td(t,e,p,!1,!1)&&(t.dump.length>1024&&(E+="? "),E+=t.dump+(t.condenseFlow?'"':"")+":"+(t.condenseFlow?"":" "),Td(t,e,h,!1,!1)&&(E+=t.dump,s+=E));t.tag=a,t.dump="{"+s+"}"}function hWe(t,e,r,s){var a="",n=t.tag,c=Object.keys(r),f,p,h,E,C,S;if(t.sortKeys===!0)c.sort();else if(typeof t.sortKeys=="function")c.sort(t.sortKeys);else if(t.sortKeys)throw new V2("sortKeys must be a boolean or a function");for(f=0,p=c.length;f<p;f+=1)S="",(!s||f!==0)&&(S+=e_(t,e)),h=c[f],E=r[h],Td(t,e+1,h,!0,!0,!0)&&(C=t.tag!==null&&t.tag!=="?"||t.dump&&t.dump.length>1024,C&&(t.dump&&W2===t.dump.charCodeAt(0)?S+="?":S+="? "),S+=t.dump,C&&(S+=e_(t,e)),Td(t,e+1,E,!0,C)&&(t.dump&&W2===t.dump.charCodeAt(0)?S+=":":S+=": ",S+=t.dump,a+=S));t.tag=n,t.dump=a||"{}"}function zte(t,e,r){var s,a,n,c,f,p;for(a=r?t.explicitTypes:t.implicitTypes,n=0,c=a.length;n<c;n+=1)if(f=a[n],(f.instanceOf||f.predicate)&&(!f.instanceOf||typeof e=="object"&&e instanceof f.instanceOf)&&(!f.predicate||f.predicate(e))){if(t.tag=r?f.tag:"?",f.represent){if(p=t.styleMap[f.tag]||f.defaultStyle,Xte.call(f.represent)==="[object Function]")s=f.represent(e,p);else if(Zte.call(f.represent,p))s=f.represent[p](e,p);else throw new V2("!<"+f.tag+'> tag resolver accepts not "'+p+'" style');t.dump=s}return!0}return!1}function Td(t,e,r,s,a,n){t.tag=null,t.dump=r,zte(t,r,!1)||zte(t,r,!0);var c=Xte.call(t.dump);s&&(s=t.flowLevel<0||t.flowLevel>e);var f=c==="[object Object]"||c==="[object Array]",p,h;if(f&&(p=t.duplicates.indexOf(r),h=p!==-1),(t.tag!==null&&t.tag!=="?"||h||t.indent!==2&&e>0)&&(a=!1),h&&t.usedDuplicates[p])t.dump="*ref_"+p;else{if(f&&h&&!t.usedDuplicates[p]&&(t.usedDuplicates[p]=!0),c==="[object Object]")s&&Object.keys(t.dump).length!==0?(hWe(t,e,t.dump,a),h&&(t.dump="&ref_"+p+t.dump)):(pWe(t,e,t.dump),h&&(t.dump="&ref_"+p+" "+t.dump));else if(c==="[object Array]"){var E=t.noArrayIndent&&e>0?e-1:e;s&&t.dump.length!==0?(AWe(t,E,t.dump,a),h&&(t.dump="&ref_"+p+t.dump)):(fWe(t,E,t.dump),h&&(t.dump="&ref_"+p+" "+t.dump))}else if(c==="[object String]")t.tag!=="?"&&lWe(t,t.dump,e,n);else{if(t.skipInvalid)return!1;throw new V2("unacceptable kind of an object to dump "+c)}t.tag!==null&&t.tag!=="?"&&(t.dump="!<"+t.tag+"> "+t.dump)}return!0}function gWe(t,e){var r=[],s=[],a,n;for(t_(t,r,s),a=0,n=s.length;a<n;a+=1)e.duplicates.push(r[s[a]]);e.usedDuplicates=new Array(n)}function t_(t,e,r){var s,a,n;if(t!==null&&typeof t=="object")if(a=e.indexOf(t),a!==-1)r.indexOf(a)===-1&&r.push(a);else if(e.push(t),Array.isArray(t))for(a=0,n=t.length;a<n;a+=1)t_(t[a],e,r);else for(s=Object.keys(t),a=0,n=s.length;a<n;a+=1)t_(t[s[a]],e,r)}function fre(t,e){e=e||{};var r=new nWe(e);return r.noRefs||gWe(t,r),Td(r,0,t,!0,!0)?r.dump+`
`:""}function dWe(t,e){return fre(t,Y2.extend({schema:M9e},e))}n_.exports.dump=fre;n_.exports.safeDump=dWe});var hre=_((TQt,Wi)=>{"use strict";var Bx=Gte(),pre=Are();function vx(t){return function(){throw new Error("Function "+t+" is deprecated and cannot be used.")}}Wi.exports.Type=Ss();Wi.exports.Schema=Pd();Wi.exports.FAILSAFE_SCHEMA=dx();Wi.exports.JSON_SCHEMA=JU();Wi.exports.CORE_SCHEMA=KU();Wi.exports.DEFAULT_SAFE_SCHEMA=gE();Wi.exports.DEFAULT_FULL_SCHEMA=G2();Wi.exports.load=Bx.load;Wi.exports.loadAll=Bx.loadAll;Wi.exports.safeLoad=Bx.safeLoad;Wi.exports.safeLoadAll=Bx.safeLoadAll;Wi.exports.dump=pre.dump;Wi.exports.safeDump=pre.safeDump;Wi.exports.YAMLException=pE();Wi.exports.MINIMAL_SCHEMA=dx();Wi.exports.SAFE_SCHEMA=gE();Wi.exports.DEFAULT_SCHEMA=G2();Wi.exports.scan=vx("scan");Wi.exports.parse=vx("parse");Wi.exports.compose=vx("compose");Wi.exports.addConstructor=vx("addConstructor")});var dre=_((RQt,gre)=>{"use strict";var mWe=hre();gre.exports=mWe});var yre=_((FQt,mre)=>{"use strict";function yWe(t,e){function r(){this.constructor=t}r.prototype=e.prototype,t.prototype=new r}function Rd(t,e,r,s){this.message=t,this.expected=e,this.found=r,this.location=s,this.name="SyntaxError",typeof Error.captureStackTrace=="function"&&Error.captureStackTrace(this,Rd)}yWe(Rd,Error);Rd.buildMessage=function(t,e){var r={literal:function(h){return'"'+a(h.text)+'"'},class:function(h){var E="",C;for(C=0;C<h.parts.length;C++)E+=h.parts[C]instanceof Array?n(h.parts[C][0])+"-"+n(h.parts[C][1]):n(h.parts[C]);return"["+(h.inverted?"^":"")+E+"]"},any:function(h){return"any character"},end:function(h){return"end of input"},other:function(h){return h.description}};function s(h){return h.charCodeAt(0).toString(16).toUpperCase()}function a(h){return h.replace(/\\/g,"\\\\").replace(/"/g,'\\"').replace(/\0/g,"\\0").replace(/\t/g,"\\t").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/[\x00-\x0F]/g,function(E){return"\\x0"+s(E)}).replace(/[\x10-\x1F\x7F-\x9F]/g,function(E){return"\\x"+s(E)})}function n(h){return h.replace(/\\/g,"\\\\").replace(/\]/g,"\\]").replace(/\^/g,"\\^").replace(/-/g,"\\-").replace(/\0/g,"\\0").replace(/\t/g,"\\t").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/[\x00-\x0F]/g,function(E){return"\\x0"+s(E)}).replace(/[\x10-\x1F\x7F-\x9F]/g,function(E){return"\\x"+s(E)})}function c(h){return r[h.type](h)}function f(h){var E=new Array(h.length),C,S;for(C=0;C<h.length;C++)E[C]=c(h[C]);if(E.sort(),E.length>0){for(C=1,S=1;C<E.length;C++)E[C-1]!==E[C]&&(E[S]=E[C],S++);E.length=S}switch(E.length){case 1:return E[0];case 2:return E[0]+" or "+E[1];default:return E.slice(0,-1).join(", ")+", or "+E[E.length-1]}}function p(h){return h?'"'+a(h)+'"':"end of input"}return"Expected "+f(t)+" but "+p(e)+" found."};function EWe(t,e){e=e!==void 0?e:{};var r={},s={Start:lc},a=lc,n=function(te){return[].concat(...te)},c="-",f=dn("-",!1),p=function(te){return te},h=function(te){return Object.assign({},...te)},E="#",C=dn("#",!1),S=Au(),P=function(){return{}},I=":",R=dn(":",!1),N=function(te,Ee){return{[te]:Ee}},U=",",W=dn(",",!1),ee=function(te,Ee){return Ee},ie=function(te,Ee,Oe){return Object.assign({},...[te].concat(Ee).map(dt=>({[dt]:Oe})))},ue=function(te){return te},le=function(te){return te},me=Oa("correct indentation"),pe=" ",Be=dn(" ",!1),Ce=function(te){return te.length===lr*St},g=function(te){return te.length===(lr+1)*St},we=function(){return lr++,!0},ye=function(){return lr--,!0},Ae=function(){return la()},se=Oa("pseudostring"),Z=/^[^\r\n\t ?:,\][{}#&*!|>'"%@`\-]/,De=Kn(["\r",`
`," "," ","?",":",",","]","[","{","}","#","&","*","!","|",">","'",'"',"%","@","`","-"],!0,!1),Re=/^[^\r\n\t ,\][{}:#"']/,mt=Kn(["\r",`
`," "," ",",","]","[","{","}",":","#",'"',"'"],!0,!1),j=function(){return la().replace(/^ *| *$/g,"")},rt="--",Fe=dn("--",!1),Ne=/^[a-zA-Z\/0-9]/,Pe=Kn([["a","z"],["A","Z"],"/",["0","9"]],!1,!1),Ve=/^[^\r\n\t :,]/,ke=Kn(["\r",`
`," "," ",":",","],!0,!1),it="null",Ue=dn("null",!1),x=function(){return null},w="true",b=dn("true",!1),y=function(){return!0},F="false",z=dn("false",!1),X=function(){return!1},$=Oa("string"),oe='"',xe=dn('"',!1),Te=function(){return""},lt=function(te){return te},Ct=function(te){return te.join("")},qt=/^[^"\\\0-\x1F\x7F]/,ir=Kn(['"',"\\",["\0",""],"\x7F"],!0,!1),Pt='\\"',gn=dn('\\"',!1),Pr=function(){return'"'},Ir="\\\\",Or=dn("\\\\",!1),on=function(){return"\\"},ai="\\/",Io=dn("\\/",!1),rs=function(){return"/"},$s="\\b",Co=dn("\\b",!1),ji=function(){return"\b"},eo="\\f",wo=dn("\\f",!1),QA=function(){return"\f"},Af="\\n",dh=dn("\\n",!1),mh=function(){return`
`},to="\\r",jn=dn("\\r",!1),Ts=function(){return"\r"},ro="\\t",ou=dn("\\t",!1),au=function(){return" "},lu="\\u",TA=dn("\\u",!1),RA=function(te,Ee,Oe,dt){return String.fromCharCode(parseInt(`0x${te}${Ee}${Oe}${dt}`))},oa=/^[0-9a-fA-F]/,aa=Kn([["0","9"],["a","f"],["A","F"]],!1,!1),FA=Oa("blank space"),gr=/^[ \t]/,Bo=Kn([" "," "],!1,!1),Me=Oa("white space"),cu=/^[ \t\n\r]/,Cr=Kn([" "," ",`
`,"\r"],!1,!1),pf=`\r
`,NA=dn(`\r
`,!1),OA=`
`,uu=dn(`
`,!1),fu="\r",oc=dn("\r",!1),ve=0,Nt=0,ac=[{line:1,column:1}],Oi=0,no=[],Rt=0,xn;if("startRule"in e){if(!(e.startRule in s))throw new Error(`Can't start parsing from rule "`+e.startRule+'".');a=s[e.startRule]}function la(){return t.substring(Nt,ve)}function Gi(){return Ma(Nt,ve)}function Li(te,Ee){throw Ee=Ee!==void 0?Ee:Ma(Nt,ve),hf([Oa(te)],t.substring(Nt,ve),Ee)}function Na(te,Ee){throw Ee=Ee!==void 0?Ee:Ma(Nt,ve),Ua(te,Ee)}function dn(te,Ee){return{type:"literal",text:te,ignoreCase:Ee}}function Kn(te,Ee,Oe){return{type:"class",parts:te,inverted:Ee,ignoreCase:Oe}}function Au(){return{type:"any"}}function yh(){return{type:"end"}}function Oa(te){return{type:"other",description:te}}function La(te){var Ee=ac[te],Oe;if(Ee)return Ee;for(Oe=te-1;!ac[Oe];)Oe--;for(Ee=ac[Oe],E
gitextract_8xc9imlh/ ├── .cliff-jumperrc.yml ├── .eslintignore ├── .eslintrc ├── .github/ │ ├── CODEOWNERS │ ├── CODE_OF_CONDUCT.md │ ├── CONTRIBUTING.md │ ├── FUNDING.yml │ ├── ISSUE_TEMPLATE/ │ │ ├── bug_report.yml │ │ ├── config.yml │ │ └── feature_request.yml │ ├── SECURITY.md │ ├── hooks/ │ │ ├── commit-msg │ │ └── pre-commit │ ├── problemMatchers/ │ │ ├── eslint.json │ │ └── tsc.json │ ├── renovate.json │ └── workflows/ │ ├── auto-updater.yml │ ├── branch-imager.yml │ ├── continuous-deployment.yml │ ├── continuous-integration.yml │ ├── labelsync.yml │ └── static-documentation.yml ├── .gitignore ├── .prettierrc.mjs ├── .vscode/ │ ├── extensions.json │ ├── launch.json │ └── settings.json ├── .yarn/ │ ├── patches/ │ │ └── graphql-npm-16.11.0-836e6ade28.patch │ ├── plugins/ │ │ └── @yarnpkg/ │ │ └── plugin-git-hooks.cjs │ └── releases/ │ └── yarn-4.12.0.cjs ├── .yarnrc.yml ├── CHANGELOG.md ├── Dockerfile ├── LICENSE.md ├── README.md ├── cliff.toml ├── codegen.yml ├── docker-compose.yml ├── docs/ │ ├── magidoc.mjs │ ├── pages/ │ │ ├── 01.Introduction/ │ │ │ ├── 01.Welcome.md │ │ │ └── 02.JavaScript Examples.md │ │ └── 02.Utilities/ │ │ └── 01.Utilities.md │ ├── pages.mjs │ └── static/ │ └── styles/ │ └── custom.css ├── graphql/ │ ├── enums.graphql │ ├── resolvers.graphql │ └── schema.graphql ├── package.json ├── scripts/ │ ├── data-gen-scripts/ │ │ ├── data-injector.ts │ │ ├── data-key-checker.ts │ │ ├── data-to-clipboard.ts │ │ ├── enum-key-collector.ts │ │ ├── map-data-key-sorter.ts │ │ ├── sample.json │ │ └── scripted-updaters/ │ │ ├── asset-updaters/ │ │ │ ├── abilities-updater.ts │ │ │ ├── items-updater.ts │ │ │ ├── learnsets-updater.ts │ │ │ ├── moves-updater.ts │ │ │ └── tiers-updater.ts │ │ ├── classification-updater/ │ │ │ ├── .gitignore │ │ │ ├── classification-updater.ts │ │ │ └── log-wrapper.ts │ │ ├── cries-updater/ │ │ │ ├── constants.ts │ │ │ ├── cry-updater.ts │ │ │ ├── get-cry-url.ts │ │ │ └── log-wrapper.ts │ │ ├── flavor-text-updater/ │ │ │ ├── .gitignore │ │ │ ├── constants.ts │ │ │ ├── flavor-text-updater.ts │ │ │ ├── game-sets/ │ │ │ │ ├── gen1-game-sets.ts │ │ │ │ ├── gen2-game-sets.ts │ │ │ │ ├── gen3-game-sets.ts │ │ │ │ ├── gen4-game-sets.ts │ │ │ │ ├── gen5-game-sets.ts │ │ │ │ ├── gen6-game-sets.ts │ │ │ │ ├── gen7-game-sets.ts │ │ │ │ ├── gen8-game-sets.ts │ │ │ │ ├── gen9-game-sets.ts │ │ │ │ └── pokopia.ts │ │ │ ├── game-sorter.ts │ │ │ ├── get-text-content.ts │ │ │ ├── log-wrapper.ts │ │ │ └── parsers/ │ │ │ ├── double-game-updater.ts │ │ │ ├── parse-pokemon.ts │ │ │ ├── single-game-updater.ts │ │ │ └── triple-game-updater.ts │ │ ├── ipa-name-updater/ │ │ │ ├── .gitignore │ │ │ ├── ipa-updater.ts │ │ │ └── log-wrapper.ts │ │ ├── update-test-files.ts │ │ └── utils/ │ │ ├── append-to-log.ts │ │ ├── bulbapedia-utils.ts │ │ ├── constants.ts │ │ ├── flaresolverr-session-management.ts │ │ ├── pokedex-constants.ts │ │ ├── types.ts │ │ └── utils.ts │ ├── manual-tests/ │ │ ├── .gitignore │ │ ├── get-all-data.py │ │ └── requirements.txt │ ├── on-build-success.ts │ ├── tsconfig.json │ ├── utils.ts │ └── wait-for-port.sh ├── src/ │ ├── defaultDocument.ts │ ├── index.ts │ ├── lib/ │ │ ├── assets/ │ │ │ ├── abilities.ts │ │ │ ├── flavorText.json │ │ │ ├── formats.json │ │ │ ├── items.ts │ │ │ ├── learnsets.ts │ │ │ ├── moves.ts │ │ │ ├── natures.ts │ │ │ ├── pokedex-data/ │ │ │ │ ├── cap.ts │ │ │ │ ├── gen1.ts │ │ │ │ ├── gen2.ts │ │ │ │ ├── gen3.ts │ │ │ │ ├── gen4.ts │ │ │ │ ├── gen5.ts │ │ │ │ ├── gen6.ts │ │ │ │ ├── gen7.ts │ │ │ │ ├── gen8.ts │ │ │ │ ├── gen9.ts │ │ │ │ ├── pokedex.ts │ │ │ │ └── pokestar.ts │ │ │ ├── pokedex.ts │ │ │ ├── pokemon-source.ts │ │ │ └── typechart.ts │ │ ├── mappers/ │ │ │ ├── abilityMapper.ts │ │ │ ├── itemMapper.ts │ │ │ ├── learnsetMapper.ts │ │ │ ├── moveMapper.ts │ │ │ ├── natureMapper.ts │ │ │ ├── pokemonMapper.ts │ │ │ └── typeMatchupMapper.ts │ │ ├── resolvers/ │ │ │ ├── RootResolver.ts │ │ │ ├── abilityResolvers.ts │ │ │ ├── itemResolver.ts │ │ │ ├── learnsetResolvers.ts │ │ │ ├── moveResolvers.ts │ │ │ ├── natureResolver.ts │ │ │ ├── pokemonResolvers.ts │ │ │ └── typeResolver.ts │ │ ├── types/ │ │ │ ├── graphql-mapped-types.ts │ │ │ └── utility-types.ts │ │ ├── utils/ │ │ │ ├── FuzzySearch.ts │ │ │ ├── GraphQLSet.ts │ │ │ ├── addPropertyToObject.ts │ │ │ ├── flavorsModule.ts │ │ │ ├── formatsModule.ts │ │ │ ├── getRequestedFields.ts │ │ │ ├── graphql-parse-resolve-info.ts │ │ │ ├── grapqhl-root-typedef-resolver.ts │ │ │ ├── isNonStandardEnum.ts │ │ │ ├── pastGenerationPokemon.ts │ │ │ ├── pokemonTypes.ts │ │ │ ├── sprite-parser.ts │ │ │ ├── stringifyResult.ts │ │ │ └── utils.ts │ │ └── validations/ │ │ ├── fuzzyArgs/ │ │ │ ├── base.ts │ │ │ ├── fuzzyAbilityArgs.ts │ │ │ ├── fuzzyItemArgs.ts │ │ │ └── fuzzyMoveArgs.ts │ │ ├── getAbilityArgs.ts │ │ ├── getItemArgs.ts │ │ ├── getLearnsetArgs.ts │ │ ├── getMoveArgs.ts │ │ ├── getNatureArgs.ts │ │ ├── getTypeMatchupArgs.ts │ │ └── pokemonArgs/ │ │ ├── base.ts │ │ ├── getAllPokemonArgs.ts │ │ ├── getFuzzyPokemonArgs.ts │ │ ├── getPokemonArgs.ts │ │ └── getPokemonByDexNumberArgs.ts │ ├── server.ts │ └── tsconfig.json ├── tests/ │ ├── scenarios/ │ │ ├── abilities/ │ │ │ ├── getAbilities.test.ts │ │ │ └── getFuzzyAbilities.test.ts │ │ ├── items/ │ │ │ ├── getFuzzyItems.test.ts │ │ │ └── getItems.test.ts │ │ ├── learnsets/ │ │ │ ├── getFuzzyLearnset.test.ts │ │ │ └── getLearnset.test.ts │ │ ├── moves/ │ │ │ ├── getFuzzyMoves.test.ts │ │ │ └── getMoves.test.ts │ │ ├── natures/ │ │ │ ├── getAllNatures.test.ts │ │ │ └── getNature.test.ts │ │ ├── pokemon/ │ │ │ ├── getAllPokemonSpecies.test.ts │ │ │ ├── getFuzzyPokemon.test.ts │ │ │ ├── getPokemon.test.ts │ │ │ └── getPokemonAllData.test.ts │ │ └── typematchups/ │ │ └── getTypeMatchup.test.ts │ ├── testUtils/ │ │ ├── full-data-responses/ │ │ │ ├── beldum.json │ │ │ ├── dragonair.json │ │ │ ├── eevee.json │ │ │ ├── rattata-alola.json │ │ │ ├── salamence.json │ │ │ └── syclar.json │ │ ├── queries/ │ │ │ ├── abilities.ts │ │ │ ├── items.ts │ │ │ ├── learnsets.ts │ │ │ ├── moves.ts │ │ │ ├── natures.ts │ │ │ ├── pokemon-all-data.ts │ │ │ ├── pokemon.ts │ │ │ └── typematchup.ts │ │ ├── testUtils.ts │ │ └── types.d.ts │ └── tsconfig.json ├── tsconfig.base.json ├── tsconfig.eslint.json ├── tsconfig.package.json ├── tsup.config-package.ts ├── tsup.config.ts ├── utilities/ │ ├── guards.ts │ ├── index.ts │ ├── parseBulbapediaUrl.ts │ ├── pokemonEnumToSpecies.ts │ ├── resolveBulbapediaUrl.ts │ ├── resolveColor.ts │ └── resolveSerebiiUrl.ts └── vitest.config.ts
Showing preview only (643K chars total). Download the full file or copy to clipboard to get everything.
SYMBOL INDEX (6648 symbols across 91 files)
FILE: .yarn/plugins/@yarnpkg/plugin-git-hooks.cjs
function S (line 6) | function S(n){return typeof n=="string"?!!t[n]:"env"in n?t[n.env]&&t[n.e...
FILE: .yarn/releases/yarn-4.12.0.cjs
function Cc (line 4) | function Cc(t,e){return Object.assign(new Error(`${t}: ${e}`),{code:t})}
function NGe (line 4) | function NGe(t){return Cc("EBUSY",t)}
function OGe (line 4) | function OGe(t,e){return Cc("ENOSYS",`${t}, ${e}`)}
function LGe (line 4) | function LGe(t){return Cc("EINVAL",`invalid argument, ${t}`)}
function Mo (line 4) | function Mo(t){return Cc("EBADF",`bad file descriptor, ${t}`)}
function MGe (line 4) | function MGe(t){return Cc("ENOENT",`no such file or directory, ${t}`)}
function UGe (line 4) | function UGe(t){return Cc("ENOTDIR",`not a directory, ${t}`)}
function _Ge (line 4) | function _Ge(t){return Cc("EISDIR",`illegal operation on a directory, ${...
function HGe (line 4) | function HGe(t){return Cc("EEXIST",`file already exists, ${t}`)}
function jGe (line 4) | function jGe(t){return Cc("EROFS",`read-only filesystem, ${t}`)}
function GGe (line 4) | function GGe(t){return Cc("ENOTEMPTY",`directory not empty, ${t}`)}
function qGe (line 4) | function qGe(t){return Cc("EOPNOTSUPP",`operation not supported, ${t}`)}
function yU (line 4) | function yU(){return Cc("ERR_DIR_CLOSED","Directory handle was closed")}
function VZ (line 4) | function VZ(){return new nE}
function WGe (line 4) | function WGe(){return XP(VZ())}
function XP (line 4) | function XP(t){for(let e in t)if(Object.hasOwn(t,e)){let r=t[e];typeof r...
function YGe (line 4) | function YGe(t){let e=new iE;for(let r in t)if(Object.hasOwn(t,r)){let s...
function wU (line 4) | function wU(t,e){if(t.atimeMs!==e.atimeMs||t.birthtimeMs!==e.birthtimeMs...
method constructor (line 4) | constructor(){this.name="";this.path="";this.mode=0}
method isBlockDevice (line 4) | isBlockDevice(){return!1}
method isCharacterDevice (line 4) | isCharacterDevice(){return!1}
method isDirectory (line 4) | isDirectory(){return(this.mode&61440)===16384}
method isFIFO (line 4) | isFIFO(){return!1}
method isFile (line 4) | isFile(){return(this.mode&61440)===32768}
method isSocket (line 4) | isSocket(){return!1}
method isSymbolicLink (line 4) | isSymbolicLink(){return(this.mode&61440)===40960}
method constructor (line 4) | constructor(){this.uid=0;this.gid=0;this.size=0;this.blksize=0;this.atim...
method isBlockDevice (line 4) | isBlockDevice(){return!1}
method isCharacterDevice (line 4) | isCharacterDevice(){return!1}
method isDirectory (line 4) | isDirectory(){return(this.mode&61440)===16384}
method isFIFO (line 4) | isFIFO(){return!1}
method isFile (line 4) | isFile(){return(this.mode&61440)===32768}
method isSocket (line 4) | isSocket(){return!1}
method isSymbolicLink (line 4) | isSymbolicLink(){return(this.mode&61440)===40960}
method constructor (line 4) | constructor(){this.uid=BigInt(0);this.gid=BigInt(0);this.size=BigInt(0);...
method isBlockDevice (line 4) | isBlockDevice(){return!1}
method isCharacterDevice (line 4) | isCharacterDevice(){return!1}
method isDirectory (line 4) | isDirectory(){return(this.mode&BigInt(61440))===BigInt(16384)}
method isFIFO (line 4) | isFIFO(){return!1}
method isFile (line 4) | isFile(){return(this.mode&BigInt(61440))===BigInt(32768)}
method isSocket (line 4) | isSocket(){return!1}
method isSymbolicLink (line 4) | isSymbolicLink(){return(this.mode&BigInt(61440))===BigInt(40960)}
function XGe (line 4) | function XGe(t){let e,r;if(e=t.match(KGe))t=e[1];else if(r=t.match(zGe))...
function ZGe (line 4) | function ZGe(t){t=t.replace(/\\/g,"/");let e,r;return(e=t.match(VGe))?t=...
function ZP (line 4) | function ZP(t,e){return t===fe?KZ(e):vU(e)}
function $P (line 4) | async function $P(t,e){let r="0123456789abcdef";await t.mkdirPromise(e.i...
function zZ (line 4) | async function zZ(t,e,r,s,a){let n=t.pathUtils.normalize(e),c=r.pathUtil...
function SU (line 4) | async function SU(t,e,r,s,a,n,c){let f=c.didParentExist?await XZ(r,s):nu...
function XZ (line 4) | async function XZ(t,e){try{return await t.lstatPromise(e)}catch{return n...
function e5e (line 4) | async function e5e(t,e,r,s,a,n,c,f,p){if(a!==null&&!a.isDirectory())if(p...
function t5e (line 4) | async function t5e(t,e,r,s,a,n,c,f,p,h){let E=await n.checksumFilePromis...
function r5e (line 4) | async function r5e(t,e,r,s,a,n,c,f,p){if(a!==null)if(p.overwrite)t.push(...
function n5e (line 4) | async function n5e(t,e,r,s,a,n,c,f,p){return p.linkStrategy?.type==="Har...
function i5e (line 4) | async function i5e(t,e,r,s,a,n,c,f,p){if(a!==null)if(p.overwrite)t.push(...
function ex (line 4) | function ex(t,e,r,s){let a=()=>{let n=r.shift();if(typeof n>"u")return n...
method constructor (line 4) | constructor(e,r,s={}){this.path=e;this.nextDirent=r;this.opts=s;this.clo...
method throwIfClosed (line 4) | throwIfClosed(){if(this.closed)throw yU()}
method [Symbol.asyncIterator] (line 4) | async*[Symbol.asyncIterator](){try{let e;for(;(e=await this.read())!==nu...
method read (line 4) | read(e){let r=this.readSync();return typeof e<"u"?e(null,r):Promise.reso...
method readSync (line 4) | readSync(){return this.throwIfClosed(),this.nextDirent()}
method close (line 4) | close(e){return this.closeSync(),typeof e<"u"?e(null):Promise.resolve()}
method closeSync (line 4) | closeSync(){this.throwIfClosed(),this.opts.onClose?.(),this.closed=!0}
function $Z (line 4) | function $Z(t,e){if(t!==e)throw new Error(`Invalid StatWatcher status: e...
method constructor (line 4) | constructor(r,s,{bigint:a=!1}={}){super();this.status="ready";this.chang...
method create (line 4) | static create(r,s,a){let n=new t(r,s,a);return n.start(),n}
method start (line 4) | start(){$Z(this.status,"ready"),this.status="running",this.startTimeout=...
method stop (line 4) | stop(){$Z(this.status,"running"),this.status="stopped",this.startTimeout...
method stat (line 4) | stat(){try{return this.fakeFs.statSync(this.path,{bigint:this.bigint})}c...
method makeInterval (line 4) | makeInterval(r){let s=setInterval(()=>{let a=this.stat(),n=this.lastStat...
method registerChangeListener (line 4) | registerChangeListener(r,s){this.addListener("change",r),this.changeList...
method unregisterChangeListener (line 4) | unregisterChangeListener(r){this.removeListener("change",r);let s=this.c...
method unregisterAllChangeListeners (line 4) | unregisterAllChangeListeners(){for(let r of this.changeListeners.keys())...
method hasChangeListeners (line 4) | hasChangeListeners(){return this.changeListeners.size>0}
method ref (line 4) | ref(){for(let r of this.changeListeners.values())r.ref();return this}
method unref (line 4) | unref(){for(let r of this.changeListeners.values())r.unref();return this}
function sE (line 4) | function sE(t,e,r,s){let a,n,c,f;switch(typeof r){case"function":a=!1,n=...
function md (line 4) | function md(t,e,r){let s=rx.get(t);if(typeof s>"u")return;let a=s.get(e)...
function yd (line 4) | function yd(t){let e=rx.get(t);if(!(typeof e>"u"))for(let r of e.keys())...
function s5e (line 4) | function s5e(t){let e=t.match(/\r?\n/g);if(e===null)return n$.EOL;let r=...
function Ed (line 7) | function Ed(t,e){return e.replace(/\r?\n/g,s5e(t))}
method constructor (line 7) | constructor(e){this.pathUtils=e}
method genTraversePromise (line 7) | async*genTraversePromise(e,{stableSort:r=!1}={}){let s=[e];for(;s.length...
method checksumFilePromise (line 7) | async checksumFilePromise(e,{algorithm:r="sha512"}={}){let s=await this....
method removePromise (line 7) | async removePromise(e,{recursive:r=!0,maxRetries:s=5}={}){let a;try{a=aw...
method removeSync (line 7) | removeSync(e,{recursive:r=!0}={}){let s;try{s=this.lstatSync(e)}catch(a)...
method mkdirpPromise (line 7) | async mkdirpPromise(e,{chmod:r,utimes:s}={}){if(e=this.resolve(e),e===th...
method mkdirpSync (line 7) | mkdirpSync(e,{chmod:r,utimes:s}={}){if(e=this.resolve(e),e===this.pathUt...
method copyPromise (line 7) | async copyPromise(e,r,{baseFs:s=this,overwrite:a=!0,stableSort:n=!1,stab...
method copySync (line 7) | copySync(e,r,{baseFs:s=this,overwrite:a=!0}={}){let n=s.lstatSync(r),c=t...
method changeFilePromise (line 7) | async changeFilePromise(e,r,s={}){return Buffer.isBuffer(r)?this.changeF...
method changeFileBufferPromise (line 7) | async changeFileBufferPromise(e,r,{mode:s}={}){let a=Buffer.alloc(0);try...
method changeFileTextPromise (line 7) | async changeFileTextPromise(e,r,{automaticNewlines:s,mode:a}={}){let n="...
method changeFileSync (line 7) | changeFileSync(e,r,s={}){return Buffer.isBuffer(r)?this.changeFileBuffer...
method changeFileBufferSync (line 7) | changeFileBufferSync(e,r,{mode:s}={}){let a=Buffer.alloc(0);try{a=this.r...
method changeFileTextSync (line 7) | changeFileTextSync(e,r,{automaticNewlines:s=!1,mode:a}={}){let n="";try{...
method movePromise (line 7) | async movePromise(e,r){try{await this.renamePromise(e,r)}catch(s){if(s.c...
method moveSync (line 7) | moveSync(e,r){try{this.renameSync(e,r)}catch(s){if(s.code==="EXDEV")this...
method lockPromise (line 7) | async lockPromise(e,r){let s=`${e}.flock`,a=1e3/60,n=Date.now(),c=null,f...
method readJsonPromise (line 7) | async readJsonPromise(e){let r=await this.readFilePromise(e,"utf8");try{...
method readJsonSync (line 7) | readJsonSync(e){let r=this.readFileSync(e,"utf8");try{return JSON.parse(...
method writeJsonPromise (line 7) | async writeJsonPromise(e,r,{compact:s=!1}={}){let a=s?0:2;return await t...
method writeJsonSync (line 8) | writeJsonSync(e,r,{compact:s=!1}={}){let a=s?0:2;return this.writeFileSy...
method preserveTimePromise (line 9) | async preserveTimePromise(e,r){let s=await this.lstatPromise(e),a=await ...
method preserveTimeSync (line 9) | async preserveTimeSync(e,r){let s=this.lstatSync(e),a=r();typeof a<"u"&&...
method constructor (line 9) | constructor(){super(J)}
method getExtractHint (line 9) | getExtractHint(e){return this.baseFs.getExtractHint(e)}
method resolve (line 9) | resolve(e){return this.mapFromBase(this.baseFs.resolve(this.mapToBase(e)))}
method getRealPath (line 9) | getRealPath(){return this.mapFromBase(this.baseFs.getRealPath())}
method openPromise (line 9) | async openPromise(e,r,s){return this.baseFs.openPromise(this.mapToBase(e...
method openSync (line 9) | openSync(e,r,s){return this.baseFs.openSync(this.mapToBase(e),r,s)}
method opendirPromise (line 9) | async opendirPromise(e,r){return Object.assign(await this.baseFs.opendir...
method opendirSync (line 9) | opendirSync(e,r){return Object.assign(this.baseFs.opendirSync(this.mapTo...
method readPromise (line 9) | async readPromise(e,r,s,a,n){return await this.baseFs.readPromise(e,r,s,...
method readSync (line 9) | readSync(e,r,s,a,n){return this.baseFs.readSync(e,r,s,a,n)}
method writePromise (line 9) | async writePromise(e,r,s,a,n){return typeof r=="string"?await this.baseF...
method writeSync (line 9) | writeSync(e,r,s,a,n){return typeof r=="string"?this.baseFs.writeSync(e,r...
method closePromise (line 9) | async closePromise(e){return this.baseFs.closePromise(e)}
method closeSync (line 9) | closeSync(e){this.baseFs.closeSync(e)}
method createReadStream (line 9) | createReadStream(e,r){return this.baseFs.createReadStream(e!==null?this....
method createWriteStream (line 9) | createWriteStream(e,r){return this.baseFs.createWriteStream(e!==null?thi...
method realpathPromise (line 9) | async realpathPromise(e){return this.mapFromBase(await this.baseFs.realp...
method realpathSync (line 9) | realpathSync(e){return this.mapFromBase(this.baseFs.realpathSync(this.ma...
method existsPromise (line 9) | async existsPromise(e){return this.baseFs.existsPromise(this.mapToBase(e))}
method existsSync (line 9) | existsSync(e){return this.baseFs.existsSync(this.mapToBase(e))}
method accessSync (line 9) | accessSync(e,r){return this.baseFs.accessSync(this.mapToBase(e),r)}
method accessPromise (line 9) | async accessPromise(e,r){return this.baseFs.accessPromise(this.mapToBase...
method statPromise (line 9) | async statPromise(e,r){return this.baseFs.statPromise(this.mapToBase(e),r)}
method statSync (line 9) | statSync(e,r){return this.baseFs.statSync(this.mapToBase(e),r)}
method fstatPromise (line 9) | async fstatPromise(e,r){return this.baseFs.fstatPromise(e,r)}
method fstatSync (line 9) | fstatSync(e,r){return this.baseFs.fstatSync(e,r)}
method lstatPromise (line 9) | lstatPromise(e,r){return this.baseFs.lstatPromise(this.mapToBase(e),r)}
method lstatSync (line 9) | lstatSync(e,r){return this.baseFs.lstatSync(this.mapToBase(e),r)}
method fchmodPromise (line 9) | async fchmodPromise(e,r){return this.baseFs.fchmodPromise(e,r)}
method fchmodSync (line 9) | fchmodSync(e,r){return this.baseFs.fchmodSync(e,r)}
method chmodPromise (line 9) | async chmodPromise(e,r){return this.baseFs.chmodPromise(this.mapToBase(e...
method chmodSync (line 9) | chmodSync(e,r){return this.baseFs.chmodSync(this.mapToBase(e),r)}
method fchownPromise (line 9) | async fchownPromise(e,r,s){return this.baseFs.fchownPromise(e,r,s)}
method fchownSync (line 9) | fchownSync(e,r,s){return this.baseFs.fchownSync(e,r,s)}
method chownPromise (line 9) | async chownPromise(e,r,s){return this.baseFs.chownPromise(this.mapToBase...
method chownSync (line 9) | chownSync(e,r,s){return this.baseFs.chownSync(this.mapToBase(e),r,s)}
method renamePromise (line 9) | async renamePromise(e,r){return this.baseFs.renamePromise(this.mapToBase...
method renameSync (line 9) | renameSync(e,r){return this.baseFs.renameSync(this.mapToBase(e),this.map...
method copyFilePromise (line 9) | async copyFilePromise(e,r,s=0){return this.baseFs.copyFilePromise(this.m...
method copyFileSync (line 9) | copyFileSync(e,r,s=0){return this.baseFs.copyFileSync(this.mapToBase(e),...
method appendFilePromise (line 9) | async appendFilePromise(e,r,s){return this.baseFs.appendFilePromise(this...
method appendFileSync (line 9) | appendFileSync(e,r,s){return this.baseFs.appendFileSync(this.fsMapToBase...
method writeFilePromise (line 9) | async writeFilePromise(e,r,s){return this.baseFs.writeFilePromise(this.f...
method writeFileSync (line 9) | writeFileSync(e,r,s){return this.baseFs.writeFileSync(this.fsMapToBase(e...
method unlinkPromise (line 9) | async unlinkPromise(e){return this.baseFs.unlinkPromise(this.mapToBase(e))}
method unlinkSync (line 9) | unlinkSync(e){return this.baseFs.unlinkSync(this.mapToBase(e))}
method utimesPromise (line 9) | async utimesPromise(e,r,s){return this.baseFs.utimesPromise(this.mapToBa...
method utimesSync (line 9) | utimesSync(e,r,s){return this.baseFs.utimesSync(this.mapToBase(e),r,s)}
method lutimesPromise (line 9) | async lutimesPromise(e,r,s){return this.baseFs.lutimesPromise(this.mapTo...
method lutimesSync (line 9) | lutimesSync(e,r,s){return this.baseFs.lutimesSync(this.mapToBase(e),r,s)}
method mkdirPromise (line 9) | async mkdirPromise(e,r){return this.baseFs.mkdirPromise(this.mapToBase(e...
method mkdirSync (line 9) | mkdirSync(e,r){return this.baseFs.mkdirSync(this.mapToBase(e),r)}
method rmdirPromise (line 9) | async rmdirPromise(e,r){return this.baseFs.rmdirPromise(this.mapToBase(e...
method rmdirSync (line 9) | rmdirSync(e,r){return this.baseFs.rmdirSync(this.mapToBase(e),r)}
method rmPromise (line 9) | async rmPromise(e,r){return this.baseFs.rmPromise(this.mapToBase(e),r)}
method rmSync (line 9) | rmSync(e,r){return this.baseFs.rmSync(this.mapToBase(e),r)}
method linkPromise (line 9) | async linkPromise(e,r){return this.baseFs.linkPromise(this.mapToBase(e),...
method linkSync (line 9) | linkSync(e,r){return this.baseFs.linkSync(this.mapToBase(e),this.mapToBa...
method symlinkPromise (line 9) | async symlinkPromise(e,r,s){let a=this.mapToBase(r);if(this.pathUtils.is...
method symlinkSync (line 9) | symlinkSync(e,r,s){let a=this.mapToBase(r);if(this.pathUtils.isAbsolute(...
method readFilePromise (line 9) | async readFilePromise(e,r){return this.baseFs.readFilePromise(this.fsMap...
method readFileSync (line 9) | readFileSync(e,r){return this.baseFs.readFileSync(this.fsMapToBase(e),r)}
method readdirPromise (line 9) | readdirPromise(e,r){return this.baseFs.readdirPromise(this.mapToBase(e),r)}
method readdirSync (line 9) | readdirSync(e,r){return this.baseFs.readdirSync(this.mapToBase(e),r)}
method readlinkPromise (line 9) | async readlinkPromise(e){return this.mapFromBase(await this.baseFs.readl...
method readlinkSync (line 9) | readlinkSync(e){return this.mapFromBase(this.baseFs.readlinkSync(this.ma...
method truncatePromise (line 9) | async truncatePromise(e,r){return this.baseFs.truncatePromise(this.mapTo...
method truncateSync (line 9) | truncateSync(e,r){return this.baseFs.truncateSync(this.mapToBase(e),r)}
method ftruncatePromise (line 9) | async ftruncatePromise(e,r){return this.baseFs.ftruncatePromise(e,r)}
method ftruncateSync (line 9) | ftruncateSync(e,r){return this.baseFs.ftruncateSync(e,r)}
method watch (line 9) | watch(e,r,s){return this.baseFs.watch(this.mapToBase(e),r,s)}
method watchFile (line 9) | watchFile(e,r,s){return this.baseFs.watchFile(this.mapToBase(e),r,s)}
method unwatchFile (line 9) | unwatchFile(e,r){return this.baseFs.unwatchFile(this.mapToBase(e),r)}
method fsMapToBase (line 9) | fsMapToBase(e){return typeof e=="number"?e:this.mapToBase(e)}
method constructor (line 9) | constructor(e,{baseFs:r,pathUtils:s}){super(s),this.target=e,this.baseFs=r}
method getRealPath (line 9) | getRealPath(){return this.target}
method getBaseFs (line 9) | getBaseFs(){return this.baseFs}
method mapFromBase (line 9) | mapFromBase(e){return e}
method mapToBase (line 9) | mapToBase(e){return e}
function s$ (line 9) | function s$(t){let e=t;return typeof t.path=="string"&&(e.path=fe.toPort...
method constructor (line 9) | constructor(e=o$.default){super(),this.realFs=e}
method getExtractHint (line 9) | getExtractHint(){return!1}
method getRealPath (line 9) | getRealPath(){return vt.root}
method resolve (line 9) | resolve(e){return J.resolve(e)}
method openPromise (line 9) | async openPromise(e,r,s){return await new Promise((a,n)=>{this.realFs.op...
method openSync (line 9) | openSync(e,r,s){return this.realFs.openSync(fe.fromPortablePath(e),r,s)}
method opendirPromise (line 9) | async opendirPromise(e,r){return await new Promise((s,a)=>{typeof r<"u"?...
method opendirSync (line 9) | opendirSync(e,r){let a=typeof r<"u"?this.realFs.opendirSync(fe.fromPorta...
method readPromise (line 9) | async readPromise(e,r,s=0,a=0,n=-1){return await new Promise((c,f)=>{thi...
method readSync (line 9) | readSync(e,r,s,a,n){return this.realFs.readSync(e,r,s,a,n)}
method writePromise (line 9) | async writePromise(e,r,s,a,n){return await new Promise((c,f)=>typeof r==...
method writeSync (line 9) | writeSync(e,r,s,a,n){return typeof r=="string"?this.realFs.writeSync(e,r...
method closePromise (line 9) | async closePromise(e){await new Promise((r,s)=>{this.realFs.close(e,this...
method closeSync (line 9) | closeSync(e){this.realFs.closeSync(e)}
method createReadStream (line 9) | createReadStream(e,r){let s=e!==null?fe.fromPortablePath(e):e;return thi...
method createWriteStream (line 9) | createWriteStream(e,r){let s=e!==null?fe.fromPortablePath(e):e;return th...
method realpathPromise (line 9) | async realpathPromise(e){return await new Promise((r,s)=>{this.realFs.re...
method realpathSync (line 9) | realpathSync(e){return fe.toPortablePath(this.realFs.realpathSync(fe.fro...
method existsPromise (line 9) | async existsPromise(e){return await new Promise(r=>{this.realFs.exists(f...
method accessSync (line 9) | accessSync(e,r){return this.realFs.accessSync(fe.fromPortablePath(e),r)}
method accessPromise (line 9) | async accessPromise(e,r){return await new Promise((s,a)=>{this.realFs.ac...
method existsSync (line 9) | existsSync(e){return this.realFs.existsSync(fe.fromPortablePath(e))}
method statPromise (line 9) | async statPromise(e,r){return await new Promise((s,a)=>{r?this.realFs.st...
method statSync (line 9) | statSync(e,r){return r?this.realFs.statSync(fe.fromPortablePath(e),r):th...
method fstatPromise (line 9) | async fstatPromise(e,r){return await new Promise((s,a)=>{r?this.realFs.f...
method fstatSync (line 9) | fstatSync(e,r){return r?this.realFs.fstatSync(e,r):this.realFs.fstatSync...
method lstatPromise (line 9) | async lstatPromise(e,r){return await new Promise((s,a)=>{r?this.realFs.l...
method lstatSync (line 9) | lstatSync(e,r){return r?this.realFs.lstatSync(fe.fromPortablePath(e),r):...
method fchmodPromise (line 9) | async fchmodPromise(e,r){return await new Promise((s,a)=>{this.realFs.fc...
method fchmodSync (line 9) | fchmodSync(e,r){return this.realFs.fchmodSync(e,r)}
method chmodPromise (line 9) | async chmodPromise(e,r){return await new Promise((s,a)=>{this.realFs.chm...
method chmodSync (line 9) | chmodSync(e,r){return this.realFs.chmodSync(fe.fromPortablePath(e),r)}
method fchownPromise (line 9) | async fchownPromise(e,r,s){return await new Promise((a,n)=>{this.realFs....
method fchownSync (line 9) | fchownSync(e,r,s){return this.realFs.fchownSync(e,r,s)}
method chownPromise (line 9) | async chownPromise(e,r,s){return await new Promise((a,n)=>{this.realFs.c...
method chownSync (line 9) | chownSync(e,r,s){return this.realFs.chownSync(fe.fromPortablePath(e),r,s)}
method renamePromise (line 9) | async renamePromise(e,r){return await new Promise((s,a)=>{this.realFs.re...
method renameSync (line 9) | renameSync(e,r){return this.realFs.renameSync(fe.fromPortablePath(e),fe....
method copyFilePromise (line 9) | async copyFilePromise(e,r,s=0){return await new Promise((a,n)=>{this.rea...
method copyFileSync (line 9) | copyFileSync(e,r,s=0){return this.realFs.copyFileSync(fe.fromPortablePat...
method appendFilePromise (line 9) | async appendFilePromise(e,r,s){return await new Promise((a,n)=>{let c=ty...
method appendFileSync (line 9) | appendFileSync(e,r,s){let a=typeof e=="string"?fe.fromPortablePath(e):e;...
method writeFilePromise (line 9) | async writeFilePromise(e,r,s){return await new Promise((a,n)=>{let c=typ...
method writeFileSync (line 9) | writeFileSync(e,r,s){let a=typeof e=="string"?fe.fromPortablePath(e):e;s...
method unlinkPromise (line 9) | async unlinkPromise(e){return await new Promise((r,s)=>{this.realFs.unli...
method unlinkSync (line 9) | unlinkSync(e){return this.realFs.unlinkSync(fe.fromPortablePath(e))}
method utimesPromise (line 9) | async utimesPromise(e,r,s){return await new Promise((a,n)=>{this.realFs....
method utimesSync (line 9) | utimesSync(e,r,s){this.realFs.utimesSync(fe.fromPortablePath(e),r,s)}
method lutimesPromise (line 9) | async lutimesPromise(e,r,s){return await new Promise((a,n)=>{this.realFs...
method lutimesSync (line 9) | lutimesSync(e,r,s){this.realFs.lutimesSync(fe.fromPortablePath(e),r,s)}
method mkdirPromise (line 9) | async mkdirPromise(e,r){return await new Promise((s,a)=>{this.realFs.mkd...
method mkdirSync (line 9) | mkdirSync(e,r){return this.realFs.mkdirSync(fe.fromPortablePath(e),r)}
method rmdirPromise (line 9) | async rmdirPromise(e,r){return await new Promise((s,a)=>{r?this.realFs.r...
method rmdirSync (line 9) | rmdirSync(e,r){return this.realFs.rmdirSync(fe.fromPortablePath(e),r)}
method rmPromise (line 9) | async rmPromise(e,r){return await new Promise((s,a)=>{r?this.realFs.rm(f...
method rmSync (line 9) | rmSync(e,r){return this.realFs.rmSync(fe.fromPortablePath(e),r)}
method linkPromise (line 9) | async linkPromise(e,r){return await new Promise((s,a)=>{this.realFs.link...
method linkSync (line 9) | linkSync(e,r){return this.realFs.linkSync(fe.fromPortablePath(e),fe.from...
method symlinkPromise (line 9) | async symlinkPromise(e,r,s){return await new Promise((a,n)=>{this.realFs...
method symlinkSync (line 9) | symlinkSync(e,r,s){return this.realFs.symlinkSync(fe.fromPortablePath(e....
method readFilePromise (line 9) | async readFilePromise(e,r){return await new Promise((s,a)=>{let n=typeof...
method readFileSync (line 9) | readFileSync(e,r){let s=typeof e=="string"?fe.fromPortablePath(e):e;retu...
method readdirPromise (line 9) | async readdirPromise(e,r){return await new Promise((s,a)=>{r?r.recursive...
method readdirSync (line 9) | readdirSync(e,r){return r?r.recursive&&process.platform==="win32"?r.with...
method readlinkPromise (line 9) | async readlinkPromise(e){return await new Promise((r,s)=>{this.realFs.re...
method readlinkSync (line 9) | readlinkSync(e){return fe.toPortablePath(this.realFs.readlinkSync(fe.fro...
method truncatePromise (line 9) | async truncatePromise(e,r){return await new Promise((s,a)=>{this.realFs....
method truncateSync (line 9) | truncateSync(e,r){return this.realFs.truncateSync(fe.fromPortablePath(e)...
method ftruncatePromise (line 9) | async ftruncatePromise(e,r){return await new Promise((s,a)=>{this.realFs...
method ftruncateSync (line 9) | ftruncateSync(e,r){return this.realFs.ftruncateSync(e,r)}
method watch (line 9) | watch(e,r,s){return this.realFs.watch(fe.fromPortablePath(e),r,s)}
method watchFile (line 9) | watchFile(e,r,s){return this.realFs.watchFile(fe.fromPortablePath(e),r,s)}
method unwatchFile (line 9) | unwatchFile(e,r){return this.realFs.unwatchFile(fe.fromPortablePath(e),r)}
method makeCallback (line 9) | makeCallback(e,r){return(s,a)=>{s?r(s):e(a)}}
method constructor (line 9) | constructor(e,{baseFs:r=new Yn}={}){super(J),this.target=this.pathUtils....
method getRealPath (line 9) | getRealPath(){return this.pathUtils.resolve(this.baseFs.getRealPath(),th...
method resolve (line 9) | resolve(e){return this.pathUtils.isAbsolute(e)?J.normalize(e):this.baseF...
method mapFromBase (line 9) | mapFromBase(e){return e}
method mapToBase (line 9) | mapToBase(e){return this.pathUtils.isAbsolute(e)?e:this.pathUtils.join(t...
method constructor (line 9) | constructor(e,{baseFs:r=new Yn}={}){super(J),this.target=this.pathUtils....
method getRealPath (line 9) | getRealPath(){return this.pathUtils.resolve(this.baseFs.getRealPath(),th...
method getTarget (line 9) | getTarget(){return this.target}
method getBaseFs (line 9) | getBaseFs(){return this.baseFs}
method mapToBase (line 9) | mapToBase(e){let r=this.pathUtils.normalize(e);if(this.pathUtils.isAbsol...
method mapFromBase (line 9) | mapFromBase(e){return this.pathUtils.resolve(l$,this.pathUtils.relative(...
method constructor (line 9) | constructor(r,s){super(s);this.instance=null;this.factory=r}
method baseFs (line 9) | get baseFs(){return this.instance||(this.instance=this.factory()),this.i...
method baseFs (line 9) | set baseFs(r){this.instance=r}
method mapFromBase (line 9) | mapFromBase(r){return r}
method mapToBase (line 9) | mapToBase(r){return r}
method constructor (line 9) | constructor({baseFs:r=new Yn,filter:s=null,magicByte:a=42,maxOpenFiles:n...
method getExtractHint (line 9) | getExtractHint(r){return this.baseFs.getExtractHint(r)}
method getRealPath (line 9) | getRealPath(){return this.baseFs.getRealPath()}
method saveAndClose (line 9) | saveAndClose(){if(yd(this),this.mountInstances)for(let[r,{childFs:s}]of ...
method discardAndClose (line 9) | discardAndClose(){if(yd(this),this.mountInstances)for(let[r,{childFs:s}]...
method resolve (line 9) | resolve(r){return this.baseFs.resolve(r)}
method remapFd (line 9) | remapFd(r,s){let a=this.nextFd++|this.magic;return this.fdMap.set(a,[r,s...
method openPromise (line 9) | async openPromise(r,s,a){return await this.makeCallPromise(r,async()=>aw...
method openSync (line 9) | openSync(r,s,a){return this.makeCallSync(r,()=>this.baseFs.openSync(r,s,...
method opendirPromise (line 9) | async opendirPromise(r,s){return await this.makeCallPromise(r,async()=>a...
method opendirSync (line 9) | opendirSync(r,s){return this.makeCallSync(r,()=>this.baseFs.opendirSync(...
method readPromise (line 9) | async readPromise(r,s,a,n,c){if((r&tl)!==this.magic)return await this.ba...
method readSync (line 9) | readSync(r,s,a,n,c){if((r&tl)!==this.magic)return this.baseFs.readSync(r...
method writePromise (line 9) | async writePromise(r,s,a,n,c){if((r&tl)!==this.magic)return typeof s=="s...
method writeSync (line 9) | writeSync(r,s,a,n,c){if((r&tl)!==this.magic)return typeof s=="string"?th...
method closePromise (line 9) | async closePromise(r){if((r&tl)!==this.magic)return await this.baseFs.cl...
method closeSync (line 9) | closeSync(r){if((r&tl)!==this.magic)return this.baseFs.closeSync(r);let ...
method createReadStream (line 9) | createReadStream(r,s){return r===null?this.baseFs.createReadStream(r,s):...
method createWriteStream (line 9) | createWriteStream(r,s){return r===null?this.baseFs.createWriteStream(r,s...
method realpathPromise (line 9) | async realpathPromise(r){return await this.makeCallPromise(r,async()=>aw...
method realpathSync (line 9) | realpathSync(r){return this.makeCallSync(r,()=>this.baseFs.realpathSync(...
method existsPromise (line 9) | async existsPromise(r){return await this.makeCallPromise(r,async()=>awai...
method existsSync (line 9) | existsSync(r){return this.makeCallSync(r,()=>this.baseFs.existsSync(r),(...
method accessPromise (line 9) | async accessPromise(r,s){return await this.makeCallPromise(r,async()=>aw...
method accessSync (line 9) | accessSync(r,s){return this.makeCallSync(r,()=>this.baseFs.accessSync(r,...
method statPromise (line 9) | async statPromise(r,s){return await this.makeCallPromise(r,async()=>awai...
method statSync (line 9) | statSync(r,s){return this.makeCallSync(r,()=>this.baseFs.statSync(r,s),(...
method fstatPromise (line 9) | async fstatPromise(r,s){if((r&tl)!==this.magic)return this.baseFs.fstatP...
method fstatSync (line 9) | fstatSync(r,s){if((r&tl)!==this.magic)return this.baseFs.fstatSync(r,s);...
method lstatPromise (line 9) | async lstatPromise(r,s){return await this.makeCallPromise(r,async()=>awa...
method lstatSync (line 9) | lstatSync(r,s){return this.makeCallSync(r,()=>this.baseFs.lstatSync(r,s)...
method fchmodPromise (line 9) | async fchmodPromise(r,s){if((r&tl)!==this.magic)return this.baseFs.fchmo...
method fchmodSync (line 9) | fchmodSync(r,s){if((r&tl)!==this.magic)return this.baseFs.fchmodSync(r,s...
method chmodPromise (line 9) | async chmodPromise(r,s){return await this.makeCallPromise(r,async()=>awa...
method chmodSync (line 9) | chmodSync(r,s){return this.makeCallSync(r,()=>this.baseFs.chmodSync(r,s)...
method fchownPromise (line 9) | async fchownPromise(r,s,a){if((r&tl)!==this.magic)return this.baseFs.fch...
method fchownSync (line 9) | fchownSync(r,s,a){if((r&tl)!==this.magic)return this.baseFs.fchownSync(r...
method chownPromise (line 9) | async chownPromise(r,s,a){return await this.makeCallPromise(r,async()=>a...
method chownSync (line 9) | chownSync(r,s,a){return this.makeCallSync(r,()=>this.baseFs.chownSync(r,...
method renamePromise (line 9) | async renamePromise(r,s){return await this.makeCallPromise(r,async()=>aw...
method renameSync (line 9) | renameSync(r,s){return this.makeCallSync(r,()=>this.makeCallSync(s,()=>t...
method copyFilePromise (line 9) | async copyFilePromise(r,s,a=0){let n=async(c,f,p,h)=>{if(a&wd.constants....
method copyFileSync (line 9) | copyFileSync(r,s,a=0){let n=(c,f,p,h)=>{if(a&wd.constants.COPYFILE_FICLO...
method appendFilePromise (line 9) | async appendFilePromise(r,s,a){return await this.makeCallPromise(r,async...
method appendFileSync (line 9) | appendFileSync(r,s,a){return this.makeCallSync(r,()=>this.baseFs.appendF...
method writeFilePromise (line 9) | async writeFilePromise(r,s,a){return await this.makeCallPromise(r,async(...
method writeFileSync (line 9) | writeFileSync(r,s,a){return this.makeCallSync(r,()=>this.baseFs.writeFil...
method unlinkPromise (line 9) | async unlinkPromise(r){return await this.makeCallPromise(r,async()=>awai...
method unlinkSync (line 9) | unlinkSync(r){return this.makeCallSync(r,()=>this.baseFs.unlinkSync(r),(...
method utimesPromise (line 9) | async utimesPromise(r,s,a){return await this.makeCallPromise(r,async()=>...
method utimesSync (line 9) | utimesSync(r,s,a){return this.makeCallSync(r,()=>this.baseFs.utimesSync(...
method lutimesPromise (line 9) | async lutimesPromise(r,s,a){return await this.makeCallPromise(r,async()=...
method lutimesSync (line 9) | lutimesSync(r,s,a){return this.makeCallSync(r,()=>this.baseFs.lutimesSyn...
method mkdirPromise (line 9) | async mkdirPromise(r,s){return await this.makeCallPromise(r,async()=>awa...
method mkdirSync (line 9) | mkdirSync(r,s){return this.makeCallSync(r,()=>this.baseFs.mkdirSync(r,s)...
method rmdirPromise (line 9) | async rmdirPromise(r,s){return await this.makeCallPromise(r,async()=>awa...
method rmdirSync (line 9) | rmdirSync(r,s){return this.makeCallSync(r,()=>this.baseFs.rmdirSync(r,s)...
method rmPromise (line 9) | async rmPromise(r,s){return await this.makeCallPromise(r,async()=>await ...
method rmSync (line 9) | rmSync(r,s){return this.makeCallSync(r,()=>this.baseFs.rmSync(r,s),(a,{s...
method linkPromise (line 9) | async linkPromise(r,s){return await this.makeCallPromise(s,async()=>awai...
method linkSync (line 9) | linkSync(r,s){return this.makeCallSync(s,()=>this.baseFs.linkSync(r,s),(...
method symlinkPromise (line 9) | async symlinkPromise(r,s,a){return await this.makeCallPromise(s,async()=...
method symlinkSync (line 9) | symlinkSync(r,s,a){return this.makeCallSync(s,()=>this.baseFs.symlinkSyn...
method readFilePromise (line 9) | async readFilePromise(r,s){return this.makeCallPromise(r,async()=>await ...
method readFileSync (line 9) | readFileSync(r,s){return this.makeCallSync(r,()=>this.baseFs.readFileSyn...
method readdirPromise (line 9) | async readdirPromise(r,s){return await this.makeCallPromise(r,async()=>a...
method readdirSync (line 9) | readdirSync(r,s){return this.makeCallSync(r,()=>this.baseFs.readdirSync(...
method readlinkPromise (line 9) | async readlinkPromise(r){return await this.makeCallPromise(r,async()=>aw...
method readlinkSync (line 9) | readlinkSync(r){return this.makeCallSync(r,()=>this.baseFs.readlinkSync(...
method truncatePromise (line 9) | async truncatePromise(r,s){return await this.makeCallPromise(r,async()=>...
method truncateSync (line 9) | truncateSync(r,s){return this.makeCallSync(r,()=>this.baseFs.truncateSyn...
method ftruncatePromise (line 9) | async ftruncatePromise(r,s){if((r&tl)!==this.magic)return this.baseFs.ft...
method ftruncateSync (line 9) | ftruncateSync(r,s){if((r&tl)!==this.magic)return this.baseFs.ftruncateSy...
method watch (line 9) | watch(r,s,a){return this.makeCallSync(r,()=>this.baseFs.watch(r,s,a),(n,...
method watchFile (line 9) | watchFile(r,s,a){return this.makeCallSync(r,()=>this.baseFs.watchFile(r,...
method unwatchFile (line 9) | unwatchFile(r,s){return this.makeCallSync(r,()=>this.baseFs.unwatchFile(...
method makeCallPromise (line 9) | async makeCallPromise(r,s,a,{requireSubpath:n=!0}={}){if(typeof r!="stri...
method makeCallSync (line 9) | makeCallSync(r,s,a,{requireSubpath:n=!0}={}){if(typeof r!="string")retur...
method findMount (line 9) | findMount(r){if(this.filter&&!this.filter.test(r))return null;let s="";f...
method limitOpenFiles (line 9) | limitOpenFiles(r){if(this.mountInstances===null)return;let s=Date.now(),...
method getMountPromise (line 9) | async getMountPromise(r,s){if(this.mountInstances){let a=this.mountInsta...
method getMountSync (line 9) | getMountSync(r,s){if(this.mountInstances){let a=this.mountInstances.get(...
method constructor (line 9) | constructor(){super(J)}
method getExtractHint (line 9) | getExtractHint(){throw er()}
method getRealPath (line 9) | getRealPath(){throw er()}
method resolve (line 9) | resolve(){throw er()}
method openPromise (line 9) | async openPromise(){throw er()}
method openSync (line 9) | openSync(){throw er()}
method opendirPromise (line 9) | async opendirPromise(){throw er()}
method opendirSync (line 9) | opendirSync(){throw er()}
method readPromise (line 9) | async readPromise(){throw er()}
method readSync (line 9) | readSync(){throw er()}
method writePromise (line 9) | async writePromise(){throw er()}
method writeSync (line 9) | writeSync(){throw er()}
method closePromise (line 9) | async closePromise(){throw er()}
method closeSync (line 9) | closeSync(){throw er()}
method createWriteStream (line 9) | createWriteStream(){throw er()}
method createReadStream (line 9) | createReadStream(){throw er()}
method realpathPromise (line 9) | async realpathPromise(){throw er()}
method realpathSync (line 9) | realpathSync(){throw er()}
method readdirPromise (line 9) | async readdirPromise(){throw er()}
method readdirSync (line 9) | readdirSync(){throw er()}
method existsPromise (line 9) | async existsPromise(e){throw er()}
method existsSync (line 9) | existsSync(e){throw er()}
method accessPromise (line 9) | async accessPromise(){throw er()}
method accessSync (line 9) | accessSync(){throw er()}
method statPromise (line 9) | async statPromise(){throw er()}
method statSync (line 9) | statSync(){throw er()}
method fstatPromise (line 9) | async fstatPromise(e){throw er()}
method fstatSync (line 9) | fstatSync(e){throw er()}
method lstatPromise (line 9) | async lstatPromise(e){throw er()}
method lstatSync (line 9) | lstatSync(e){throw er()}
method fchmodPromise (line 9) | async fchmodPromise(){throw er()}
method fchmodSync (line 9) | fchmodSync(){throw er()}
method chmodPromise (line 9) | async chmodPromise(){throw er()}
method chmodSync (line 9) | chmodSync(){throw er()}
method fchownPromise (line 9) | async fchownPromise(){throw er()}
method fchownSync (line 9) | fchownSync(){throw er()}
method chownPromise (line 9) | async chownPromise(){throw er()}
method chownSync (line 9) | chownSync(){throw er()}
method mkdirPromise (line 9) | async mkdirPromise(){throw er()}
method mkdirSync (line 9) | mkdirSync(){throw er()}
method rmdirPromise (line 9) | async rmdirPromise(){throw er()}
method rmdirSync (line 9) | rmdirSync(){throw er()}
method rmPromise (line 9) | async rmPromise(){throw er()}
method rmSync (line 9) | rmSync(){throw er()}
method linkPromise (line 9) | async linkPromise(){throw er()}
method linkSync (line 9) | linkSync(){throw er()}
method symlinkPromise (line 9) | async symlinkPromise(){throw er()}
method symlinkSync (line 9) | symlinkSync(){throw er()}
method renamePromise (line 9) | async renamePromise(){throw er()}
method renameSync (line 9) | renameSync(){throw er()}
method copyFilePromise (line 9) | async copyFilePromise(){throw er()}
method copyFileSync (line 9) | copyFileSync(){throw er()}
method appendFilePromise (line 9) | async appendFilePromise(){throw er()}
method appendFileSync (line 9) | appendFileSync(){throw er()}
method writeFilePromise (line 9) | async writeFilePromise(){throw er()}
method writeFileSync (line 9) | writeFileSync(){throw er()}
method unlinkPromise (line 9) | async unlinkPromise(){throw er()}
method unlinkSync (line 9) | unlinkSync(){throw er()}
method utimesPromise (line 9) | async utimesPromise(){throw er()}
method utimesSync (line 9) | utimesSync(){throw er()}
method lutimesPromise (line 9) | async lutimesPromise(){throw er()}
method lutimesSync (line 9) | lutimesSync(){throw er()}
method readFilePromise (line 9) | async readFilePromise(){throw er()}
method readFileSync (line 9) | readFileSync(){throw er()}
method readlinkPromise (line 9) | async readlinkPromise(){throw er()}
method readlinkSync (line 9) | readlinkSync(){throw er()}
method truncatePromise (line 9) | async truncatePromise(){throw er()}
method truncateSync (line 9) | truncateSync(){throw er()}
method ftruncatePromise (line 9) | async ftruncatePromise(e,r){throw er()}
method ftruncateSync (line 9) | ftruncateSync(e,r){throw er()}
method watch (line 9) | watch(){throw er()}
method watchFile (line 9) | watchFile(){throw er()}
method unwatchFile (line 9) | unwatchFile(){throw er()}
method constructor (line 9) | constructor(e){super(fe),this.baseFs=e}
method mapFromBase (line 9) | mapFromBase(e){return fe.fromPortablePath(e)}
method mapToBase (line 9) | mapToBase(e){return fe.toPortablePath(e)}
method makeVirtualPath (line 9) | static makeVirtualPath(e,r,s){if(J.basename(e)!=="__virtual__")throw new...
method resolveVirtual (line 9) | static resolveVirtual(e){let r=e.match(PU);if(!r||!r[3]&&r[5])return e;l...
method constructor (line 9) | constructor({baseFs:e=new Yn}={}){super(J),this.baseFs=e}
method getExtractHint (line 9) | getExtractHint(e){return this.baseFs.getExtractHint(e)}
method getRealPath (line 9) | getRealPath(){return this.baseFs.getRealPath()}
method realpathSync (line 9) | realpathSync(e){let r=e.match(PU);if(!r)return this.baseFs.realpathSync(...
method realpathPromise (line 9) | async realpathPromise(e){let r=e.match(PU);if(!r)return await this.baseF...
method mapToBase (line 9) | mapToBase(e){if(e==="")return e;if(this.pathUtils.isAbsolute(e))return t...
method mapFromBase (line 9) | mapFromBase(e){return e}
function l5e (line 9) | function l5e(t,e){return typeof xU.default.isUtf8<"u"?xU.default.isUtf8(...
method constructor (line 9) | constructor(e){super(fe),this.baseFs=e}
method mapFromBase (line 9) | mapFromBase(e){return e}
method mapToBase (line 9) | mapToBase(e){if(typeof e=="string")return e;if(e instanceof URL)return(0...
method constructor (line 9) | constructor(e,r){this[C$]=1;this[I$]=void 0;this[E$]=void 0;this[y$]=voi...
method fd (line 9) | get fd(){return this[Ep]}
method appendFile (line 9) | async appendFile(e,r){try{this[Ru](this.appendFile);let s=(typeof r=="st...
method chown (line 9) | async chown(e,r){try{return this[Ru](this.chown),await this[Uo].fchownPr...
method chmod (line 9) | async chmod(e){try{return this[Ru](this.chmod),await this[Uo].fchmodProm...
method createReadStream (line 9) | createReadStream(e){return this[Uo].createReadStream(null,{...e,fd:this....
method createWriteStream (line 9) | createWriteStream(e){return this[Uo].createWriteStream(null,{...e,fd:thi...
method datasync (line 9) | datasync(){throw new Error("Method not implemented.")}
method sync (line 9) | sync(){throw new Error("Method not implemented.")}
method read (line 9) | async read(e,r,s,a){try{this[Ru](this.read);let n,c;return ArrayBuffer.i...
method readFile (line 9) | async readFile(e){try{this[Ru](this.readFile);let r=(typeof e=="string"?...
method readLines (line 9) | readLines(e){return(0,w$.createInterface)({input:this.createReadStream(e...
method stat (line 9) | async stat(e){try{return this[Ru](this.stat),await this[Uo].fstatPromise...
method truncate (line 9) | async truncate(e){try{return this[Ru](this.truncate),await this[Uo].ftru...
method utimes (line 9) | utimes(e,r){throw new Error("Method not implemented.")}
method writeFile (line 9) | async writeFile(e,r){try{this[Ru](this.writeFile);let s=(typeof r=="stri...
method write (line 9) | async write(...e){try{if(this[Ru](this.write),ArrayBuffer.isView(e[0])){...
method writev (line 9) | async writev(e,r){try{this[Ru](this.writev);let s=0;if(typeof r<"u")for(...
method readv (line 9) | readv(e,r){throw new Error("Method not implemented.")}
method close (line 9) | close(){if(this[Ep]===-1)return Promise.resolve();if(this[r0])return thi...
method [(Uo,Ep,C$=aE,I$=r0,E$=sx,y$=ox,Ru)] (line 9) | [(Uo,Ep,C$=aE,I$=r0,E$=sx,y$=ox,Ru)](e){if(this[Ep]===-1){let r=new Erro...
method [Fu] (line 9) | [Fu](){if(this[aE]--,this[aE]===0){let e=this[Ep];this[Ep]=-1,this[Uo].c...
function U2 (line 9) | function U2(t,e){e=new ix(e);let r=(s,a,n)=>{let c=s[a];s[a]=n,typeof c?...
function ax (line 9) | function ax(t,e){let r=Object.create(t);return U2(r,e),r}
function D$ (line 9) | function D$(t){let e=Math.ceil(Math.random()*4294967296).toString(16).pa...
function b$ (line 9) | function b$(){if(kU)return kU;let t=fe.toPortablePath(P$.default.tmpdir(...
method detachTemp (line 9) | detachTemp(t){Nu.delete(t)}
method mktempSync (line 9) | mktempSync(t){let{tmpdir:e,realTmpdir:r}=b$();for(;;){let s=D$("xfs-");t...
method mktempPromise (line 9) | async mktempPromise(t){let{tmpdir:e,realTmpdir:r}=b$();for(;;){let s=D$(...
method rmtempPromise (line 9) | async rmtempPromise(){await Promise.all(Array.from(Nu.values()).map(asyn...
method rmtempSync (line 9) | rmtempSync(){for(let t of Nu)try{ce.removeSync(t),Nu.delete(t)}catch{}}
function u5e (line 9) | function u5e(t,e){var r=e.pathExt!==void 0?e.pathExt:process.env.PATHEXT...
function Q$ (line 9) | function Q$(t,e,r){return!t.isSymbolicLink()&&!t.isFile()?!1:u5e(e,r)}
function T$ (line 9) | function T$(t,e,r){k$.stat(t,function(s,a){r(s,s?!1:Q$(a,t,e))})}
function f5e (line 9) | function f5e(t,e){return Q$(k$.statSync(t),t,e)}
function O$ (line 9) | function O$(t,e,r){N$.stat(t,function(s,a){r(s,s?!1:L$(a,e))})}
function A5e (line 9) | function A5e(t,e){return L$(N$.statSync(t),e)}
function L$ (line 9) | function L$(t,e){return t.isFile()&&p5e(t,e)}
function p5e (line 9) | function p5e(t,e){var r=t.mode,s=t.uid,a=t.gid,n=e.uid!==void 0?e.uid:pr...
function QU (line 9) | function QU(t,e,r){if(typeof e=="function"&&(r=e,e={}),!r){if(typeof Pro...
function h5e (line 9) | function h5e(t,e){try{return lx.sync(t,e||{})}catch(r){if(e&&e.ignoreErr...
function Z$ (line 9) | function Z$(t,e){let r=t.options.env||process.env,s=process.cwd(),a=t.op...
function E5e (line 9) | function E5e(t){return Z$(t)||Z$(t,!0)}
function I5e (line 9) | function I5e(t){return t=t.replace(RU,"^$1"),t}
function C5e (line 9) | function C5e(t,e){return t=`${t}`,t=t.replace(/(?=(\\+?)?)\1"/g,'$1$1\\"...
function v5e (line 9) | function v5e(t){let r=Buffer.alloc(150),s;try{s=NU.openSync(t,"r"),NU.re...
function k5e (line 9) | function k5e(t){t.file=lee(t);let e=t.file&&D5e(t.file);return e?(t.args...
function Q5e (line 9) | function Q5e(t){if(!b5e)return t;let e=k5e(t),r=!P5e.test(e);if(t.option...
function T5e (line 9) | function T5e(t,e,r){e&&!Array.isArray(e)&&(r=e,e=null),e=e?e.slice(0):[]...
function LU (line 9) | function LU(t,e){return Object.assign(new Error(`${e} ${t.command} ENOEN...
function R5e (line 9) | function R5e(t,e){if(!OU)return;let r=t.emit;t.emit=function(s,a){if(s==...
function Aee (line 9) | function Aee(t,e){return OU&&t===1&&!e.file?LU(e.original,"spawn"):null}
function F5e (line 9) | function F5e(t,e){return OU&&t===1&&!e.file?LU(e.original,"spawnSync"):n...
function dee (line 9) | function dee(t,e,r){let s=MU(t,e,r),a=gee.spawn(s.command,s.args,s.optio...
function N5e (line 9) | function N5e(t,e,r){let s=MU(t,e,r),a=gee.spawnSync(s.command,s.args,s.o...
function O5e (line 9) | function O5e(t,e){function r(){this.constructor=t}r.prototype=e.prototyp...
function Bd (line 9) | function Bd(t,e,r,s){this.message=t,this.expected=e,this.found=r,this.lo...
function s (line 9) | function s(h){return h.charCodeAt(0).toString(16).toUpperCase()}
function a (line 9) | function a(h){return h.replace(/\\/g,"\\\\").replace(/"/g,'\\"').replace...
function n (line 9) | function n(h){return h.replace(/\\/g,"\\\\").replace(/\]/g,"\\]").replac...
function c (line 9) | function c(h){return r[h.type](h)}
function f (line 9) | function f(h){var E=new Array(h.length),C,S;for(C=0;C<h.length;C++)E[C]=...
function p (line 9) | function p(h){return h?'"'+a(h)+'"':"end of input"}
function L5e (line 9) | function L5e(t,e){e=e!==void 0?e:{};var r={},s={Start:Wa},a=Wa,n=functio...
function ux (line 12) | function ux(t,e={isGlobPattern:()=>!1}){try{return(0,Eee.parse)(t,e)}cat...
function fE (line 12) | function fE(t,{endSemicolon:e=!1}={}){return t.map(({command:r,type:s},a...
function fx (line 12) | function fx(t){return`${AE(t.chain)}${t.then?` ${HU(t.then)}`:""}`}
function HU (line 12) | function HU(t){return`${t.type} ${fx(t.line)}`}
function AE (line 12) | function AE(t){return`${GU(t)}${t.then?` ${jU(t.then)}`:""}`}
function jU (line 12) | function jU(t){return`${t.type} ${AE(t.chain)}`}
function GU (line 12) | function GU(t){switch(t.type){case"command":return`${t.envs.length>0?`${...
function cx (line 12) | function cx(t){return`${t.name}=${t.args[0]?vd(t.args[0]):""}`}
function qU (line 12) | function qU(t){switch(t.type){case"redirection":return H2(t);case"argume...
function H2 (line 12) | function H2(t){return`${t.subtype} ${t.args.map(e=>vd(e)).join(" ")}`}
function vd (line 12) | function vd(t){return t.segments.map(e=>WU(e)).join("")}
function WU (line 12) | function WU(t){let e=(s,a)=>a?`"${s}"`:s,r=s=>s===""?"''":s.match(/[()}<...
function Ax (line 12) | function Ax(t){let e=a=>{switch(a){case"addition":return"+";case"subtrac...
function _5e (line 13) | function _5e(t,e){function r(){this.constructor=t}r.prototype=e.prototyp...
function Sd (line 13) | function Sd(t,e,r,s){this.message=t,this.expected=e,this.found=r,this.lo...
function s (line 13) | function s(h){return h.charCodeAt(0).toString(16).toUpperCase()}
function a (line 13) | function a(h){return h.replace(/\\/g,"\\\\").replace(/"/g,'\\"').replace...
function n (line 13) | function n(h){return h.replace(/\\/g,"\\\\").replace(/\]/g,"\\]").replac...
function c (line 13) | function c(h){return r[h.type](h)}
function f (line 13) | function f(h){var E=new Array(h.length),C,S;for(C=0;C<h.length;C++)E[C]=...
function p (line 13) | function p(h){return h?'"'+a(h)+'"':"end of input"}
function H5e (line 13) | function H5e(t,e){e=e!==void 0?e:{};var r={},s={resolution:Ne},a=Ne,n="/...
function px (line 13) | function px(t){let e=t.match(/^\*{1,2}\/(.*)/);if(e)throw new Error(`The...
function hx (line 13) | function hx(t){let e="";return t.from&&(e+=t.from.fullName,t.from.descri...
function bee (line 13) | function bee(t){return typeof t>"u"||t===null}
function j5e (line 13) | function j5e(t){return typeof t=="object"&&t!==null}
function G5e (line 13) | function G5e(t){return Array.isArray(t)?t:bee(t)?[]:[t]}
function q5e (line 13) | function q5e(t,e){var r,s,a,n;if(e)for(n=Object.keys(e),r=0,s=n.length;r...
function W5e (line 13) | function W5e(t,e){var r="",s;for(s=0;s<e;s+=1)r+=t;return r}
function Y5e (line 13) | function Y5e(t){return t===0&&Number.NEGATIVE_INFINITY===1/t}
function j2 (line 13) | function j2(t,e){Error.call(this),this.name="YAMLException",this.reason=...
function YU (line 13) | function YU(t,e,r,s,a){this.name=t,this.buffer=e,this.position=r,this.li...
function K5e (line 17) | function K5e(t){var e={};return t!==null&&Object.keys(t).forEach(functio...
function z5e (line 17) | function z5e(t,e){if(e=e||{},Object.keys(e).forEach(function(r){if(V5e.i...
function VU (line 17) | function VU(t,e,r){var s=[];return t.include.forEach(function(a){r=VU(a,...
function Z5e (line 17) | function Z5e(){var t={scalar:{},sequence:{},mapping:{},fallback:{}},e,r;...
function hE (line 17) | function hE(t){this.include=t.include||[],this.implicit=t.implicit||[],t...
function iqe (line 17) | function iqe(t){if(t===null)return!0;var e=t.length;return e===1&&t==="~...
function sqe (line 17) | function sqe(){return null}
function oqe (line 17) | function oqe(t){return t===null}
function lqe (line 17) | function lqe(t){if(t===null)return!1;var e=t.length;return e===4&&(t==="...
function cqe (line 17) | function cqe(t){return t==="true"||t==="True"||t==="TRUE"}
function uqe (line 17) | function uqe(t){return Object.prototype.toString.call(t)==="[object Bool...
function pqe (line 17) | function pqe(t){return 48<=t&&t<=57||65<=t&&t<=70||97<=t&&t<=102}
function hqe (line 17) | function hqe(t){return 48<=t&&t<=55}
function gqe (line 17) | function gqe(t){return 48<=t&&t<=57}
function dqe (line 17) | function dqe(t){if(t===null)return!1;var e=t.length,r=0,s=!1,a;if(!e)ret...
function mqe (line 17) | function mqe(t){var e=t,r=1,s,a,n=[];return e.indexOf("_")!==-1&&(e=e.re...
function yqe (line 17) | function yqe(t){return Object.prototype.toString.call(t)==="[object Numb...
function Cqe (line 17) | function Cqe(t){return!(t===null||!Iqe.test(t)||t[t.length-1]==="_")}
function wqe (line 17) | function wqe(t){var e,r,s,a;return e=t.replace(/_/g,"").toLowerCase(),r=...
function vqe (line 17) | function vqe(t,e){var r;if(isNaN(t))switch(e){case"lowercase":return".na...
function Sqe (line 17) | function Sqe(t){return Object.prototype.toString.call(t)==="[object Numb...
function xqe (line 17) | function xqe(t){return t===null?!1:ete.exec(t)!==null||tte.exec(t)!==null}
function kqe (line 17) | function kqe(t){var e,r,s,a,n,c,f,p=0,h=null,E,C,S;if(e=ete.exec(t),e===...
function Qqe (line 17) | function Qqe(t){return t.toISOString()}
function Rqe (line 17) | function Rqe(t){return t==="<<"||t===null}
function Nqe (line 18) | function Nqe(t){if(t===null)return!1;var e,r,s=0,a=t.length,n=zU;for(r=0...
function Oqe (line 18) | function Oqe(t){var e,r,s=t.replace(/[\r\n=]/g,""),a=s.length,n=zU,c=0,f...
function Lqe (line 18) | function Lqe(t){var e="",r=0,s,a,n=t.length,c=zU;for(s=0;s<n;s++)s%3===0...
function Mqe (line 18) | function Mqe(t){return xd&&xd.isBuffer(t)}
function jqe (line 18) | function jqe(t){if(t===null)return!0;var e=[],r,s,a,n,c,f=t;for(r=0,s=f....
function Gqe (line 18) | function Gqe(t){return t!==null?t:[]}
function Yqe (line 18) | function Yqe(t){if(t===null)return!0;var e,r,s,a,n,c=t;for(n=new Array(c...
function Vqe (line 18) | function Vqe(t){if(t===null)return[];var e,r,s,a,n,c=t;for(n=new Array(c...
function zqe (line 18) | function zqe(t){if(t===null)return!0;var e,r=t;for(e in r)if(Kqe.call(r,...
function Xqe (line 18) | function Xqe(t){return t!==null?t:{}}
function e9e (line 18) | function e9e(){return!0}
function t9e (line 18) | function t9e(){}
function r9e (line 18) | function r9e(){return""}
function n9e (line 18) | function n9e(t){return typeof t>"u"}
function s9e (line 18) | function s9e(t){if(t===null||t.length===0)return!1;var e=t,r=/\/([gim]*)...
function o9e (line 18) | function o9e(t){var e=t,r=/\/([gim]*)$/.exec(t),s="";return e[0]==="/"&&...
function a9e (line 18) | function a9e(t){var e="/"+t.source+"/";return t.global&&(e+="g"),t.multi...
function l9e (line 18) | function l9e(t){return Object.prototype.toString.call(t)==="[object RegE...
function u9e (line 18) | function u9e(t){if(t===null)return!1;try{var e="("+t+")",r=mx.parse(e,{r...
function f9e (line 18) | function f9e(t){var e="("+t+")",r=mx.parse(e,{range:!0}),s=[],a;if(r.typ...
function A9e (line 18) | function A9e(t){return t.toString()}
function p9e (line 18) | function p9e(t){return Object.prototype.toString.call(t)==="[object Func...
function Dte (line 18) | function Dte(t){return Object.prototype.toString.call(t)}
function jf (line 18) | function jf(t){return t===10||t===13}
function Qd (line 18) | function Qd(t){return t===9||t===32}
function rl (line 18) | function rl(t){return t===9||t===32||t===10||t===13}
function dE (line 18) | function dE(t){return t===44||t===91||t===93||t===123||t===125}
function I9e (line 18) | function I9e(t){var e;return 48<=t&&t<=57?t-48:(e=t|32,97<=e&&e<=102?e-9...
function C9e (line 18) | function C9e(t){return t===120?2:t===117?4:t===85?8:0}
function w9e (line 18) | function w9e(t){return 48<=t&&t<=57?t-48:-1}
function bte (line 18) | function bte(t){return t===48?"\0":t===97?"\x07":t===98?"\b":t===116||t=...
function B9e (line 19) | function B9e(t){return t<=65535?String.fromCharCode(t):String.fromCharCo...
function v9e (line 19) | function v9e(t,e){this.input=t,this.filename=e.filename||null,this.schem...
function Ute (line 19) | function Ute(t,e){return new Qte(e,new h9e(t.filename,t.input,t.position...
function Rr (line 19) | function Rr(t,e){throw Ute(t,e)}
function Ix (line 19) | function Ix(t,e){t.onWarning&&t.onWarning.call(null,Ute(t,e))}
function n0 (line 19) | function n0(t,e,r,s){var a,n,c,f;if(e<r){if(f=t.input.slice(e,r),s)for(a...
function xte (line 19) | function xte(t,e,r,s){var a,n,c,f;for(Ip.isObject(r)||Rr(t,"cannot merge...
function mE (line 19) | function mE(t,e,r,s,a,n,c,f){var p,h;if(Array.isArray(a))for(a=Array.pro...
function ZU (line 19) | function ZU(t){var e;e=t.input.charCodeAt(t.position),e===10?t.position+...
function as (line 19) | function as(t,e,r){for(var s=0,a=t.input.charCodeAt(t.position);a!==0;){...
function Cx (line 19) | function Cx(t){var e=t.position,r;return r=t.input.charCodeAt(e),!!((r==...
function $U (line 19) | function $U(t,e){e===1?t.result+=" ":e>1&&(t.result+=Ip.repeat(`
function S9e (line 20) | function S9e(t,e,r){var s,a,n,c,f,p,h,E,C=t.kind,S=t.result,P;if(P=t.inp...
function D9e (line 20) | function D9e(t,e){var r,s,a;if(r=t.input.charCodeAt(t.position),r!==39)r...
function b9e (line 20) | function b9e(t,e){var r,s,a,n,c,f;if(f=t.input.charCodeAt(t.position),f!...
function P9e (line 20) | function P9e(t,e){var r=!0,s,a=t.tag,n,c=t.anchor,f,p,h,E,C,S={},P,I,R,N...
function x9e (line 20) | function x9e(t,e){var r,s,a=XU,n=!1,c=!1,f=e,p=0,h=!1,E,C;if(C=t.input.c...
function kte (line 26) | function kte(t,e){var r,s=t.tag,a=t.anchor,n=[],c,f=!1,p;for(t.anchor!==...
function k9e (line 26) | function k9e(t,e,r){var s,a,n,c,f=t.tag,p=t.anchor,h={},E={},C=null,S=nu...
function Q9e (line 26) | function Q9e(t){var e,r=!1,s=!1,a,n,c;if(c=t.input.charCodeAt(t.position...
function T9e (line 26) | function T9e(t){var e,r;if(r=t.input.charCodeAt(t.position),r!==38)retur...
function R9e (line 26) | function R9e(t){var e,r,s;if(s=t.input.charCodeAt(t.position),s!==42)ret...
function yE (line 26) | function yE(t,e,r,s,a){var n,c,f,p=1,h=!1,E=!1,C,S,P,I,R;if(t.listener!=...
function F9e (line 26) | function F9e(t){var e=t.position,r,s,a,n=!1,c;for(t.version=null,t.check...
function _te (line 26) | function _te(t,e){t=String(t),e=e||{},t.length!==0&&(t.charCodeAt(t.leng...
function Hte (line 27) | function Hte(t,e,r){e!==null&&typeof e=="object"&&typeof r>"u"&&(r=e,e=n...
function jte (line 27) | function jte(t,e){var r=_te(t,e);if(r.length!==0){if(r.length===1)return...
function N9e (line 27) | function N9e(t,e,r){return typeof e=="object"&&e!==null&&typeof r>"u"&&(...
function O9e (line 27) | function O9e(t,e){return jte(t,Ip.extend({schema:Tte},e))}
function rWe (line 27) | function rWe(t,e){var r,s,a,n,c,f,p;if(e===null)return{};for(r={},s=Obje...
function qte (line 27) | function qte(t){var e,r,s;if(e=t.toString(16).toUpperCase(),t<=255)r="x"...
function nWe (line 27) | function nWe(t){this.schema=t.schema||L9e,this.indent=Math.max(1,t.inden...
function Wte (line 27) | function Wte(t,e){for(var r=Y2.repeat(" ",e),s=0,a=-1,n="",c,f=t.length;...
function e_ (line 29) | function e_(t,e){return`
function iWe (line 30) | function iWe(t,e){var r,s,a;for(r=0,s=t.implicitTypes.length;r<s;r+=1)if...
function r_ (line 30) | function r_(t){return t===H9e||t===U9e}
function EE (line 30) | function EE(t){return 32<=t&&t<=126||161<=t&&t<=55295&&t!==8232&&t!==823...
function sWe (line 30) | function sWe(t){return EE(t)&&!r_(t)&&t!==65279&&t!==_9e&&t!==W2}
function Yte (line 30) | function Yte(t,e){return EE(t)&&t!==65279&&t!==ere&&t!==rre&&t!==nre&&t!...
function oWe (line 30) | function oWe(t){return EE(t)&&t!==65279&&!r_(t)&&t!==J9e&&t!==X9e&&t!==t...
function ore (line 30) | function ore(t){var e=/^\n* /;return e.test(t)}
function aWe (line 30) | function aWe(t,e,r,s,a){var n,c,f,p=!1,h=!1,E=s!==-1,C=-1,S=oWe(t.charCo...
function lWe (line 30) | function lWe(t,e,r,s){t.dump=function(){if(e.length===0)return"''";if(!t...
function Vte (line 30) | function Vte(t,e){var r=ore(t)?String(e):"",s=t[t.length-1]===`
function Jte (line 34) | function Jte(t){return t[t.length-1]===`
function cWe (line 35) | function cWe(t,e){for(var r=/(\n+)([^\n]*)/g,s=function(){var h=t.indexOf(`
function Kte (line 38) | function Kte(t,e){if(t===""||t[0]===" ")return t;for(var r=/ [^ ]/g,s,a=...
function uWe (line 41) | function uWe(t){for(var e="",r,s,a,n=0;n<t.length;n++){if(r=t.charCodeAt...
function fWe (line 41) | function fWe(t,e,r){var s="",a=t.tag,n,c;for(n=0,c=r.length;n<c;n+=1)Td(...
function AWe (line 41) | function AWe(t,e,r,s){var a="",n=t.tag,c,f;for(c=0,f=r.length;c<f;c+=1)T...
function pWe (line 41) | function pWe(t,e,r){var s="",a=t.tag,n=Object.keys(r),c,f,p,h,E;for(c=0,...
function hWe (line 41) | function hWe(t,e,r,s){var a="",n=t.tag,c=Object.keys(r),f,p,h,E,C,S;if(t...
function zte (line 41) | function zte(t,e,r){var s,a,n,c,f,p;for(a=r?t.explicitTypes:t.implicitTy...
function Td (line 41) | function Td(t,e,r,s,a,n){t.tag=null,t.dump=r,zte(t,r,!1)||zte(t,r,!0);va...
function gWe (line 41) | function gWe(t,e){var r=[],s=[],a,n;for(t_(t,r,s),a=0,n=s.length;a<n;a+=...
function t_ (line 41) | function t_(t,e,r){var s,a,n;if(t!==null&&typeof t=="object")if(a=e.inde...
function fre (line 41) | function fre(t,e){e=e||{};var r=new nWe(e);return r.noRefs||gWe(t,r),Td(...
function dWe (line 42) | function dWe(t,e){return fre(t,Y2.extend({schema:M9e},e))}
function vx (line 42) | function vx(t){return function(){throw new Error("Function "+t+" is depr...
function yWe (line 42) | function yWe(t,e){function r(){this.constructor=t}r.prototype=e.prototyp...
function Rd (line 42) | function Rd(t,e,r,s){this.message=t,this.expected=e,this.found=r,this.lo...
function s (line 42) | function s(h){return h.charCodeAt(0).toString(16).toUpperCase()}
function a (line 42) | function a(h){return h.replace(/\\/g,"\\\\").replace(/"/g,'\\"').replace...
function n (line 42) | function n(h){return h.replace(/\\/g,"\\\\").replace(/\]/g,"\\]").replac...
function c (line 42) | function c(h){return r[h.type](h)}
function f (line 42) | function f(h){var E=new Array(h.length),C,S;for(C=0;C<h.length;C++)E[C]=...
function p (line 42) | function p(h){return h?'"'+a(h)+'"':"end of input"}
function EWe (line 42) | function EWe(t,e){e=e!==void 0?e:{};var r={},s={Start:lc},a=lc,n=functio...
function Ire (line 51) | function Ire(t){return t.match(IWe)?t:JSON.stringify(t)}
function wre (line 51) | function wre(t){return typeof t>"u"?!0:typeof t=="object"&&t!==null&&!Ar...
function i_ (line 51) | function i_(t,e,r){if(t===null)return`null
function nl (line 61) | function nl(t){try{let e=i_(t,0,!1);return e!==`
function CWe (line 62) | function CWe(t){return t.endsWith(`
function BWe (line 64) | function BWe(t){if(wWe.test(t))return CWe(t);let e=(0,Dx.safeLoad)(t,{sc...
function ls (line 64) | function ls(t){return BWe(t)}
method constructor (line 64) | constructor(e){this.data=e}
function bre (line 64) | function bre(t){return typeof t=="string"?!!Ds[t]:"env"in t?Ds[t.env]&&D...
method constructor (line 64) | constructor(e){super(e),this.clipanion={type:"usage"},this.name="UsageEr...
method constructor (line 64) | constructor(e,r){if(super(),this.input=e,this.candidates=r,this.clipanio...
method constructor (line 75) | constructor(e,r){super(),this.input=e,this.usages=r,this.clipanion={type...
function DWe (line 80) | function DWe(t){let e=t.split(`
function Ho (line 82) | function Ho(t,{format:e,paragraphs:r}){return t=t.replace(/\r\n?/g,`
function ya (line 90) | function ya(t){return{...t,[K2]:!0}}
function Gf (line 90) | function Gf(t,e){return typeof t>"u"?[t,e]:typeof t=="object"&&t!==null&...
function Qx (line 90) | function Qx(t,{mergeName:e=!1}={}){let r=t.match(/^([^:]+): (.*)$/m);if(...
function z2 (line 90) | function z2(t,e){return e.length===1?new nt(`${t}${Qx(e[0],{mergeName:!0...
function Od (line 92) | function Od(t,e,r){if(typeof r>"u")return e;let s=[],a=[],n=f=>{let p=e;...
function ti (line 92) | function ti(t){return t===null?"null":t===void 0?"undefined":t===""?"an ...
function CE (line 92) | function CE(t,e){if(t.length===0)return"nothing";if(t.length===1)return ...
function s0 (line 92) | function s0(t,e){var r,s,a;return typeof e=="number"?`${(r=t?.p)!==null&...
function A_ (line 92) | function A_(t,e,r){return t===1?e:r}
function mr (line 92) | function mr({errors:t,p:e}={},r){return t?.push(`${e??"."}: ${r}`),!1}
function TWe (line 92) | function TWe(t,e){return r=>{t[e]=r}}
function Wf (line 92) | function Wf(t,e){return r=>{let s=t[e];return t[e]=r,Wf(t,e).bind(null,s)}}
function X2 (line 92) | function X2(t,e,r){let s=()=>(t(r()),a),a=()=>(t(e),s);return s}
function p_ (line 92) | function p_(){return Wr({test:(t,e)=>!0})}
function Rre (line 92) | function Rre(t){return Wr({test:(e,r)=>e!==t?mr(r,`Expected ${ti(t)} (go...
function wE (line 92) | function wE(){return Wr({test:(t,e)=>typeof t!="string"?mr(e,`Expected a...
function fo (line 92) | function fo(t){let e=Array.isArray(t)?t:Object.values(t),r=e.every(a=>ty...
function FWe (line 92) | function FWe(){return Wr({test:(t,e)=>{var r;if(typeof t!="boolean"){if(...
function h_ (line 92) | function h_(){return Wr({test:(t,e)=>{var r;if(typeof t!="number"){if(ty...
function NWe (line 92) | function NWe(t){return Wr({test:(e,r)=>{var s;if(typeof r?.coercions>"u"...
function OWe (line 92) | function OWe(){return Wr({test:(t,e)=>{var r;if(!(t instanceof Date)){if...
function Tx (line 92) | function Tx(t,{delimiter:e}={}){return Wr({test:(r,s)=>{var a;let n=r;if...
function LWe (line 92) | function LWe(t,{delimiter:e}={}){let r=Tx(t,{delimiter:e});return Wr({te...
function MWe (line 92) | function MWe(t,e){let r=Tx(Rx([t,e])),s=Fx(e,{keys:t});return Wr({test:(...
function Rx (line 92) | function Rx(t,{delimiter:e}={}){let r=Ore(t.length);return Wr({test:(s,a...
function Fx (line 92) | function Fx(t,{keys:e=null}={}){let r=Tx(Rx([e??wE(),t]));return Wr({tes...
function UWe (line 92) | function UWe(t,e={}){return Fx(t,e)}
function Fre (line 92) | function Fre(t,{extra:e=null}={}){let r=Object.keys(t),s=Wr({test:(a,n)=...
function _We (line 92) | function _We(t){return Fre(t,{extra:Fx(p_())})}
function Nre (line 92) | function Nre(t){return()=>t}
function Wr (line 92) | function Wr({test:t}){return Nre(t)()}
function jWe (line 92) | function jWe(t,e){if(!e(t))throw new o0}
function GWe (line 92) | function GWe(t,e){let r=[];if(!e(t,{errors:r}))throw new o0({errors:r})}
function qWe (line 92) | function qWe(t,e){}
function WWe (line 92) | function WWe(t,e,{coerce:r=!1,errors:s,throw:a}={}){let n=s?[]:void 0;if...
function YWe (line 92) | function YWe(t,e){let r=Rx(t);return(...s)=>{if(!r(s))throw new o0;retur...
function VWe (line 92) | function VWe(t){return Wr({test:(e,r)=>e.length>=t?!0:mr(r,`Expected to ...
function JWe (line 92) | function JWe(t){return Wr({test:(e,r)=>e.length<=t?!0:mr(r,`Expected to ...
function Ore (line 92) | function Ore(t){return Wr({test:(e,r)=>e.length!==t?mr(r,`Expected to ha...
function KWe (line 92) | function KWe({map:t}={}){return Wr({test:(e,r)=>{let s=new Set,a=new Set...
function zWe (line 92) | function zWe(){return Wr({test:(t,e)=>t<=0?!0:mr(e,`Expected to be negat...
function XWe (line 92) | function XWe(){return Wr({test:(t,e)=>t>=0?!0:mr(e,`Expected to be posit...
function d_ (line 92) | function d_(t){return Wr({test:(e,r)=>e>=t?!0:mr(r,`Expected to be at le...
function ZWe (line 92) | function ZWe(t){return Wr({test:(e,r)=>e<=t?!0:mr(r,`Expected to be at m...
function $We (line 92) | function $We(t,e){return Wr({test:(r,s)=>r>=t&&r<=e?!0:mr(s,`Expected to...
function eYe (line 92) | function eYe(t,e){return Wr({test:(r,s)=>r>=t&&r<e?!0:mr(s,`Expected to ...
function m_ (line 92) | function m_({unsafe:t=!1}={}){return Wr({test:(e,r)=>e!==Math.round(e)?m...
function Z2 (line 92) | function Z2(t){return Wr({test:(e,r)=>t.test(e)?!0:mr(r,`Expected to mat...
function tYe (line 92) | function tYe(){return Wr({test:(t,e)=>t!==t.toLowerCase()?mr(e,`Expected...
function rYe (line 92) | function rYe(){return Wr({test:(t,e)=>t!==t.toUpperCase()?mr(e,`Expected...
function nYe (line 92) | function nYe(){return Wr({test:(t,e)=>QWe.test(t)?!0:mr(e,`Expected to b...
function iYe (line 92) | function iYe(){return Wr({test:(t,e)=>Tre.test(t)?!0:mr(e,`Expected to b...
function sYe (line 92) | function sYe({alpha:t=!1}){return Wr({test:(e,r)=>(t?PWe.test(e):xWe.tes...
function oYe (line 92) | function oYe(){return Wr({test:(t,e)=>kWe.test(t)?!0:mr(e,`Expected to b...
function aYe (line 92) | function aYe(t=p_()){return Wr({test:(e,r)=>{let s;try{s=JSON.parse(e)}c...
function Nx (line 92) | function Nx(t,...e){let r=Array.isArray(e[0])?e[0]:e;return Wr({test:(s,...
function $2 (line 92) | function $2(t,...e){let r=Array.isArray(e[0])?e[0]:e;return Nx(t,r)}
function lYe (line 92) | function lYe(t){return Wr({test:(e,r)=>typeof e>"u"?!0:t(e,r)})}
function cYe (line 92) | function cYe(t){return Wr({test:(e,r)=>e===null?!0:t(e,r)})}
function uYe (line 92) | function uYe(t,e){var r;let s=new Set(t),a=eB[(r=e?.missingIf)!==null&&r...
function y_ (line 92) | function y_(t,e){var r;let s=new Set(t),a=eB[(r=e?.missingIf)!==null&&r!...
function fYe (line 92) | function fYe(t,e){var r;let s=new Set(t),a=eB[(r=e?.missingIf)!==null&&r...
function AYe (line 92) | function AYe(t,e){var r;let s=new Set(t),a=eB[(r=e?.missingIf)!==null&&r...
function tB (line 92) | function tB(t,e,r,s){var a,n;let c=new Set((a=s?.ignore)!==null&&a!==voi...
method constructor (line 92) | constructor({errors:e}={}){let r="Type mismatch";if(e&&e.length>0){r+=`
method constructor (line 94) | constructor(){this.help=!1}
method Usage (line 94) | static Usage(e){return e}
method catch (line 94) | async catch(e){throw e}
method validateAndExecute (line 94) | async validateAndExecute(){let r=this.constructor.schema;if(Array.isArra...
function il (line 94) | function il(t){l_&&console.log(t)}
function Mre (line 94) | function Mre(){let t={nodes:[]};for(let e=0;e<En.CustomNode;++e)t.nodes....
function hYe (line 94) | function hYe(t){let e=Mre(),r=[],s=e.nodes.length;for(let a of t){r.push...
function Ou (line 94) | function Ou(t,e){return t.nodes.push(e),t.nodes.length-1}
function gYe (line 94) | function gYe(t){let e=new Set,r=s=>{if(e.has(s))return;e.add(s);let a=t....
function dYe (line 94) | function dYe(t,{prefix:e=""}={}){if(l_){il(`${e}Nodes are:`);for(let r=0...
function mYe (line 94) | function mYe(t,e,r=!1){il(`Running a vm on ${JSON.stringify(e)}`);let s=...
function yYe (line 94) | function yYe(t,e,{endToken:r=ei.EndOfInput}={}){let s=mYe(t,[...e,r]);re...
function EYe (line 94) | function EYe(t){let e=0;for(let{state:r}of t)r.path.length>e&&(e=r.path....
function IYe (line 94) | function IYe(t,e){let r=e.filter(S=>S.selectedIndex!==null),s=r.filter(S...
function CYe (line 94) | function CYe(t){let e=[],r=[];for(let s of t)s.selectedIndex===Nd?r.push...
function Ure (line 94) | function Ure(t,e,...r){return e===void 0?Array.from(t):Ure(t.filter((s,a...
function _l (line 94) | function _l(){return{dynamics:[],shortcuts:[],statics:{}}}
function _re (line 94) | function _re(t){return t===En.SuccessNode||t===En.ErrorNode}
function E_ (line 94) | function E_(t,e=0){return{to:_re(t.to)?t.to:t.to>=En.CustomNode?t.to+e-E...
function wYe (line 94) | function wYe(t,e=0){let r=_l();for(let[s,a]of t.dynamics)r.dynamics.push...
function Hs (line 94) | function Hs(t,e,r,s,a){t.nodes[e].dynamics.push([r,{to:s,reducer:a}])}
function BE (line 94) | function BE(t,e,r,s){t.nodes[e].shortcuts.push({to:r,reducer:s})}
function Ia (line 94) | function Ia(t,e,r,s,a){(Object.prototype.hasOwnProperty.call(t.nodes[e]....
function Ox (line 94) | function Ox(t,e,r,s,a){if(Array.isArray(e)){let[n,...c]=e;return t[n](r,...
method constructor (line 94) | constructor(e,r){this.allOptionNames=new Map,this.arity={leading:[],trai...
method addPath (line 94) | addPath(e){this.paths.push(e)}
method setArity (line 94) | setArity({leading:e=this.arity.leading,trailing:r=this.arity.trailing,ex...
method addPositional (line 94) | addPositional({name:e="arg",required:r=!0}={}){if(!r&&this.arity.extra==...
method addRest (line 94) | addRest({name:e="arg",required:r=0}={}){if(this.arity.extra===Hl)throw n...
method addProxy (line 94) | addProxy({required:e=0}={}){this.addRest({required:e}),this.arity.proxy=!0}
method addOption (line 94) | addOption({names:e,description:r,arity:s=0,hidden:a=!1,required:n=!1,all...
method setContext (line 94) | setContext(e){this.context=e}
method usage (line 94) | usage({detailed:e=!0,inlineOptions:r=!0}={}){let s=[this.cliOpts.binaryN...
method compile (line 94) | compile(){if(typeof this.context>"u")throw new Error("Assertion failed: ...
method registerOptions (line 94) | registerOptions(e,r){Hs(e,r,["isOption","--"],r,"inhibateOptions"),Hs(e,...
method constructor (line 94) | constructor({binaryName:e="..."}={}){this.builders=[],this.opts={binaryN...
method build (line 94) | static build(e,r={}){return new t(r).commands(e).compile()}
method getBuilderByIndex (line 94) | getBuilderByIndex(e){if(!(e>=0&&e<this.builders.length))throw new Error(...
method commands (line 94) | commands(e){for(let r of e)r(this.command());return this}
method command (line 94) | command(){let e=new C_(this.builders.length,this.opts);return this.build...
method compile (line 94) | compile(){let e=[],r=[];for(let a of this.builders){let{machine:n,contex...
function jre (line 94) | function jre(){return Ux.default&&"getColorDepth"in Ux.default.WriteStre...
function Gre (line 94) | function Gre(t){let e=Hre;if(typeof e>"u"){if(t.stdout===process.stdout&...
method constructor (line 94) | constructor(e){super(),this.contexts=e,this.commands=[]}
method from (line 94) | static from(e,r){let s=new t(r);s.path=e.path;for(let a of e.options)swi...
method execute (line 94) | async execute(){let e=this.commands;if(typeof this.index<"u"&&this.index...
function Jre (line 98) | async function Jre(...t){let{resolvedOptions:e,resolvedCommandClasses:r,...
function Kre (line 98) | async function Kre(...t){let{resolvedOptions:e,resolvedCommandClasses:r,...
function zre (line 98) | function zre(t){let e,r,s,a;switch(typeof process<"u"&&typeof process.ar...
function Vre (line 98) | function Vre(t){return t()}
method constructor (line 98) | constructor({binaryLabel:e,binaryName:r="...",binaryVersion:s,enableCapt...
method from (line 98) | static from(e,r={}){let s=new t(r),a=Array.isArray(e)?e:[e];for(let n of...
method register (line 98) | register(e){var r;let s=new Map,a=new e;for(let p in a){let h=a[p];typeo...
method process (line 98) | process(e,r){let{input:s,context:a,partial:n}=typeof e=="object"&&Array....
method run (line 98) | async run(e,r){var s,a;let n,c={...t.defaultContext,...r},f=(s=this.enab...
method runExit (line 98) | async runExit(e,r){process.exitCode=await this.run(e,r)}
method definition (line 98) | definition(e,{colored:r=!1}={}){if(!e.usage)return null;let{usage:s}=thi...
method definitions (line 98) | definitions({colored:e=!1}={}){let r=[];for(let s of this.registrations....
method usage (line 98) | usage(e=null,{colored:r,detailed:s=!1,prefix:a="$ "}={}){var n;if(e===nu...
method error (line 124) | error(e,r){var s,{colored:a,command:n=(s=e[Yre])!==null&&s!==void 0?s:nu...
method format (line 127) | format(e){var r;return((r=e??this.enableColors)!==null&&r!==void 0?r:t.d...
method getUsageByRegistration (line 127) | getUsageByRegistration(e,r){let s=this.registrations.get(e);if(typeof s>...
method getUsageByIndex (line 127) | getUsageByIndex(e,r){return this.builder.getBuilderByIndex(e).usage(r)}
method execute (line 127) | async execute(){this.context.stdout.write(`${JSON.stringify(this.cli.def...
method execute (line 128) | async execute(){this.context.stdout.write(this.cli.usage())}
function Hx (line 128) | function Hx(t={}){return ya({definition(e,r){var s;e.addProxy({name:(s=t...
method constructor (line 128) | constructor(){super(...arguments),this.args=Hx()}
method execute (line 128) | async execute(){this.context.stdout.write(`${JSON.stringify(this.cli.pro...
method execute (line 129) | async execute(){var e;this.context.stdout.write(`${(e=this.cli.binaryVer...
function nne (line 130) | function nne(t,e,r){let[s,a]=Gf(e,r??{}),{arity:n=1}=a,c=t.split(","),f=...
function sne (line 130) | function sne(t,e,r){let[s,a]=Gf(e,r??{}),n=t.split(","),c=new Set(n);ret...
function ane (line 130) | function ane(t,e,r){let[s,a]=Gf(e,r??{}),n=t.split(","),c=new Set(n);ret...
function cne (line 130) | function cne(t={}){return ya({definition(e,r){var s;e.addRest({name:(s=t...
function vYe (line 130) | function vYe(t,e,r){let[s,a]=Gf(e,r??{}),{arity:n=1}=a,c=t.split(","),f=...
function SYe (line 130) | function SYe(t={}){let{required:e=!0}=t;return ya({definition(r,s){var a...
function fne (line 130) | function fne(t,...e){return typeof t=="string"?vYe(t,...e):SYe(t)}
function QYe (line 130) | function QYe(t){let e={},r=t.toString();r=r.replace(/\r\n?/mg,`
function TYe (line 132) | function TYe(t){let e=mne(t),r=js.configDotenv({path:e});if(!r.parsed)th...
function RYe (line 132) | function RYe(t){console.log(`[dotenv@${D_}][INFO] ${t}`)}
function FYe (line 132) | function FYe(t){console.log(`[dotenv@${D_}][WARN] ${t}`)}
function v_ (line 132) | function v_(t){console.log(`[dotenv@${D_}][DEBUG] ${t}`)}
function dne (line 132) | function dne(t){return t&&t.DOTENV_KEY&&t.DOTENV_KEY.length>0?t.DOTENV_K...
function NYe (line 132) | function NYe(t,e){let r;try{r=new URL(e)}catch(f){throw f.code==="ERR_IN...
function mne (line 132) | function mne(t){let e=S_.resolve(process.cwd(),".env");return t&&t.path&...
function OYe (line 132) | function OYe(t){return t[0]==="~"?S_.join(bYe.homedir(),t.slice(1)):t}
function LYe (line 132) | function LYe(t){RYe("Loading env from encrypted .env.vault");let e=js._p...
function MYe (line 132) | function MYe(t){let e=S_.resolve(process.cwd(),".env"),r="utf8",s=!!(t&&...
function UYe (line 132) | function UYe(t){let e=mne(t);return dne(t).length===0?js.configDotenv(t)...
function _Ye (line 132) | function _Ye(t,e){let r=Buffer.from(e.slice(-64),"hex"),s=Buffer.from(t,...
function HYe (line 132) | function HYe(t,e,r={}){let s=!!(r&&r.debug),a=!!(r&&r.override);if(typeo...
function Yf (line 132) | function Yf(t){return`YN${t.toString(10).padStart(4,"0")}`}
function jx (line 132) | function jx(t){let e=Number(t.slice(2));if(typeof Br[e]>"u")throw new Er...
method constructor (line 132) | constructor(e,r){if(r=aVe(r),e instanceof t){if(e.loose===!!r.loose&&e.i...
method format (line 132) | format(){return this.version=`${this.major}.${this.minor}.${this.patch}`...
method toString (line 132) | toString(){return this.version}
method compare (line 132) | compare(e){if(Wx("SemVer.compare",this.version,this.options,e),!(e insta...
method compareMain (line 132) | compareMain(e){return e instanceof t||(e=new t(e,this.options)),SE(this....
method comparePre (line 132) | comparePre(e){if(e instanceof t||(e=new t(e,this.options)),this.prerelea...
method compareBuild (line 132) | compareBuild(e){e instanceof t||(e=new t(e,this.options));let r=0;do{let...
method inc (line 132) | inc(e,r,s){switch(e){case"premajor":this.prerelease.length=0,this.patch=...
function Fn (line 132) | function Fn(t){var e=this;if(e instanceof Fn||(e=new Fn),e.tail=null,e.h...
function t7e (line 132) | function t7e(t,e,r){var s=e===t.head?new Ud(r,null,e,t):new Ud(r,e,e.nex...
function r7e (line 132) | function r7e(t,e){t.tail=new Ud(e,t.tail,null,t),t.head||(t.head=t.tail)...
function n7e (line 132) | function n7e(t,e){t.head=new Ud(e,null,t.head,t),t.tail||(t.tail=t.head)...
function Ud (line 132) | function Ud(t,e,r,s){if(!(this instanceof Ud))return new Ud(t,e,r,s);thi...
method constructor (line 132) | constructor(e){if(typeof e=="number"&&(e={max:e}),e||(e={}),e.max&&(type...
method max (line 132) | set max(e){if(typeof e!="number"||e<0)throw new TypeError("max must be a...
method max (line 132) | get max(){return this[_d]}
method allowStale (line 132) | set allowStale(e){this[fB]=!!e}
method allowStale (line 132) | get allowStale(){return this[fB]}
method maxAge (line 132) | set maxAge(e){if(typeof e!="number")throw new TypeError("maxAge must be ...
method maxAge (line 132) | get maxAge(){return this[Hd]}
method lengthCalculator (line 132) | set lengthCalculator(e){typeof e!="function"&&(e=N_),e!==this[DE]&&(this...
method lengthCalculator (line 132) | get lengthCalculator(){return this[DE]}
method length (line 132) | get length(){return this[Sp]}
method itemCount (line 132) | get itemCount(){return this[Gs].length}
method rforEach (line 132) | rforEach(e,r){r=r||this;for(let s=this[Gs].tail;s!==null;){let a=s.prev;...
method forEach (line 132) | forEach(e,r){r=r||this;for(let s=this[Gs].head;s!==null;){let a=s.next;v...
method keys (line 132) | keys(){return this[Gs].toArray().map(e=>e.key)}
method values (line 132) | values(){return this[Gs].toArray().map(e=>e.value)}
method reset (line 132) | reset(){this[vp]&&this[Gs]&&this[Gs].length&&this[Gs].forEach(e=>this[vp...
method dump (line 132) | dump(){return this[Gs].map(e=>ek(this,e)?!1:{k:e.key,v:e.value,e:e.now+(...
method dumpLru (line 132) | dumpLru(){return this[Gs]}
method set (line 132) | set(e,r,s){if(s=s||this[Hd],s&&typeof s!="number")throw new TypeError("m...
method has (line 132) | has(e){if(!this[Lu].has(e))return!1;let r=this[Lu].get(e).value;return!e...
method get (line 132) | get(e){return O_(this,e,!0)}
method peek (line 132) | peek(e){return O_(this,e,!1)}
method pop (line 132) | pop(){let e=this[Gs].tail;return e?(bE(this,e),e.value):null}
method del (line 132) | del(e){bE(this,this[Lu].get(e))}
method load (line 132) | load(e){this.reset();let r=Date.now();for(let s=e.length-1;s>=0;s--){let...
method prune (line 132) | prune(){this[Lu].forEach((e,r)=>O_(this,r,!1))}
method constructor (line 132) | constructor(e,r,s,a,n){this.key=e,this.value=r,this.length=s,this.now=a,...
method constructor (line 132) | constructor(e,r){if(r=o7e(r),e instanceof t)return e.loose===!!r.loose&&...
method format (line 132) | format(){return this.range=this.set.map(e=>e.join(" ").trim()).join("||"...
method toString (line 132) | toString(){return this.range}
method parseRange (line 132) | parseRange(e){let s=((this.options.includePrerelease&&f7e)|(this.options...
method intersects (line 132) | intersects(e,r){if(!(e instanceof t))throw new TypeError("a Range is req...
method test (line 132) | test(e){if(!e)return!1;if(typeof e=="string")try{e=new a7e(e,this.option...
method ANY (line 132) | static get ANY(){return pB}
method constructor (line 132) | constructor(e,r){if(r=Tie(r),e instanceof t){if(e.loose===!!r.loose)retu...
method parse (line 132) | parse(e){let r=this.options.loose?Rie[Fie.COMPARATORLOOSE]:Rie[Fie.COMPA...
method toString (line 132) | toString(){return this.value}
method test (line 132) | test(e){if(j_("Comparator.test",e,this.options.loose),this.semver===pB||...
method intersects (line 132) | intersects(e,r){if(!(e instanceof t))throw new TypeError("a Comparator i...
function _Je (line 132) | function _Je(t,e){function r(){this.constructor=t}r.prototype=e.prototyp...
function jd (line 132) | function jd(t,e,r,s){this.message=t,this.expected=e,this.found=r,this.lo...
function s (line 132) | function s(h){return h.charCodeAt(0).toString(16).toUpperCase()}
function a (line 132) | function a(h){return h.replace(/\\/g,"\\\\").replace(/"/g,'\\"').replace...
function n (line 132) | function n(h){return h.replace(/\\/g,"\\\\").replace(/\]/g,"\\]").replac...
function c (line 132) | function c(h){return r[h.type](h)}
function f (line 132) | function f(h){var E=new Array(h.length),C,S;for(C=0;C<h.length;C++)E[C]=...
function p (line 132) | function p(h){return h?'"'+a(h)+'"':"end of input"}
function HJe (line 132) | function HJe(t,e){e=e!==void 0?e:{};var r={},s={Expression:y},a=y,n="|",...
function GJe (line 134) | function GJe(t,e){return(t[0]-e[0])**2+(t[1]-e[1])**2+(t[2]-e[2])**2}
function qJe (line 134) | function qJe(){let t={},e=Object.keys(nk);for(let r=e.length,s=0;s<r;s++...
function WJe (line 134) | function WJe(t){let e=qJe(),r=[t];for(e[t].distance=0;r.length;){let s=r...
function YJe (line 134) | function YJe(t,e){return function(r){return e(t(r))}}
function VJe (line 134) | function VJe(t,e){let r=[e[t].parent,t],s=nk[e[t].parent][t],a=e[t].pare...
function zJe (line 134) | function zJe(t){let e=function(...r){let s=r[0];return s==null?s:(s.leng...
function XJe (line 134) | function XJe(t){let e=function(...r){let s=r[0];if(s==null)return s;s.le...
function ZJe (line 134) | function ZJe(){let t=new Map,e={modifier:{reset:[0,0],bold:[1,22],dim:[2...
function Z_ (line 134) | function Z_(t){return t===0?!1:{level:t,hasBasic:!0,has256:t>=2,has16m:t...
function $_ (line 134) | function $_(t,e){if(l0===0)return 0;if(Sc("color=16m")||Sc("color=full")...
function eKe (line 134) | function eKe(t){let e=$_(t,t&&t.isTTY);return Z_(e)}
function Gse (line 138) | function Gse(t){let e=t[0]==="u",r=t[1]==="{";return e&&!r&&t.length===5...
function aKe (line 138) | function aKe(t,e){let r=[],s=e.trim().split(/\s*,\s*/g),a;for(let n of s...
function lKe (line 138) | function lKe(t){Hse.lastIndex=0;let e=[],r;for(;(r=Hse.exec(t))!==null;)...
function jse (line 138) | function jse(t,e){let r={};for(let a of e)for(let n of a.styles)r[n[0]]=...
method constructor (line 138) | constructor(e){return Jse(e)}
function ak (line 138) | function ak(t){return Jse(t)}
method get (line 138) | get(){let r=lk(this,i4(e.open,e.close,this._styler),this._isEmpty);retur...
method get (line 138) | get(){let t=lk(this,this._styler,!0);return Object.defineProperty(this,"...
method get (line 138) | get(){let{level:e}=this;return function(...r){let s=i4(mB.color[Vse[e]][...
method get (line 138) | get(){let{level:r}=this;return function(...s){let a=i4(mB.bgColor[Vse[r]...
method get (line 138) | get(){return this._generator.level}
method set (line 138) | set(t){this._generator.level=t}
function pKe (line 139) | function pKe(t,e,r){let s=s4(t,e,"-",!1,r)||[],a=s4(e,t,"",!1,r)||[],n=s...
function hKe (line 139) | function hKe(t,e){let r=1,s=1,a=soe(t,r),n=new Set([e]);for(;t<=a&&a<=e;...
function gKe (line 139) | function gKe(t,e,r){if(t===e)return{pattern:t,count:[],digits:0};let s=d...
function noe (line 139) | function noe(t,e,r,s){let a=hKe(t,e),n=[],c=t,f;for(let p=0;p<a.length;p...
function s4 (line 139) | function s4(t,e,r,s,a){let n=[];for(let c of t){let{string:f}=c;!s&&!ioe...
function dKe (line 139) | function dKe(t,e){let r=[];for(let s=0;s<t.length;s++)r.push([t[s],e[s]]...
function mKe (line 139) | function mKe(t,e){return t>e?1:e>t?-1:0}
function ioe (line 139) | function ioe(t,e,r){return t.some(s=>s[e]===r)}
function soe (line 139) | function soe(t,e){return Number(String(t).slice(0,-e)+"9".repeat(e))}
function ooe (line 139) | function ooe(t,e){return t-t%Math.pow(10,e)}
function aoe (line 139) | function aoe(t){let[e=0,r=""]=t;return r||e>1?`{${e+(r?","+r:"")}}`:""}
function yKe (line 139) | function yKe(t,e,r){return`[${t}${e-t===1?"":"-"}${e}]`}
function loe (line 139) | function loe(t){return/^-?(0+)\d/.test(t)}
function EKe (line 139) | function EKe(t,e,r){if(!e.isPadded)return t;let s=Math.abs(e.maxLen-Stri...
method extglobChars (line 140) | extglobChars(t){return{"!":{type:"negate",open:"(?:(?!(?:",close:`))${t....
method globChars (line 140) | globChars(t){return t===!0?ize:Moe}
function lae (line 140) | function lae(t){return Number.isSafeInteger(t)&&t>=0}
function uae (line 140) | function uae(t){return t!=null&&typeof t!="function"&&lae(t.length)}
function bc (line 140) | function bc(t){return t==="__proto__"}
function NE (line 140) | function NE(t){switch(typeof t){case"number":case"symbol":return!1;case"...
function OE (line 140) | function OE(t){return typeof t=="string"||typeof t=="symbol"?t:Object.is...
function Mu (line 140) | function Mu(t){let e=[],r=t.length;if(r===0)return e;let s=0,a="",n="",c...
function va (line 140) | function va(t,e,r){if(t==null)return r;switch(typeof e){case"string":{if...
function Pze (line 140) | function Pze(t,e,r){if(e.length===0)return r;let s=t;for(let a=0;a<e.len...
function C4 (line 140) | function C4(t){return t!==null&&(typeof t=="object"||typeof t=="function")}
function ME (line 140) | function ME(t){return t==null||typeof t!="object"&&typeof t!="function"}
function Ck (line 140) | function Ck(t,e){return t===e||Number.isNaN(t)&&Number.isNaN(e)}
function Wd (line 140) | function Wd(t){return Object.getOwnPropertySymbols(t).filter(e=>Object.p...
function Yd (line 140) | function Yd(t){return t==null?t===void 0?"[object Undefined]":"[object N...
function GE (line 140) | function GE(t){return ArrayBuffer.isView(t)&&!(t instanceof DataView)}
function mae (line 140) | function mae(t,e){return u0(t,void 0,t,new Map,e)}
function u0 (line 140) | function u0(t,e,r,s=new Map,a=void 0){let n=a?.(t,e,r,s);if(n!=null)retu...
function c0 (line 140) | function c0(t,e,r=t,s,a){let n=[...Object.keys(e),...Wd(e)];for(let c=0;...
function xze (line 140) | function xze(t){switch(Yd(t)){case Vd:case xk:case kk:case Qk:case HE:ca...
function yae (line 140) | function yae(t){return u0(t,void 0,t,new Map,void 0)}
function Iae (line 140) | function Iae(t,e){return mae(t,(r,s,a,n)=>{let c=e?.(r,s,a,n);if(c!=null...
function f0 (line 140) | function f0(t){return Iae(t)}
function Gk (line 140) | function Gk(t,e=Number.MAX_SAFE_INTEGER){switch(typeof t){case"number":r...
function BB (line 140) | function BB(t){return t!==null&&typeof t=="object"&&Yd(t)==="[object Arg...
function vB (line 140) | function vB(t,e){let r;if(Array.isArray(e)?r=e:typeof e=="string"&&NE(e)...
function P4 (line 140) | function P4(t){return typeof t=="object"&&t!==null}
function Bae (line 140) | function Bae(t){return typeof t=="symbol"||t instanceof Symbol}
function Sae (line 140) | function Sae(t,e){return Array.isArray(t)?!1:typeof t=="number"||typeof ...
function A0 (line 140) | function A0(t,e){if(t==null)return!0;switch(typeof e){case"symbol":case"...
function bae (line 140) | function bae(t,e){let r=va(t,e.slice(0,-1),t),s=e[e.length-1];if(r?.[s]=...
function Pae (line 140) | function Pae(t){return t==null}
function Tae (line 140) | function Tae(t,e,r,s){if(t==null&&!C4(t))return t;let a=Sae(e,t)?[e]:Arr...
function Jd (line 140) | function Jd(t,e,r){return Tae(t,e,()=>r,()=>{})}
function Fae (line 140) | function Fae(t,e=0,r={}){typeof r!="object"&&(r={});let s=null,a=null,n=...
function Q4 (line 140) | function Q4(t,e=0,r={}){let{leading:s=!0,trailing:a=!0}=r;return Fae(t,e...
function T4 (line 140) | function T4(t){if(t==null)return"";if(typeof t=="string")return t;if(Arr...
function R4 (line 140) | function R4(t){if(!t||typeof t!="object")return!1;let e=Object.getProtot...
function Uae (line 140) | function Uae(t,e,r){return SB(t,e,void 0,void 0,void 0,void 0,r)}
function SB (line 140) | function SB(t,e,r,s,a,n,c){let f=c(t,e,r,s,a,n);if(f!==void 0)return f;i...
function DB (line 140) | function DB(t,e,r,s){if(Object.is(t,e))return!0;let a=Yd(t),n=Yd(e);if(a...
function Hae (line 140) | function Hae(){}
function F4 (line 140) | function F4(t,e){return Uae(t,e,Hae)}
function qae (line 140) | function qae(t){return GE(t)}
function Yae (line 140) | function Yae(t){if(typeof t!="object"||t==null)return!1;if(Object.getPro...
function Jae (line 140) | function Jae(t){if(ME(t))return t;if(Array.isArray(t)||GE(t)||t instance...
function N4 (line 140) | function N4(t,...e){let r=e.slice(0,-1),s=e[e.length-1],a=t;for(let n=0;...
function qk (line 140) | function qk(t,e,r,s){if(ME(t)&&(t=Object(t)),e==null||typeof e!="object"...
function O4 (line 140) | function O4(t,...e){if(t==null)return{};let r=yae(t);for(let s=0;s<e.len...
function Kd (line 140) | function Kd(t,...e){if(Pae(t))return{};let r={};for(let s=0;s<e.length;s...
function $ae (line 140) | function $ae(t){return t.charAt(0).toUpperCase()+t.slice(1).toLowerCase()}
function bB (line 140) | function bB(t){return $ae(T4(t))}
function Rze (line 140) | function Rze(t){return!!(sle.default.valid(t)&&t.match(/^[^-]+(-rc\.[0-9...
function Wk (line 140) | function Wk(t,{one:e,more:r,zero:s=r}){return t===0?s:t===1?e:r}
function Fze (line 140) | function Fze(t){return t.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}
function Nze (line 140) | function Nze(t){}
function G4 (line 140) | function G4(t){throw new Error(`Assertion failed: Unexpected object '${t...
function Oze (line 140) | function Oze(t,e){let r=Object.values(t);if(!r.includes(e))throw new nt(...
function Wl (line 140) | function Wl(t,e){let r=[];for(let s of t){let a=e(s);a!==ole&&r.push(a)}...
function p0 (line 140) | function p0(t,e){for(let r of t){let s=e(r);if(s!==ale)return s}}
function L4 (line 140) | function L4(t){return typeof t=="object"&&t!==null}
function Uu (line 140) | async function Uu(t){let e=await Promise.allSettled(t),r=[];for(let s of...
function Yk (line 140) | function Yk(t){if(t instanceof Map&&(t=Object.fromEntries(t)),L4(t))for(...
function Yl (line 140) | function Yl(t,e,r){let s=t.get(e);return typeof s>"u"&&t.set(e,s=r()),s}
function xB (line 140) | function xB(t,e){let r=t.get(e);return typeof r>"u"&&t.set(e,r=[]),r}
function bp (line 140) | function bp(t,e){let r=t.get(e);return typeof r>"u"&&t.set(e,r=new Set),r}
function q4 (line 140) | function q4(t,e){let r=t.get(e);return typeof r>"u"&&t.set(e,r=new Map),r}
function Lze (line 140) | async function Lze(t,e){if(e==null)return await t();try{return await t()...
function qE (line 140) | async function qE(t,e){try{return await t()}catch(r){throw r.message=e(r...
function W4 (line 140) | function W4(t,e){try{return t()}catch(r){throw r.message=e(r.message),r}}
function WE (line 140) | async function WE(t){return await new Promise((e,r)=>{let s=[];t.on("err...
function lle (line 140) | function lle(){let t,e;return{promise:new Promise((s,a)=>{t=s,e=a}),reso...
function cle (line 140) | function cle(t){return PB(fe.fromPortablePath(t))}
function ule (line 140) | function ule(path){let physicalPath=fe.fromPortablePath(path),currentCac...
function Mze (line 140) | function Mze(t){let e=rle.get(t),r=ce.statSync(t);if(e?.mtime===r.mtimeM...
function Pp (line 140) | function Pp(t,{cachingStrategy:e=2}={}){switch(e){case 0:return ule(t);c...
function qs (line 140) | function qs(t,e){let r=Array.from(t);Array.isArray(e)||(e=[e]);let s=[];...
function Uze (line 140) | function Uze(t){return t.length===0?null:t.map(e=>`(${nle.default.makeRe...
function Vk (line 140) | function Vk(t,{env:e}){let r=/\\?\${(?<variableName>[\d\w_]+)(?<colon>:)...
function kB (line 140) | function kB(t){switch(t){case"true":case"1":case 1:case!0:return!0;case"...
function Ale (line 140) | function Ale(t){return typeof t>"u"?t:kB(t)}
function Y4 (line 140) | function Y4(t){try{return Ale(t)}catch{return null}}
function _ze (line 140) | function _ze(t){return!!(fe.isAbsolute(t)||t.match(/^(\.{1,2}|~)\//))}
function ple (line 140) | function ple(t,...e){let r=c=>({value:c}),s=r(t),a=e.map(c=>r(c)),{value...
function Hze (line 140) | function Hze(...t){return ple({},...t)}
function jze (line 140) | function jze(t,e){let r=Object.create(null);for(let s of t){let a=s[e];r...
function YE (line 140) | function YE(t){return typeof t=="string"?Number.parseInt(t,10):t}
function Jk (line 140) | function Jk(t,e){let r=Gze.exec(t)?.groups;if(!r)throw new Error(`Couldn...
method constructor (line 140) | constructor(){super(...arguments);this.chunks=[]}
method _transform (line 140) | _transform(r,s,a){if(s!=="buffer"||!Buffer.isBuffer(r))throw new Error("...
method _flush (line 140) | _flush(r){r(null,Buffer.concat(this.chunks))}
method constructor (line 140) | constructor(e){this.deferred=new Map;this.promises=new Map;this.limit=(0...
method set (line 140) | set(e,r){let s=this.deferred.get(e);typeof s>"u"&&this.deferred.set(e,s=...
method reduce (line 140) | reduce(e,r){let s=this.promises.get(e)??Promise.resolve();this.set(e,()=...
method wait (line 140) | async wait(){await Promise.all(this.promises.values())}
method constructor (line 140) | constructor(r=Buffer.alloc(0)){super();this.active=!0;this.ifEmpty=r}
method _transform (line 140) | _transform(r,s,a){if(s!=="buffer"||!Buffer.isBuffer(r))throw new Error("...
method _flush (line 140) | _flush(r){this.active&&this.ifEmpty.length>0?r(null,this.ifEmpty):r(null)}
function gle (line 140) | function gle(t){let e=["KiB","MiB","GiB","TiB"],r=e.length;for(;r>1&&t<1...
function Kk (line 140) | function Kk(t,e){if(Array.isArray(e))return e.length===0?ri(t,"[]",ht.CO...
function _u (line 140) | function _u(t,e){return[e,t]}
function zd (line 140) | function zd(t,e,r){return t.get("enableColors")&&r&2&&(e=TB.default.bold...
function ri (line 140) | function ri(t,e,r){if(!t.get("enableColors"))return e;let s=qze.get(r);i...
function KE (line 140) | function KE(t,e,r){return t.get("enableHyperlinks")?Wze?`\x1B]8;;${r}\x1...
function Ht (line 140) | function Ht(t,e,r){if(e===null)return ri(t,"null",ht.NULL);if(Object.has...
function Z4 (line 140) | function Z4(t,e,r,{separator:s=", "}={}){return[...e].map(a=>Ht(t,a,r))....
function Xd (line 140) | function Xd(t,e){if(t===null)return null;if(Object.hasOwn(zk,e))return z...
function Yze (line 140) | function Yze(t,e,[r,s]){return t?Xd(r,s):Ht(e,r,s)}
function $4 (line 140) | function $4(t){return{Check:ri(t,"\u2713","green"),Cross:ri(t,"\u2718","...
function Kf (line 140) | function Kf(t,{label:e,value:[r,s]}){return`${Ht(t,e,ht.CODE)}: ${Ht(t,r...
function $k (line 140) | function $k(t,e,r){let s=[],a=[...e],n=r;for(;a.length>0;){let h=a[0],E=...
function RB (line 140) | function RB(t,{configuration:e}){let r=e.get("logFilters"),s=new Map,a=n...
function Vze (line 140) | function Vze(t){return t.reduce((e,r)=>[].concat(e,r),[])}
function Jze (line 140) | function Jze(t,e){let r=[[]],s=0;for(let a of t)e(a)?(s++,r[s]=[]):r[s]....
function Kze (line 140) | function Kze(t){return t.code==="ENOENT"}
method constructor (line 140) | constructor(e,r){this.name=e,this.isBlockDevice=r.isBlockDevice.bind(r),...
function zze (line 140) | function zze(t,e){return new r3(t,e)}
function iXe (line 140) | function iXe(t){return t.replace(/\\/g,"/")}
function sXe (line 140) | function sXe(t,e){return Zze.resolve(t,e)}
function oXe (line 140) | function oXe(t){if(t.charAt(0)==="."){let e=t.charAt(1);if(e==="/"||e===...
function n3 (line 140) | function n3(t){return t.replace(tXe,"\\$2")}
function i3 (line 140) | function i3(t){return t.replace(eXe,"\\$2")}
function Cle (line 140) | function Cle(t){return n3(t).replace(rXe,"//$1").replace(nXe,"/")}
function wle (line 140) | function wle(t){return i3(t)}
function Tle (line 140) | function Tle(t,e={}){return!Rle(t,e)}
function Rle (line 140) | function Rle(t,e={}){return t===""?!1:!!(e.caseSensitiveMatch===!1||t.in...
function DXe (line 140) | function DXe(t){let e=t.indexOf("{");if(e===-1)return!1;let r=t.indexOf(...
function bXe (line 140) | function bXe(t){return nQ(t)?t.slice(1):t}
function PXe (line 140) | function PXe(t){return"!"+t}
function nQ (line 140) | function nQ(t){return t.startsWith("!")&&t[1]!=="("}
function Fle (line 140) | function Fle(t){return!nQ(t)}
function xXe (line 140) | function xXe(t){return t.filter(nQ)}
function kXe (line 140) | function kXe(t){return t.filter(Fle)}
function QXe (line 140) | function QXe(t){return t.filter(e=>!a3(e))}
function TXe (line 140) | function TXe(t){return t.filter(a3)}
function a3 (line 140) | function a3(t){return t.startsWith("..")||t.startsWith("./..")}
function RXe (line 140) | function RXe(t){return yXe(t,{flipBackslashes:!1})}
function FXe (line 140) | function FXe(t){return t.includes(Qle)}
function Nle (line 140) | function Nle(t){return t.endsWith("/"+Qle)}
function NXe (line 140) | function NXe(t){let e=mXe.basename(t);return Nle(t)||Tle(e)}
function OXe (line 140) | function OXe(t){return t.reduce((e,r)=>e.concat(Ole(r)),[])}
function Ole (line 140) | function Ole(t){let e=o3.braces(t,{expand:!0,nodupes:!0,keepEscaping:!0}...
function LXe (line 140) | function LXe(t,e){let{parts:r}=o3.scan(t,Object.assign(Object.assign({},...
function Lle (line 140) | function Lle(t,e){return o3.makeRe(t,e)}
function MXe (line 140) | function MXe(t,e){return t.map(r=>Lle(r,e))}
function UXe (line 140) | function UXe(t,e){return e.some(r=>r.test(t))}
function _Xe (line 140) | function _Xe(t){return t.replace(SXe,"/")}
function GXe (line 140) | function GXe(){let t=[],e=jXe.call(arguments),r=!1,s=e[e.length-1];s&&!A...
function _le (line 140) | function _le(t,e){if(Array.isArray(t))for(let r=0,s=t.length;r<s;r++)t[r...
function WXe (line 140) | function WXe(t){let e=qXe(t);return t.forEach(r=>{r.once("error",s=>e.em...
function Gle (line 140) | function Gle(t){t.forEach(e=>e.emit("close"))}
function YXe (line 140) | function YXe(t){return typeof t=="string"}
function VXe (line 140) | function VXe(t){return t===""}
function tZe (line 140) | function tZe(t,e){let r=Yle(t,e),s=Yle(e.ignore,e),a=Vle(r),n=Jle(r,s),c...
function Yle (line 140) | function Yle(t,e){let r=t;return e.braceExpansion&&(r=Hu.pattern.expandP...
function l3 (line 140) | function l3(t,e,r){let s=[],a=Hu.pattern.getPatternsOutsideCurrentDirect...
function Vle (line 140) | function Vle(t){return Hu.pattern.getPositivePatterns(t)}
function Jle (line 140) | function Jle(t,e){return Hu.pattern.getNegativePatterns(t).concat(e).map...
function c3 (line 140) | function c3(t){let e={};return t.reduce((r,s)=>{let a=Hu.pattern.getBase...
function u3 (line 140) | function u3(t,e,r){return Object.keys(t).map(s=>f3(s,t[s],e,r))}
function f3 (line 140) | function f3(t,e,r,s){return{dynamic:s,positive:e,negative:r,base:t,patte...
function rZe (line 140) | function rZe(t,e,r){e.fs.lstat(t,(s,a)=>{if(s!==null){zle(r,s);return}if...
function zle (line 140) | function zle(t,e){t(e)}
function A3 (line 140) | function A3(t,e){t(null,e)}
function nZe (line 140) | function nZe(t,e){let r=e.fs.lstatSync(t);if(!r.isSymbolicLink()||!e.fol...
function iZe (line 140) | function iZe(t){return t===void 0?h0.FILE_SYSTEM_ADAPTER:Object.assign(O...
method constructor (line 140) | constructor(e={}){this._options=e,this.followSymbolicLink=this._getValue...
method _getValue (line 140) | _getValue(e,r){return e??r}
function aZe (line 140) | function aZe(t,e,r){if(typeof e=="function"){tce.read(t,d3(),e);return}t...
function lZe (line 140) | function lZe(t,e){let r=d3(e);return oZe.read(t,r)}
function d3 (line 140) | function d3(t={}){return t instanceof g3.default?t:new g3.default(t)}
function uZe (line 140) | function uZe(t,e){let r,s,a,n=!0;Array.isArray(t)?(r=[],s=t.length):(a=O...
method constructor (line 140) | constructor(e,r){this.name=e,this.isBlockDevice=r.isBlockDevice.bind(r),...
function gZe (line 140) | function gZe(t,e){return new y3(t,e)}
function mZe (line 140) | function mZe(t,e,r){return t.endsWith(r)?t+e:t+r+e}
function IZe (line 140) | function IZe(t,e,r){if(!e.stats&&EZe.IS_SUPPORT_READDIR_WITH_FILE_TYPES)...
function pce (line 140) | function pce(t,e,r){e.fs.readdir(t,{withFileTypes:!0},(s,a)=>{if(s!==nul...
function CZe (line 140) | function CZe(t,e){return r=>{if(!t.dirent.isSymbolicLink()){r(null,t);re...
function hce (line 140) | function hce(t,e,r){e.fs.readdir(t,(s,a)=>{if(s!==null){pQ(r,s);return}l...
function pQ (line 140) | function pQ(t,e){t(e)}
function C3 (line 140) | function C3(t,e){t(null,e)}
function vZe (line 140) | function vZe(t,e){return!e.stats&&BZe.IS_SUPPORT_READDIR_WITH_FILE_TYPES...
function yce (line 140) | function yce(t,e){return e.fs.readdirSync(t,{withFileTypes:!0}).map(s=>{...
function Ece (line 140) | function Ece(t,e){return e.fs.readdirSync(t).map(s=>{let a=mce.joinPathS...
function SZe (line 140) | function SZe(t){return t===void 0?y0.FILE_SYSTEM_ADAPTER:Object.assign(O...
method constructor (line 140) | constructor(e={}){this._options=e,this.followSymbolicLinks=this._getValu...
method _getValue (line 140) | _getValue(e,r){return e??r}
function kZe (line 140) | function kZe(t,e,r){if(typeof e=="function"){Bce.read(t,S3(),e);return}B...
function QZe (line 140) | function QZe(t,e){let r=S3(e);return xZe.read(t,r)}
function S3 (line 140) | function S3(t={}){return t instanceof v3.default?t:new v3.default(t)}
function TZe (line 140) | function TZe(t){var e=new t,r=e;function s(){var n=e;return n.next?e=n.n...
function Dce (line 140) | function Dce(t,e,r){if(typeof t=="function"&&(r=e,e=t,t=null),!(r>=1))th...
function kc (line 140) | function kc(){}
function FZe (line 140) | function FZe(){this.value=null,this.callback=kc,this.next=null,this.rele...
function NZe (line 140) | function NZe(t,e,r){typeof t=="function"&&(r=e,e=t,t=null);function s(E,...
function OZe (line 140) | function OZe(t,e){return t.errorFilter===null?!0:!t.errorFilter(e)}
function LZe (line 140) | function LZe(t,e){return t===null||t(e)}
function MZe (line 140) | function MZe(t,e){return t.split(/[/\\]/).join(e)}
function UZe (line 140) | function UZe(t,e,r){return t===""?e:t.endsWith(r)?t+e:t+r+e}
method constructor (line 140) | constructor(e,r){this._root=e,this._settings=r,this._root=_Ze.replacePat...
method constructor (line 140) | constructor(e,r){super(e,r),this._settings=r,this._scandir=jZe.scandir,t...
method read (line 140) | read(){return this._isFatalError=!1,this._isDestroyed=!1,setImmediate(()...
method isDestroyed (line 140) | get isDestroyed(){return this._isDestroyed}
method destroy (line 140) | destroy(){if(this._isDestroyed)throw new Error("The reader is already de...
method onEntry (line 140) | onEntry(e){this._emitter.on("entry",e)}
method onError (line 140) | onError(e){this._emitter.once("error",e)}
method onEnd (line 140) | onEnd(e){this._emitter.once("end",e)}
method _pushToQueue (line 140) | _pushToQueue(e,r){let s={directory:e,base:r};this._queue.push(s,a=>{a!==...
method _worker (line 140) | _worker(e,r){this._scandir(e.directory,this._settings.fsScandirSettings,...
method _handleError (line 140) | _handleError(e){this._isDestroyed||!dQ.isFatalError(this._settings,e)||(...
method _handleEntry (line 140) | _handleEntry(e,r){if(this._isDestroyed||this._isFatalError)return;let s=...
method _emitEntry (line 140) | _emitEntry(e){this._emitter.emit("entry",e)}
method constructor (line 140) | constructor(e,r){this._root=e,this._settings=r,this._reader=new WZe.defa...
method read (line 140) | read(e){this._reader.onError(r=>{YZe(e,r)}),this._reader.onEntry(r=>{thi...
function YZe (line 140) | function YZe(t,e){t(e)}
function VZe (line 140) | function VZe(t,e){t(null,e)}
method constructor (line 140) | constructor(e,r){this._root=e,this._settings=r,this._reader=new KZe.defa...
method read (line 140) | read(){return this._reader.onError(e=>{this._stream.emit("error",e)}),th...
method constructor (line 140) | constructor(){super(...arguments),this._scandir=zZe.scandirSync,this._st...
method read (line 140) | read(){return this._pushToQueue(this._root,this._settings.basePath),this...
method _pushToQueue (line 140) | _pushToQueue(e,r){this._queue.add({directory:e,base:r})}
method _handleQueue (line 140) | _handleQueue(){for(let e of this._queue.values())this._handleDirectory(e...
method _handleDirectory (line 140) | _handleDirectory(e,r){try{let s=this._scandir(e,this._settings.fsScandir...
method _handleError (line 140) | _handleError(e){if(mQ.isFatalError(this._settings,e))throw e}
method _handleEntry (line 140) | _handleEntry(e,r){let s=e.path;r!==void 0&&(e.path=mQ.joinPathSegments(r...
method _pushToStorage (line 140) | _pushToStorage(e){this._storage.push(e)}
method constructor (line 140) | constructor(e,r){this._root=e,this._settings=r,this._reader=new ZZe.defa...
method read (line 140) | read(){return this._reader.read()}
method constructor (line 140) | constructor(e={}){this._options=e,this.basePath=this._getValue(this._opt...
method _getValue (line 140) | _getValue(e,r){return e??r}
function n$e (line 140) | function n$e(t,e,r){if(typeof e=="function"){new Rce.default(t,yQ()).rea...
function i$e (line 140) | function i$e(t,e){let r=yQ(e);return new r$e.default(t,r).read()}
function s$e (line 140) | function s$e(t,e){let r=yQ(e);return new t$e.default(t,r).read()}
function yQ (line 140) | function yQ(t={}){return t instanceof G3.default?t:new G3.default(t)}
method constructor (line 140) | constructor(e){this._settings=e,this._fsStatSettings=new a$e.Settings({f...
method _getFullEntryPath (line 140) | _getFullEntryPath(e){return o$e.resolve(this._settings.cwd,e)}
method _makeEntry (line 140) | _makeEntry(e,r){let s={name:r,path:r,dirent:Fce.fs.createDirentFromStats...
method _isFatalError (line 140) | _isFatalError(e){return!Fce.errno.isEnoentCodeError(e)&&!this._settings....
method constructor (line 140) | constructor(){super(...arguments),this._walkStream=u$e.walkStream,this._...
method dynamic (line 140) | dynamic(e,r){return this._walkStream(e,r)}
method static (line 140) | static(e,r){let s=e.map(this._getFullEntryPath,this),a=new l$e.PassThrou...
method _getEntry (line 140) | _getEntry(e,r,s){return this._getStat(e).then(a=>this._makeEntry(a,r)).c...
method _getStat (line 140) | _getStat(e){return new Promise((r,s)=>{this._stat(e,this._fsStatSettings...
method constructor (line 140) | constructor(){super(...arguments),this._walkAsync=A$e.walk,this._readerS...
method dynamic (line 140) | dynamic(e,r){return new Promise((s,a)=>{this._walkAsync(e,r,(n,c)=>{n===...
method static (line 140) | async static(e,r){let s=[],a=this._readerStream.static(e,r);return new P...
method constructor (line 140) | constructor(e,r,s){this._patterns=e,this._settings=r,this._micromatchOpt...
method _fillStorage (line 140) | _fillStorage(){for(let e of this._patterns){let r=this._getPatternSegmen...
method _getPatternSegments (line 140) | _getPatternSegments(e){return NB.pattern.getPatternParts(e,this._microma...
method _splitSegmentsIntoSections (line 140) | _splitSegmentsIntoSections(e){return NB.array.splitWhen(e,r=>r.dynamic&&...
method match (line 140) | match(e){let r=e.split("/"),s=r.length,a=this._storage.filter(n=>!n.comp...
method constructor (line 140) | constructor(e,r){this._settings=e,this._micromatchOptions=r}
method getFilter (line 140) | getFilter(e,r,s){let a=this._getMatcher(r),n=this._getNegativePatternsRe...
method _getMatcher (line 140) | _getMatcher(e){return new d$e.default(e,this._settings,this._micromatchO...
method _getNegativePatternsRe (line 140) | _getNegativePatternsRe(e){let r=e.filter(CQ.pattern.isAffectDepthOfReadi...
method _filter (line 140) | _filter(e,r,s,a){if(this._isSkippedByDeep(e,r.path)||this._isSkippedSymb...
method _isSkippedByDeep (line 140) | _isSkippedByDeep(e,r){return this._settings.deep===1/0?!1:this._getEntry...
method _getEntryLevel (line 140) | _getEntryLevel(e,r){let s=r.split("/").length;if(e==="")return s;let a=e...
method _isSkippedSymbolicLink (line 140) | _isSkippedSymbolicLink(e){return!this._settings.followSymbolicLinks&&e.d...
method _isSkippedByPositivePatterns (line 140) | _isSkippedByPositivePatterns(e,r){return!this._settings.baseNameMatch&&!...
method _isSkippedByNegativePatterns (line 140) | _isSkippedByNegativePatterns(e,r){return!CQ.pattern.matchAny(e,r)}
method constructor (line 140) | constructor(e,r){this._settings=e,this._micromatchOptions=r,this.index=n...
method getFilter (line 140) | getFilter(e,r){let s=$d.pattern.convertPatternsToRe(e,this._micromatchOp...
method _filter (line 140) | _filter(e,r,s){let a=$d.path.removeLeadingDotSegment(e.path);if(this._se...
method _isDuplicateEntry (line 140) | _isDuplicateEntry(e){return this.index.has(e)}
method _createIndexRecord (line 140) | _createIndexRecord(e){this.index.set(e,void 0)}
method _onlyFileFilter (line 140) | _onlyFileFilter(e){return this._settings.onlyFiles&&!e.dirent.isFile()}
method _onlyDirectoryFilter (line 140) | _onlyDirectoryFilter(e){return this._settings.onlyDirectories&&!e.dirent...
method _isSkippedByAbsoluteNegativePatterns (line 140) | _isSkippedByAbsoluteNegativePatterns(e,r){if(!this._settings.absolute)re...
method _isMatchToPatterns (line 140) | _isMatchToPatterns(e,r,s){let a=$d.pattern.matchAny(e,r);return!a&&s?$d....
method constructor (line 140) | constructor(e){this._settings=e}
method getFilter (line 140) | getFilter(){return e=>this._isNonFatalError(e)}
method _isNonFatalError (line 140) | _isNonFatalError(e){return m$e.errno.isEnoentCodeError(e)||this._setting...
method constructor (line 140) | constructor(e){this._settings=e}
method getTransformer (line 140) | getTransformer(){return e=>this._transform(e)}
method _transform (line 140) | _transform(e){let r=e.path;return this._settings.absolute&&(r=Hce.path.m...
method constructor (line 140) | constructor(e){this._settings=e,this.errorFilter=new C$e.default(this._s...
method _getRootDirectory (line 140) | _getRootDirectory(e){return y$e.resolve(this._settings.cwd,e.base)}
method _getReaderOptions (line 140) | _getReaderOptions(e){let r=e.base==="."?"":e.base;return{basePath:r,path...
method _getMicromatchOptions (line 140) | _getMicromatchOptions(){return{dot:this._settings.dot,matchBase:this._se...
method constructor (line 140) | constructor(){super(...arguments),this._reader=new B$e.default(this._set...
method read (line 140) | async read(e){let r=this._getRootDirectory(e),s=this._getReaderOptions(e...
method api (line 140) | api(e,r,s){return r.dynamic?this._reader.dynamic(e,s):this._reader.stati...
method constructor (line 140) | constructor(){super(...arguments),this._reader=new D$e.default(this._set...
method read (line 140) | read(e){let r=this._getRootDirectory(e),s=this._getReaderOptions(e),a=th...
method api (line 140) | api(e,r,s){return r.dynamic?this._reader.dynamic(e,s):this._reader.stati...
method constructor (line 140) | constructor(){super(...arguments),this._walkSync=x$e.walkSync,this._stat...
method dynamic (line 140) | dynamic(e,r){return this._walkSync(e,r)}
method static (line 140) | static(e,r){let s=[];for(let a of e){let n=this._getFullEntryPath(a),c=t...
method _getEntry (line 140) | _getEntry(e,r,s){try{let a=this._getStat(e);return this._makeEntry(a,r)}...
method _getStat (line 140) | _getStat(e){return this._statSync(e,this._fsStatSettings)}
method constructor (line 140) | constructor(){super(...arguments),this._reader=new Q$e.default(this._set...
method read (line 140) | read(e){let r=this._getRootDirectory(e),s=this._getReaderOptions(e);retu...
method api (line 140) | api(e,r,s){return r.dynamic?this._reader.dynamic(e,s):this._reader.stati...
method constructor (line 140) | constructor(e={}){this._options=e,this.absolute=this._getValue(this._opt...
method _getValue (line 140) | _getValue(e,r){return e===void 0?r:e}
method _getFileSystemMethods (line 140) | _getFileSystemMethods(e={}){return Object.assign(Object.assign({},eI.DEF...
function C8 (line 140) | async function C8(t,e){ju(t);let r=w8(t,N$e.default,e),s=await Promise.a...
function e (line 140) | function e(h,E){ju(h);let C=w8(h,L$e.default,E);return Qc.array.flatten(C)}
method constructor (line 226) | constructor(s){super(s)}
method submit (line 226) | async submit(){this.value=await t.call(this,this.values,this.state),su...
method create (line 226) | static create(s){return pme(s)}
function r (line 140) | function r(h,E){ju(h);let C=w8(h,O$e.default,E);return Qc.stream.merge(C)}
method constructor (line 226) | constructor(a){super({...a,choices:e})}
method create (line 226) | static create(a){return gme(a)}
function s (line 140) | function s(h,E){ju(h);let C=[].concat(h),S=new I8.default(E);return Jce....
function a (line 140) | function a(h,E){ju(h);let C=new I8.default(E);return Qc.pattern.isDynami...
function n (line 140) | function n(h){return ju(h),Qc.path.escape(h)}
function c (line 140) | function c(h){return ju(h),Qc.path.convertPathToPattern(h)}
function E (line 140) | function E(S){return ju(S),Qc.path.escapePosixPath(S)}
function C (line 140) | function C(S){return ju(S),Qc.path.convertPosixPathToPattern(S)}
function E (line 140) | function E(S){return ju(S),Qc.path.escapeWindowsPath(S)}
function C (line 140) | function C(S){return ju(S),Qc.path.convertWindowsPathToPattern(S)}
function w8 (line 140) | function w8(t,e,r){let s=[].concat(t),a=new I8.default(r),n=Jce.generate...
function ju (line 140) | function ju(t){if(![].concat(t).every(s=>Qc.string.isString(s)&&!Qc.stri...
function us (line 140) | function us(...t){let e=(0,vQ.createHash)("sha512"),r="";for(let s of t)...
function SQ (line 140) | async function SQ(t,{baseFs:e,algorithm:r}={baseFs:ce,algorithm:"sha512"...
function DQ (line 140) | async function DQ(t,{cwd:e}){let s=(await(0,B8.default)(t,{cwd:fe.fromPo...
function Da (line 140) | function Da(t,e){if(t?.startsWith("@"))throw new Error("Invalid scope: d...
function On (line 140) | function On(t,e){return{identHash:t.identHash,scope:t.scope,name:t.name,...
function Ws (line 140) | function Ws(t,e){return{identHash:t.identHash,scope:t.scope,name:t.name,...
function _$e (line 140) | function _$e(t){return{identHash:t.identHash,scope:t.scope,name:t.name}}
function bQ (line 140) | function bQ(t){return{identHash:t.identHash,scope:t.scope,name:t.name,lo...
function S8 (line 140) | function S8(t){return{identHash:t.identHash,scope:t.scope,name:t.name,de...
function H$e (line 140) | function H$e(t){return{identHash:t.identHash,scope:t.scope,name:t.name,l...
function D8 (line 140) | function D8(t,e){return{identHash:e.identHash,scope:e.scope,name:e.name,...
function LB (line 140) | function LB(t){return D8(t,t)}
function b8 (line 140) | function b8(t,e){if(e.includes("#"))throw new Error("Invalid entropy");r...
function P8 (line 140) | function P8(t,e){if(e.includes("#"))throw new Error("Invalid entropy");r...
function kp (line 140) | function kp(t){return t.range.startsWith(OB)}
function Gu (line 140) | function Gu(t){return t.reference.startsWith(OB)}
function MB (line 140) | function MB(t){if(!kp(t))throw new Error("Not a virtual descriptor");ret...
function rI (line 140) | function rI(t){if(!Gu(t))throw new Error("Not a virtual descriptor");ret...
function j$e (line 140) | function j$e(t){return kp(t)?On(t,t.range.replace(PQ,"")):t}
function G$e (line 140) | function G$e(t){return Gu(t)?Ws(t,t.reference.replace(PQ,"")):t}
function q$e (line 140) | function q$e(t,e){return t.range.includes("::")?t:On(t,`${t.range}::${tI...
function W$e (line 140) | function W$e(t,e){return t.reference.includes("::")?t:Ws(t,`${t.referenc...
function UB (line 140) | function UB(t,e){return t.identHash===e.identHash}
function eue (line 140) | function eue(t,e){return t.descriptorHash===e.descriptorHash}
function _B (line 140) | function _B(t,e){return t.locatorHash===e.locatorHash}
function Y$e (line 140) | function Y$e(t,e){if(!Gu(t))throw new Error("Invalid package type");if(!...
function Sa (line 140) | function Sa(t){let e=tue(t);if(!e)throw new Error(`Invalid ident (${t})`...
function tue (line 140) | function tue(t){let e=t.match(V$e);if(!e)return null;let[,r,s]=e;return ...
function C0 (line 140) | function C0(t,e=!1){let r=HB(t,e);if(!r)throw new Error(`Invalid descrip...
function HB (line 140) | function HB(t,e=!1){let r=e?t.match(J$e):t.match(K$e);if(!r)return null;...
function Qp (line 140) | function Qp(t,e=!1){let r=xQ(t,e);if(!r)throw new Error(`Invalid locator...
function xQ (line 140) | function xQ(t,e=!1){let r=e?t.match(z$e):t.match(X$e);if(!r)return null;...
function em (line 140) | function em(t,e){let r=t.match(Z$e);if(r===null)throw new Error(`Invalid...
function $$e (line 140) | function $$e(t,e){try{return em(t,e)}catch{return null}}
function eet (line 140) | function eet(t,{protocol:e}){let{selector:r,params:s}=em(t,{requireProto...
function zce (line 140) | function zce(t){return t=t.replaceAll("%","%25"),t=t.replaceAll(":","%3A...
function tet (line 140) | function tet(t){return t===null?!1:Object.entries(t).length>0}
function kQ (line 140) | function kQ({protocol:t,source:e,selector:r,params:s}){let a="";return t...
function ret (line 140) | function ret(t){let{params:e,protocol:r,source:s,selector:a}=em(t);for(l...
function un (line 140) | function un(t){return t.scope?`@${t.scope}/${t.name}`:`${t.name}`}
function net (line 140) | function net(t,e){return t.scope?Da(e,`${t.scope}__${t.name}`):Da(e,t.na...
function iet (line 140) | function iet(t,e){if(t.scope!==e)return t;let r=t.name.indexOf("__");if(...
function al (line 140) | function al(t){return t.scope?`@${t.scope}/${t.name}@${t.range}`:`${t.na...
function ll (line 140) | function ll(t){return t.scope?`@${t.scope}/${t.name}@${t.reference}`:`${...
function v8 (line 140) | function v8(t){return t.scope!==null?`@${t.scope}-${t.name}`:t.name}
function nI (line 140) | function nI(t){let{protocol:e,selector:r}=em(t.reference),s=e!==null?e.r...
function $i (line 140) | function $i(t,e){return e.scope?`${Ht(t,`@${e.scope}/`,ht.SCOPE)}${Ht(t,...
function QQ (line 140) | function QQ(t){if(t.startsWith(OB)){let e=QQ(t.substring(t.indexOf("#")+...
function iI (line 140) | function iI(t,e){return`${Ht(t,QQ(e),ht.RANGE)}`}
function ni (line 140) | function ni(t,e){return`${$i(t,e)}${Ht(t,"@",ht.RANGE)}${iI(t,e.range)}`}
function jB (line 140) | function jB(t,e){return`${Ht(t,QQ(e),ht.REFERENCE)}`}
function Yr (line 140) | function Yr(t,e){return`${$i(t,e)}${Ht(t,"@",ht.REFERENCE)}${jB(t,e.refe...
function e3 (line 140) | function e3(t){return`${un(t)}@${QQ(t.reference)}`}
function sI (line 140) | function sI(t){return qs(t,[e=>un(e),e=>e.range])}
function GB (line 140) | function GB(t,e){return $i(t,e.anchoredLocator)}
function FB (line 140) | function FB(t,e,r){let s=kp(e)?MB(e):e;return r===null?`${ni(t,s)} \u219...
function t3 (line 140) | function t3(t,e,r){return r===null?`${Yr(t,e)}`:`${Yr(t,e)} (via ${iI(t,...
function x8 (line 140) | function x8(t){return`node_modules/${un(t)}`}
function TQ (line 140) | function TQ(t,e){return t.conditions?U$e(t.conditions,r=>{let[,s,a]=r.ma...
function qB (line 140) | function qB(t){let e=new Set;if("children"in t)e.add(t);else for(let r o...
method supportsDescriptor (line 140) | supportsDescriptor(e,r){return!!(e.range.startsWith(t.protocol)||r.proje...
method supportsLocator (line 140) | supportsLocator(e,r){return!!e.reference.startsWith(t.protocol)}
method shouldPersistResolution (line 140) | shouldPersistResolution(e,r){return!1}
method bindDescriptor (line 140) | bindDescriptor(e,r,s){return e}
method getResolutionDependencies (line 140) | getResolutionDependencies(e,r){return{}}
method getCandidates (line 140) | async getCandidates(e,r,s){return[s.project.getWorkspaceByDescriptor(e)....
method getSatisfying (line 140) | async getSatisfying(e,r,s,a){let[n]=await this.getCandidates(e,r,a);retu...
method resolve (line 140) | async resolve(e,r){let s=r.project.getWorkspaceByCwd(e.reference.slice(t...
function Zf (line 140) | function Zf(t,e,r=!1){if(!t)return!1;let s=`${e}${r}`,a=iue.get(s);if(ty...
function cl (line 140) | function cl(t){if(t.indexOf(":")!==-1)return null;let e=sue.get(t);if(ty...
function cet (line 140) | function cet(t){let e=aet.exec(t);return e?e[1]:null}
function oue (line 140) | function oue(t){if(t.semver===Tp.default.Comparator.ANY)return{gt:null,l...
function k8 (line 140) | function k8(t){if(t.length===0)return null;let e=null,r=null;for(let s o...
function aue (line 140) | function aue(t){if(t.gt&&t.lt){if(t.gt[0]===">="&&t.lt[0]==="<="&&t.gt[1...
function Q8 (line 140) | function Q8(t){let e=t.map(uet).map(s=>cl(s).set.map(a=>a.map(n=>oue(n))...
function uet (line 140) | function uet(t){let e=t.split("||");if(e.length>1){let r=new Set;for(let...
function cue (line 140) | function cue(t){let e=t.match(/^[ \t]+/m);return e?e[0]:" "}
function uue (line 140) | function uue(t){return t.charCodeAt(0)===65279?t.slice(1):t}
function ba (line 140) | function ba(t){return t.replace(/\\/g,"/")}
function RQ (line 140) | function RQ(t,{yamlCompatibilityMode:e}){return e?Y4(t):typeof t>"u"||ty...
function fue (line 140) | function fue(t,e){let r=e.search(/[^!]/);if(r===-1)return"invalid";let s...
function T8 (line 140) | function T8(t,e){return e.length===1?fue(t,e[0]):`(${e.map(r=>fue(t,r))....
method constructor (line 140) | constructor(){this.indent=" ";this.name=null;this.version=null;this.os=...
method tryFind (line 140) | static async tryFind(e,{baseFs:r=new Yn}={}){let s=J.join(e,"package.jso...
method find (line 140) | static async find(e,{baseFs:r}={}){let s=await t.tryFind(e,{baseFs:r});i...
method fromFile (line 140) | static async fromFile(e,{baseFs:r=new Yn}={}){let s=new t;return await s...
method fromText (line 140) | static fromText(e){let r=new t;return r.loadFromText(e),r}
method loadFromText (line 140) | loadFromText(e){let r;try{r=JSON.parse(uue(e)||"{}")}catch(s){throw s.me...
method loadFile (line 140) | async loadFile(e,{baseFs:r=new Yn}){let s=await r.readFilePromise(e,"utf...
method load (line 140) | load(e,{yamlCompatibilityMode:r=!1}={}){if(typeof e!="object"||e===null)...
method getForScope (line 140) | getForScope(e){switch(e){case"dependencies":return this.dependencies;cas...
method hasConsumerDependency (line 140) | hasConsumerDependency(e){return!!(this.dependencies.has(e.identHash)||th...
method hasHardDependency (line 140) | hasHardDependency(e){return!!(this.dependencies.has(e.identHash)||this.d...
method hasSoftDependency (line 140) | hasSoftDependency(e){return!!this.peerDependencies.has(e.identHash)}
method hasDependency (line 140) | hasDependency(e){return!!(this.hasHardDependency(e)||this.hasSoftDepende...
method getConditions (line 140) | getConditions(){let e=[];return this.os&&this.os.length>0&&e.push(T8("os...
method ensureDependencyMeta (line 140) | ensureDependencyMeta(e){if(e.range!=="unknown"&&!Aue.default.valid(e.ran...
method ensurePeerDependencyMeta (line 140) | ensurePeerDependencyMeta(e){if(e.range!=="unknown")throw new Error(`Inva...
method setRawField (line 140) | setRawField(e,r,{after:s=[]}={}){let a=new Set(s.filter(n=>Object.hasOwn...
method exportTo (line 140) | exportTo(e,{compatibilityMode:r=!0}={}){if(Object.assign(e,this.raw),thi...
function Aet (line 140) | function Aet(t){return typeof t.reportCode<"u"}
method constructor (line 140) | constructor(r,s,a){super(s);this.reportExtra=a;this.reportCode=r}
method constructor (line 140) | constructor(){this.cacheHits=new Set;this.cacheMisses=new Set;this.repor...
method getRecommendedLength (line 140) | getRecommendedLength(){return 180}
method reportCacheHit (line 140) | reportCacheHit(e){this.cacheHits.add(e.locatorHash)}
method reportCacheMiss (line 140) | reportCacheMiss(e,r){this.cacheMisses.add(e.locatorHash)}
method progressViaCounter (line 140) | static progressViaCounter(e){let r=0,s,a=new Promise(p=>{s=p}),n=p=>{let...
method progressViaTitle (line 140) | static progressViaTitle(){let e,r,s=new Promise(c=>{r=c}),a=Q4(c=>{let f...
method startProgressPromise (line 140) | async startProgressPromise(e,r){let s=this.reportProgress(e);try{return ...
method startProgressSync (line 140) | startProgressSync(e,r){let s=this.reportProgress(e);try{return r(e)}fina...
method reportInfoOnce (line 140) | reportInfoOnce(e,r,s){let a=s&&s.key?s.key:r;this.reportedInfos.has(a)||...
method reportWarningOnce (line 140) | reportWarningOnce(e,r,s){let a=s&&s.key?s.key:r;this.reportedWarnings.ha...
method reportErrorOnce (line 140) | reportErrorOnce(e,r,s){let a=s&&s.key?s.key:r;this.reportedErrors.has(a)...
method reportExceptionOnce (line 140) | reportExceptionOnce(e){Aet(e)?this.reportErrorOnce(e.reportCode,e.messag...
method createStreamReporter (line 140) | createStreamReporter(e=null){let r=new pue.PassThrough,s=new hue.StringD...
method constructor (line 141) | constructor(e){this.fetchers=e}
method supports (line 141) | supports(e,r){return!!this.tryFetcher(e,r)}
method getLocalPath (line 141) | getLocalPath(e,r){return this.getFetcher(e,r).getLocalPath(e,r)}
method fetch (line 141) | async fetch(e,r){return await this.getFetcher(e,r).fetch(e,r)}
method tryFetcher (line 141) | tryFetcher(e,r){let s=this.fetchers.find(a=>a.supports(e,r));return s||n...
method getFetcher (line 141) | getFetcher(e,r){let s=this.fetchers.find(a=>a.supports(e,r));if(!s)throw...
method constructor (line 141) | constructor(e){this.resolvers=e.filter(r=>r)}
method supportsDescriptor (line 141) | supportsDescriptor(e,r){return!!this.tryResolverByDescriptor(e,r)}
method supportsLocator (line 141) | supportsLocator(e,r){return!!this.tryResolverByLocator(e,r)}
method shouldPersistResolution (line 141) | shouldPersistResolution(e,r){return this.getResolverByLocator(e,r).shoul...
method bindDescriptor (line 141) | bindDescriptor(e,r,s){return this.getResolverByDescriptor(e,s).bindDescr...
method getResolutionDependencies (line 141) | getResolutionDependencies(e,r){return this.getResolverByDescriptor(e,r)....
method getCandidates (line 141) | async getCandidates(e,r,s){return await this.getResolverByDescriptor(e,s...
method getSatisfying (line 141) | async getSatisfying(e,r,s,a){return this.getResolverByDescriptor(e,a).ge...
method resolve (line 141) | async resolve(e,r){return await this.getResolverByLocator(e,r).resolve(e...
method tryResolverByDescriptor (line 141) | tryResolverByDescriptor(e,r){let s=this.resolvers.find(a=>a.supportsDesc...
method getResolverByDescriptor (line 141) | getResolverByDescriptor(e,r){let s=this.resolvers.find(a=>a.supportsDesc...
method tryResolverByLocator (line 141) | tryResolverByLocator(e,r){let s=this.resolvers.find(a=>a.supportsLocator...
method getResolverByLocator (line 141) | getResolverByLocator(e,r){let s=this.resolvers.find(a=>a.supportsLocator...
method supports (line 141) | supports(e){return!!e.reference.startsWith("virtual:")}
method getLocalPath (line 141) | getLocalPath(e,r){let s=e.reference.indexOf("#");if(s===-1)throw new Err...
method fetch (line 141) | async fetch(e,r){let s=e.reference.indexOf("#");if(s===-1)throw new Erro...
method getLocatorFilename (line 141) | getLocatorFilename(e){return nI(e)}
method ensureVirtualLink (line 141) | async ensureVirtualLink(e,r,s){let a=r.packageFs.getRealPath(),n=s.proje...
method isVirtualDescriptor (line 141) | static isVirtualDescriptor(e){return!!e.range.startsWith(t.protocol)}
method isVirtualLocator (line 141) | static isVirtualLocator(e){return!!e.reference.startsWith(t.protocol)}
method supportsDescriptor (line 141) | supportsDescriptor(e,r){return t.isVirtualDescriptor(e)}
method supportsLocator (line 141) | supportsLocator(e,r){return t.isVirtualLocator(e)}
method shouldPersistResolution (line 141) | shouldPersistResolution(e,r){return!1}
method bindDescriptor (line 141) | bindDescriptor(e,r,s){throw new Error('Assertion failed: calling "bindDe...
method getResolutionDependencies (line 141) | getResolutionDependencies(e,r){throw new Error('Assertion failed: callin...
method getCandidates (line 141) | async getCandidates(e,r,s){throw new Error('Assertion failed: calling "g...
method getSatisfying (line 141) | async getSatisfying(e,r,s,a){throw new Error('Assertion failed: calling ...
method resolve (line 141) | async resolve(e,r){throw new Error('Assertion failed: calling "resolve" ...
method supports (line 141) | supports(e){return!!e.reference.startsWith(Ei.protocol)}
method getLocalPath (line 141) | getLocalPath(e,r){return this.getWorkspace(e,r).cwd}
method fetch (line 141) | async fetch(e,r){let s=this.getWorkspace(e,r).cwd;return{packageFs:new S...
method getWorkspace (line 141) | getWorkspace(e,r){return r.project.getWorkspaceByCwd(e.reference.slice(E...
function WB (line 141) | function WB(t){return typeof t=="object"&&t!==null&&!Array.isArray(t)}
function due (line 141) | function due(t){return typeof t>"u"?3:WB(t)?0:Array.isArray(t)?1:2}
function U8 (line 141) | function U8(t,e){return Object.hasOwn(t,e)}
function het (line 141) | function het(t){return WB(t)&&U8(t,"onConflict")&&typeof t.onConflict=="...
function get (line 141) | function get(t){if(typeof t>"u")return{onConflict:"default",value:t};if(...
function mue (line 141) | function mue(t,e){let r=WB(t)&&U8(t,e)?t[e]:void 0;return get(r)}
function uI (line 141) | function uI(t,e){return[t,e,yue]}
function _8 (line 141) | function _8(t){return Array.isArray(t)?t[2]===yue:!1}
function L8 (line 141) | function L8(t,e){if(WB(t)){let r={};for(let s of Object.keys(t))r[s]=L8(...
function M8 (line 141) | function M8(t,e,r,s,a){let n,c=[],f=a,p=0;for(let E=a-1;E>=s;--E){let[C,...
function Eue (line 141) | function Eue(t){return M8(t.map(([e,r])=>[e,{".":r}]),[],".",0,t.length)}
function YB (line 141) | function YB(t){return _8(t)?t[1]:t}
function NQ (line 141) | function NQ(t){let e=_8(t)?t[1]:t;if(Array.isArray(e))return e.map(r=>NQ...
function H8 (line 141) | function H8(t){return _8(t)?t[0]:null}
function G8 (line 141) | function G8(){if(process.platform==="win32"){let t=fe.toPortablePath(pro...
function fI (line 141) | function fI(){return fe.toPortablePath((0,j8.homedir)()||"/usr/local/sha...
function q8 (line 141) | function q8(t,e){let r=J.relative(e,t);return r&&!r.startsWith("..")&&!J...
method constructor (line 141) | constructor(e){let{proxy:r,proxyRequestOptions:s,...a}=e;super(a),this.p...
method createConnection (line 141) | createConnection(e,r){let s={...this.proxyRequestOptions,method:"CONNECT...
method constructor (line 141) | constructor(e){let{proxy:r,proxyRequestOptions:s,...a}=e;super(a),this.p...
method createConnection (line 141) | createConnection(e,r){let s={...this.proxyRequestOptions,method:"CONNECT...
function met (line 141) | function met(t){return bue.includes(t)}
function Eet (line 141) | function Eet(t){return yet.includes(t)}
function Cet (line 141) | function Cet(t){return Iet.includes(t)}
function AI (line 141) | function AI(t){return e=>typeof e===t}
function be (line 141) | function be(t){if(t===null)return"null";switch(typeof t){case"undefined"...
method constructor (line 141) | constructor(e){super(e||"Promise was canceled"),this.name="CancelError"}
method isCanceled (line 141) | get isCanceled(){return!0}
method fn (line 141) | static fn(e){return(...r)=>new t((s,a,n)=>{r.push(n),e(...r).then(s,a)})}
method constructor (line 141) | constructor(e){this._cancelHandlers=[],this._isPending=!0,this._isCancel...
method then (line 141) | then(e,r){return this._promise.then(e,r)}
method catch (line 141) | catch(e){return this._promise.catch(e)}
method finally (line 141) | finally(e){return this._promise.finally(e)}
method cancel (line 141) | cancel(e){if(!(!this._isPending||this._isCanceled)){if(this._cancelHandl...
method isCanceled (line 141) | get isCanceled(){return this._isCanceled}
function xet (line 141) | function xet(t){return t.encrypted}
method constructor (line 141) | constructor({cache:e=new Map,maxTtl:r=1/0,fallbackDuration:s=3600,errorT...
method servers (line 141) | set servers(e){this.clear(),this._resolver.setServers(e)}
method servers (line 141) | get servers(){return this._resolver.getServers()}
method lookup (line 141) | lookup(e,r,s){if(typeof r=="function"?(s=r,r={}):typeof r=="number"&&(r=...
method lookupAsync (line 141) | async lookupAsync(e,r={}){typeof r=="number"&&(r={family:r});let s=await...
method query (line 141) | async query(e){let r=await this._cache.get(e);if(!r){let s=this._pending...
method _resolve (line 141) | async _resolve(e){let r=async h=>{try{return await h}catch(E){if(E.code=...
method _lookup (line 141) | async _lookup(e){try{return{entries:await this._dnsLookup(e,{all:!0}),ca...
method _set (line 141) | async _set(e,r,s){if(this.maxTtl>0&&s>0){s=Math.min(s,this.maxTtl)*1e3,r...
method queryAndCache (line 141) | async queryAndCache(e){if(this._hostnamesToFallback.has(e))return this._...
method _tick (line 141) | _tick(e){let r=this._nextRemovalTime;(!r||e<r)&&(clearTimeout(this._remo...
method install (line 141) | install(e){if(Oue(e),pI in e)throw new Error("CacheableLookup has been a...
method uninstall (line 141) | uninstall(e){if(Oue(e),e[pI]){if(e[iH]!==this)throw new Error("The agent...
method updateInterfaceInfo (line 141) | updateInterfaceInfo(){let{_iface:e}=this;this._iface=Lue(),(e.has4&&!thi...
method clear (line 141) | clear(e){if(e){this._cache.delete(e);return}this._cache.clear()}
function que (line 141) | function que(t,e){if(t&&e)return que(t)(e);if(typeof t!="function")throw...
function jQ (line 141) | function jQ(t){var e=function(){return e.called?e.value:(e.called=!0,e.v...
function Jue (line 141) | function Jue(t){var e=function(){if(e.called)throw new Error(e.onceError...
method constructor (line 141) | constructor(){super("maxBuffer exceeded"),this.name="MaxBufferError"}
function WQ (line 141) | async function WQ(t,e){if(!t)return Promise.reject(new Error("Expected a...
function nm (line 141) | function nm(t){let e=parseInt(t,10);return isFinite(e)?e:0}
function utt (line 141) | function utt(t){return t?att.has(t.status):!0}
function fH (line 141) | function fH(t){let e={};if(!t)return e;let r=t.trim().split(/,/);for(let...
function ftt (line 141) | function ftt(t){let e=[];for(let r in t){let s=t[r];e.push(s===!0?r:r+"=...
method constructor (line 141) | constructor(e,r,{shared:s,cacheHeuristic:a,immutableMinTimeToLive:n,igno...
method now (line 141) | now(){return Date.now()}
method storable (line 141) | storable(){return!!(!this._reqcc["no-store"]&&(this._method==="GET"||thi...
method _hasExplicitExpiration (line 141) | _hasExplicitExpiration(){return this._isShared&&this._rescc["s-maxage"]|...
method _assertRequestHasHeaders (line 141) | _assertRequestHasHeaders(e){if(!e||!e.headers)throw Error("Request heade...
method satisfiesWithoutRevalidation (line 141) | satisfiesWithoutRevalidation(e){this._assertRequestHasHeaders(e);let r=f...
method _requestMatches (line 141) | _requestMatches(e,r){return(!this._url||this._url===e.url)&&this._host==...
method _allowsStoringAuthenticated (line 141) | _allowsStoringAuthenticated(){return this._rescc["must-revalidate"]||thi...
method _varyMatches (line 141) | _varyMatches(e){if(!this._resHeaders.vary)return!0;if(this._resHeaders.v...
method _copyWithoutHopByHopHeaders (line 141) | _copyWithoutHopByHopHeaders(e){let r={};for(let s in e)ltt[s]||(r[s]=e[s...
method responseHeaders (line 141) | responseHeaders(){let e=this._copyWithoutHopByHopHeaders(this._resHeader...
method date (line 141) | date(){let e=Date.parse(this._resHeaders.date);return isFinite(e)?e:this...
method age (line 141) | age(){let e=this._ageValue(),r=(this.now()-this._responseTime)/1e3;retur...
method _ageValue (line 141) | _ageValue(){return nm(this._resHeaders.age)}
method maxAge (line 141) | maxAge(){if(!this.storable()||this._rescc["no-cache"]||this._isShared&&t...
method timeToLive (line 141) | timeToLive(){let e=this.maxAge()-this.age(),r=e+nm(this._rescc["stale-if...
method stale (line 141) | stale(){return this.maxAge()<=this.age()}
method _useStaleIfError (line 141) | _useStaleIfError(){return this.maxAge()+nm(this._rescc["stale-if-error"]...
method useStaleWhileRevalidate (line 141) | useStaleWhileRevalidate(){return this.maxAge()+nm(this._rescc["stale-whi...
method fromObject (line 141) | static fromObject(e){return new this(void 0,void 0,{_fromObject:e})}
method _fromObject (line 141) | _fromObject(e){if(this._responseTime)throw Error("Reinitialized");if(!e|...
method toObject (line 141) | toObject(){return{v:1,t:this._responseTime,sh:this._isShared,ch:this._ca...
method revalidationHeaders (line 141) | revalidationHeaders(e){this._assertRequestHasHeaders(e);let r=this._copy...
method revalidatedPolicy (line 141) | revalidatedPolicy(e,r){if(this._assertRequestHasHeaders(e),this._useStal...
method constructor (line 141) | constructor(e,r,s,a){if(typeof e!="number")throw new TypeError("Argument...
method _read (line 141) | _read(){this.push(this.body),this.push(null)}
method constructor (line 141) | constructor(e,{emitErrors:r=!0,...s}={}){if(super(),this.opts={namespace...
method _checkIterableAdaptar (line 141) | _checkIterableAdaptar(){return hfe.includes(this.opts.store.opts.dialect...
method _getKeyPrefix (line 141) | _getKeyPrefix(e){return`${this.opts.namespace}:${e}`}
method _getKeyPrefixArray (line 141) | _getKeyPrefixArray(e){return e.map(r=>`${this.opts.namespace}:${r}`)}
method _getKeyUnprefix (line 141) | _getKeyUnprefix(e){return e.split(":").splice(1).join(":")}
method get (line 141) | get(e,r){let{store:s}=this.opts,a=Array.isArray(e),n=a?this._getKeyPrefi...
method set (line 141) | set(e,r,s){let a=this._getKeyPrefix(e);typeof s>"u"&&(s=this.opts.ttl),s...
method delete (line 141) | delete(e){let{store:r}=this.opts;if(Array.isArray(e)){let a=this._getKey...
method clear (line 141) | clear(){let{store:e}=this.opts;return Promise.resolve().then(()=>e.clear...
method has (line 141) | has(e){let r=this._getKeyPrefix(e),{store:s}=this.opts;return Promise.re...
method disconnect (line 141) | disconnect(){let{store:e}=this.opts;if(typeof e.disconnect=="function")r...
method constructor (line 141) | constructor(e,r){if(typeof e!="function")throw new TypeError("Parameter ...
method createCacheableRequest (line 141) | createCacheableRequest(e){return(r,s)=>{let a;if(typeof r=="string")a=dH...
function Dtt (line 141) | function Dtt(t){let e={...t};return e.path=`${t.pathname||"/"}${t.search...
function dH (line 141) | function dH(t){return{protocol:t.protocol,auth:t.auth,hostname:t.hostnam...
method constructor (line 141) | constructor(t){super(t.message),this.name="RequestError",Object.assign(t...
method constructor (line 141) | constructor(t){super(t.message),this.name="CacheError",Object.assign(thi...
method get (line 141) | get(){let n=t[a];return typeof n=="function"?n.bind(t):n}
method set (line 141) | set(n){t[a]=n}
method transform (line 141) | transform(f,p,h){s=!1,h(null,f)}
method flush (line 141) | flush(f){f()}
method destroy (line 141) | destroy(f,p){t.destroy(),p(f)}
method constructor (line 141) | constructor(e={}){if(!(e.maxSize&&e.maxSize>0))throw new TypeError("`max...
method _set (line 141) | _set(e,r){if(this.cache.set(e,r),this._size++,this._size>=this.maxSize){...
method get (line 141) | get(e){if(this.cache.has(e))return this.cache.get(e);if(this.oldCache.ha...
method set (line 141) | set(e,r){return this.cache.has(e)?this.cache.set(e,r):this._set(e,r),this}
method has (line 141) | has(e){return this.cache.has(e)||this.oldCache.has(e)}
method peek (line 141) | peek(e){if(this.cache.has(e))return this.cache.get(e);if(this.oldCache.h...
method delete (line 141) | delete(e){let r=this.cache.delete(e);return r&&this._size--,this.oldCach...
method clear (line 141) | clear(){this.cache.clear(),this.oldCache.clear(),this._size=0}
method keys (line 141) | *keys(){for(let[e]of this)yield e}
method values (line 141) | *values(){for(let[,e]of this)yield e}
method [Symbol.iterator] (line 141) | *[Symbol.iterator](){for(let e of this.cache)yield e;for(let e of this.o...
method size (line 141) | get size(){let e=0;for(let r of this.oldCache.keys())this.cache.has(r)||...
method constructor (line 141) | constructor({timeout:e=6e4,maxSessions:r=1/0,maxFreeSessions:s=10,maxCac...
method normalizeOrigin (line 141) | static normalizeOrigin(e,r){return typeof e=="string"&&(e=new URL(e)),r&...
method normalizeOptions (line 141) | normalizeOptions(e){let r="";if(e)for(let s of Ntt)e[s]&&(r+=`:${e[s]}`)...
method _tryToCreateNewSession (line 141) | _tryToCreateNewSession(e,r){if(!(e in this.queue)||!(r in this.queue[e])...
method getSession (line 141) | getSession(e,r,s){return new Promise((a,n)=>{Array.isArray(s)?(s=[...s],...
method request (line 142) | request(e,r,s,a){return new Promise((n,c)=>{this.getSession(e,r,[{reject...
method createConnection (line 142) | createConnection(e,r){return t.connect(e,r)}
method connect (line 142) | static connect(e,r){r.ALPNProtocols=["h2"];let s=e.port||443,a=e.hostnam...
method closeFreeSessions (line 142) | closeFreeSessions(){for(let e of Object.values(this.sessions))for(let r ...
method destroy (line 142) | destroy(e){for(let r of Object.values(this.sessions))for(let s of r)s.de...
method freeSessions (line 142) | get freeSessions(){return Dfe({agent:this,isFree:!0})}
method busySessions (line 142) | get busySessions(){return Dfe({agent:this,isFree:!1})}
method constructor (line 142) | constructor(e,r){super({highWaterMark:r,autoDestroy:!1}),this.statusCode...
method _destroy (line 142) | _destroy(e){this.req._request.destroy(e)}
method setTimeout (line 142) | setTimeout(e,r){return this.req.setTimeout(e,r),this}
method _dump (line 142) | _dump(){this._dumped||(this._dumped=!0,this.removeAllListeners("data"),t...
method _read (line 142) | _read(){this.req&&this.req._request.resume()}
method constructor (line 142) | constructor(...a){super(typeof r=="string"?r:r(a)),this.name=`${super.na...
method constructor (line 142) | constructor(e,r,s){super({autoDestroy:!1});let a=typeof e=="string"||e i...
method method (line 142) | get method(){return this[Jo][_fe]}
method method (line 142) | set method(e){e&&(this[Jo][_fe]=e.toUpperCase())}
method path (line 142) | get path(){return this[Jo][Hfe]}
method path (line 142) | set path(e){e&&(this[Jo][Hfe]=e)}
method _mustNotHaveABody (line 142) | get _mustNotHaveABody(){return this.method==="GET"||this.method==="HEAD"...
method _write (line 142) | _write(e,r,s){if(this._mustNotHaveABody){s(new Error("The GET, HEAD and ...
method _final (line 142) | _final(e){if(this.destroyed)return;this.flushHeaders();let r=()=>{if(thi...
method abort (line 142) | abort(){this.res&&this.res.complete||(this.aborted||process.nextTick(()=...
method _destroy (line 142) | _destroy(e,r){this.res&&this.res._dump(),this._request&&this._request.de...
method flushHeaders (line 142) | async flushHeaders(){if(this[JQ]||this.destroyed)return;this[JQ]=!0;let ...
method getHeader (line 142) | getHeader(e){if(typeof e!="string")throw new SH("name","string",e);retur...
method headersSent (line 142) | get headersSent(){return this[JQ]}
method removeHeader (line 142) | removeHeader(e){if(typeof e!="string")throw new SH("name","string",e);if...
method setHeader (line 142) | setHeader(e,r){if(this.headersSent)throw new Mfe("set");if(typeof e!="st...
method setNoDelay (line 142) | setNoDelay(){}
method setSocketKeepAlive (line 142) | setSocketKeepAlive(){}
method setTimeout (line 142) | setTimeout(e,r){let s=()=>this._request.setTimeout(e,r);return this._req...
method maxHeadersCount (line 142) | get maxHeadersCount(){if(!this.destroyed&&this._request)return this._req...
method maxHeadersCount (line 142) | set maxHeadersCount(e){}
function drt (line 142) | function drt(t,e,r){let s={};for(let a of r)s[a]=(...n)=>{e.emit(a,...n)...
method once (line 142) | once(e,r,s){e.once(r,s),t.push({origin:e,event:r,fn:s})}
method unhandleAll (line 142) | unhandleAll(){for(let e of t){let{origin:r,event:s,fn:a}=e;r.removeListe...
method constructor (line 142) | constructor(e,r){super(`Timeout awaiting '${r}' for ${e}ms`),this.event=...
method constructor (line 142) | constructor(){this.weakMap=new WeakMap,this.map=new Map}
method set (line 142) | set(e,r){typeof e=="object"?this.weakMap.set(e,r):this.map.set(e,r)}
method get (line 142) | get(e){return typeof e=="object"?this.weakMap.get(e):this.map.get(e)}
method has (line 142) | has(e){return typeof e=="object"?this.weakMap.has(e):this.map.has(e)}
function Hrt (line 142) | function Hrt(t){for(let e in t){let r=t[e];if(!at.default.string(r)&&!at...
function jrt (line 142) | function jrt(t){return at.default.object(t)&&!("statusCode"in t)}
method constructor (line 142) | constructor(e,r,s){var a;if(super(e),Error.captureStackTrace(this,this.c...
method constructor (line 146) | constructor(e){super(`Redirected ${e.options.maxRedirects} times. Aborti...
method constructor (line 146) | constructor(e){super(`Response code ${e.statusCode} (${e.statusMessage})...
method constructor (line 146) | constructor(e,r){super(e.message,e,r),this.name="CacheError"}
method constructor (line 146) | constructor(e,r){super(e.message,e,r),this.name="UploadError"}
method constructor (line 146) | constructor(e,r,s){super(e.message,e,s),this.name="TimeoutError",this.ev...
method constructor (line 146) | constructor(e,r){super(e.message,e,r),this.name="ReadError"}
method constructor (line 146) | constructor(e){super(`Unsupported protocol "${e.url.protocol}"`,{},e),th...
method constructor (line 146) | constructor(e,r={},s){super({autoDestroy:!1,highWaterMark:0}),this[yI]=0...
method normalizeArguments (line 146) | static normalizeArguments(e,r,s){var a,n,c,f,p;let h=r;if(at.default.obj...
method _lockWrite (line 146) | _lockWrite(){let e=()=>{throw new TypeError("The payload has been alread...
method _unlockWrite (line 146) | _unlockWrite(){this.write=super.write,this.end=super.end}
method _finalizeBody (line 146) | async _finalizeBody(){let{options:e}=this,{headers:r}=e,s=!at.default.un...
method _onResponseBase (line 146) | async _onResponseBase(e){let{options:r}=this,{url:s}=r;this[PAe]=e,r.dec...
method _onResponse (line 146) | async _onResponse(e){try{await this._onResponseBase(e)}catch(r){this._be...
method _onRequest (line 146) | _onRequest(e){let{options:r}=this,{timeout:s,url:a}=r;brt.default(e),thi...
method _createCacheableRequest (line 146) | async _createCacheableRequest(e,r){return new Promise((s,a)=>{Object.ass...
method _makeRequest (line 146) | async _makeRequest(){var e,r,s,a,n;let{options:c}=this,{headers:f}=c;for...
method _error (line 146) | async _error(e){try{for(let r of this.options.hooks.beforeError)e=await ...
method _beforeError (line 146) | _beforeError(e){if(this[CI])return;let{options:r}=this,s=this.retryCount...
method _read (line 146) | _read(){this[$Q]=!0;let e=this[eT];if(e&&!this[CI]){e.readableLength&&(t...
method _write (line 146) | _write(e,r,s){let a=()=>{this._writeRequest(e,r,s)};this.requestInitiali...
method _writeRequest (line 146) | _writeRequest(e,r,s){this[po].destroyed||(this._progressCallbacks.push((...
method _final (line 146) | _final(e){let r=()=>{for(;this._progressCallbacks.length!==0;)this._prog...
method _destroy (line 146) | _destroy(e,r){var s;this[CI]=!0,clearTimeout(this[xAe]),po in this&&(thi...
method _isAboutToError (line 146) | get _isAboutToError(){return this[CI]}
method ip (line 146) | get ip(){var e;return(e=this.socket)===null||e===void 0?void 0:e.remoteA...
method aborted (line 146) | get aborted(){var e,r,s;return((r=(e=this[po])===null||e===void 0?void 0...
method socket (line 146) | get socket(){var e,r;return(r=(e=this[po])===null||e===void 0?void 0:e.s...
method downloadProgress (line 146) | get downloadProgress(){let e;return this[mI]?e=this[yI]/this[mI]:this[mI...
method uploadProgress (line 146) | get uploadProgress(){let e;return this[EI]?e=this[II]/this[EI]:this[EI]=...
method timings (line 146) | get timings(){var e;return(e=this[po])===null||e===void 0?void 0:e.timings}
method isFromCache (line 146) | get isFromCache(){return this[DAe]}
method pipe (line 146) | pipe(e,r){if(this[bAe])throw new Error("Failed to pipe. The response has...
method unpipe (line 146) | unpipe(e){return e instanceof JH.ServerResponse&&this[ZQ].delete(e),supe...
method constructor (line 146) | constructor(e,r){let{options:s}=r.request;super(`${e.message} in "${s.ur...
method constructor (line 146) | constructor(e){super("Promise was canceled",{},e),this.name="CancelError"}
method isCanceled (line 146) | get isCanceled(){return!0}
function OAe (line 146) | function OAe(t){let e,r,s=new Zrt.EventEmitter,a=new ent((c,f,p)=>{let h...
function snt (line 146) | function snt(t,...e){let r=(async()=>{if(t instanceof int.RequestError)t...
function UAe (line 146) | function UAe(t){for(let e of Object.values(t))(MAe.default.plainObject(e...
function oj (line 146) | async function oj(t){return Yl(XAe,t,()=>ce.readFilePromise(t).then(e=>(...
function Int (line 146) | function Int({statusCode:t,statusMessage:e},r){let s=Ht(r,t,ht.NUMBER),a...
function AT (line 146) | async function AT(t,{configuration:e,customErrorMessage:r}){try{return a...
function epe (line 146) | function epe(t,e){let r=[...e.configuration.get("networkSettings")].sort...
function iv (line 146) | async function iv(t,e,{configuration:r,headers:s,jsonRequest:a,jsonRespo...
function lj (line 146) | async function lj(t,{configuration:e,jsonResponse:r,customErrorMessage:s...
function Cnt (line 146) | async function Cnt(t,e,{customErrorMessage:r,...s}){return(await AT(iv(t...
function cj (line 146) | async function cj(t,e,{customErrorMessage:r,...s}){return(await AT(iv(t,...
function wnt (line 146) | async function wnt(t,{customErrorMessage:e,...r}){return(await AT(iv(t,n...
function Bnt (line 146) | async function Bnt(t,e,{configuration:r,headers:s,jsonRequest:a,jsonResp...
function bnt (line 146) | function bnt(){if(process.platform!=="linux")return null;let t;try{t=ce....
function sv (line 146) | function sv(){return npe=npe??{os:(process.env.YARN_IS_TEST_ENV?process....
function Pnt (line 146) | function Pnt(t=sv()){return t.libc?`${t.os}-${t.cpu}-${t.libc}`:`${t.os}...
function uj (line 146) | function uj(){let t=sv();return ipe=ipe??{os:[t.os],cpu:[t.cpu],libc:t.l...
function Qnt (line 146) | function Qnt(t){let e=xnt.exec(t);if(!e)return null;let r=e[2]&&e[2].ind...
function Tnt (line 146) | function Tnt(){let e=new Error().stack.split(`
function fj (line 147) | function fj(){return typeof hT.default.availableParallelism<"u"?hT.defau...
function yj (line 147) | function yj(t,e,r,s,a){let n=YB(r);if(s.isArray||s.type==="ANY"&&Array.i...
function pj (line 147) | function pj(t,e,r,s,a){let n=YB(r);switch(s.type){case"ANY":return NQ(n)...
function Ont (line 147) | function Ont(t,e,r,s,a){let n=YB(r);if(typeof n!="object"||Array.isArray...
function Lnt (line 147) | function Lnt(t,e,r,s,a){let n=YB(r),c=new Map;if(typeof n!="object"||Arr...
function Ej (line 147) | function Ej(t,e,{ignoreArrays:r=!1}={}){switch(e.type){case"SHAPE":{if(e...
function yT (line 147) | function yT(t,e,r){if(e.type==="SECRET"&&typeof t=="string"&&r.hideSecre...
function Mnt (line 147) | function Mnt(){let t={};for(let[e,r]of Object.entries(process.env))e=e.t...
function gj (line 147) | function gj(){let t=`${ET}rc_filename`;for(let[e,r]of Object.entries(pro...
function spe (line 147) | async function spe(t){try{return await ce.readFilePromise(t)}catch{retur...
function Unt (line 147) | async function Unt(t,e){return Buffer.compare(...await Promise.all([spe(...
function _nt (line 147) | async function _nt(t,e){let[r,s]=await Promise.all([ce.statPromise(t),ce...
function jnt (line 147) | async function jnt({configuration:t,selfPath:e}){let r=t.get("yarnPath")...
method constructor (line 147) | constructor(e){this.isCI=Lp.isCI;this.projectCwd=null;this.plugins=new M...
method create (line 147) | static create(e,r,s){let a=new t(e);typeof r<"u"&&!(r instanceof Map)&&(...
method find (line 147) | static async find(e,r,{strict:s=!0,usePathCheck:a=null,useRc:n=!0}={}){l...
method findRcFiles (line 147) | static async findRcFiles(e){let r=gj(),s=[],a=e,n=null;for(;a!==n;){n=a;...
method findFolderRcFile (line 147) | static async findFolderRcFile(e){let r=J.join(e,Er.rc),s;try{s=await ce....
method findProjectCwd (line 147) | static async findProjectCwd(e){let r=null,s=e,a=null;for(;s!==a;){if(a=s...
method updateConfiguration (line 147) | static async updateConfiguration(e,r,s={}){let a=gj(),n=J.join(e,a),c=ce...
method addPlugin (line 147) | static async addPlugin(e,r){r.length!==0&&await t.updateConfiguration(e,...
method updateHomeConfiguration (line 147) | static async updateHomeConfiguration(e){let r=fI();return await t.update...
method activatePlugin (line 147) | activatePlugin(e,r){this.plugins.set(e,r),typeof r.configuration<"u"&&th...
method importSettings (line 147) | importSettings(e){for(let[r,s]of Object.entries(e))if(s!=null){if(this.s...
method useWithSource (line 147) | useWithSource(e,r,s,a){try{this.use(e,r,s,a)}catch(n){throw n.message+=`...
method use (line 147) | use(e,r,s,{strict:a=!0,overwrite:n=!1}={}){a=a&&this.get("enableStrictSe...
method get (line 147) | get(e){if(!this.values.has(e))throw new Error(`Invalid configuration key...
method getSpecial (line 147) | getSpecial(e,{hideSecrets:r=!1,getNativePaths:s=!1}){let a=this.get(e),n...
method getSubprocessStreams (line 147) | getSubprocessStreams(e,{header:r,prefix:s,report:a}){let n,c,f=ce.create...
method makeResolver (line 148) | makeResolver(){let e=[];for(let r of this.plugins.values())for(let s of ...
method makeFetcher (line 148) | makeFetcher(){let e=[];for(let r of this.plugins.values())for(let s of r...
method getLinkers (line 148) | getLinkers(){let e=[];for(let r of this.plugins.values())for(let s of r....
method getSupportedArchitectures (line 148) | getSupportedArchitectures(){let e=sv(),r=this.get("supportedArchitecture...
method isInteractive (line 148) | isInteractive({interactive:e,stdout:r}){return r.isTTY?e??this.get("pref...
method getPackageExtensions (line 148) | async getPackageExtensions(){if(this.packageExtensions!==null)return thi...
method normalizeLocator (line 148) | normalizeLocator(e){return cl(e.reference)?Ws(e,`${this.get("defaultProt...
method normalizeDependency (line 148) | normalizeDependency(e){return cl(e.range)?On(e,`${this.get("defaultProto...
method normalizeDependencyMap (line 148) | normalizeDependencyMap(e){return new Map([...e].map(([r,s])=>[r,this.nor...
method normalizePackage (line 148) | normalizePackage(e,{packageExtensions:r}){let s=LB(e),a=r.get(e.identHas...
method getLimit (line 148) | getLimit(e){return Yl(this.limits,e,()=>(0,cpe.default)(this.get(e)))}
method triggerHook (line 148) | async triggerHook(e,...r){for(let s of this.plugins.values()){let a=s.ho...
method triggerMultipleHooks (line 148) | async triggerMultipleHooks(e,r){for(let s of r)await this.triggerHook(e,...
method reduceHook (line 148) | async reduceHook(e,r,...s){let a=r;for(let n of this.plugins.values()){l...
method firstHook (line 148) | async firstHook(e,...r){for(let s of this.plugins.values()){let a=s.hook...
function om (line 148) | function om(t){return t!==null&&typeof t.fd=="number"}
function Ij (line 148) | function Ij(){}
function Cj (line 148) | function Cj(){for(let t of am)t.kill()}
function Wu (line 148) | async function Wu(t,e,{cwd:r,env:s=process.env,strict:a=!1,stdin:n=null,...
function Aj (line 148) | async function Aj(t,e,{cwd:r,env:s=process.env,encoding:a="utf8",strict:...
function vj (line 148) | function vj(t,e){let r=Gnt.get(e);return typeof r<"u"?128+r:t??1}
function qnt (line 148) | function qnt(t,e,{configuration:r,report:s}){s.reportError(1,` ${Kf(r,t...
method constructor (line 148) | constructor({fileName:e,code:r,signal:s}){let a=ze.create(J.cwd()),n=Ht(...
method constructor (line 148) | constructor({fileName:e,code:r,signal:s,stdout:a,stderr:n}){super({fileN...
function Ape (line 148) | function Ape(t){fpe=t}
function cv (line 148) | function cv(){return typeof Sj>"u"&&(Sj=fpe()),Sj}
function P (line 148) | function P(Ke){return r.locateFile?r.locateFile(Ke,S):S+Ke}
function pe (line 148) | function pe(Ke,st,St){switch(st=st||"i8",st.charAt(st.length-1)==="*"&&(...
function we (line 148) | function we(Ke,st){Ke||rs("Assertion failed: "+st)}
function ye (line 148) | function ye(Ke){var st=r["_"+Ke];return we(st,"Cannot call unknown funct...
function Ae (line 148) | function Ae(Ke,st,St,lr,te){var Ee={string:function(qi){var Tn=0;if(qi!=...
function se (line 148) | function se(Ke,st,St,lr){St=St||[];var te=St.every(function(Oe){return O...
function De (line 148) | function De(Ke,st){if(!Ke)return"";for(var St=Ke+st,lr=Ke;!(lr>=St)&&ke[...
function Re (line 148) | function Re(Ke,st,St,lr){if(!(lr>0))return 0;for(var te=St,Ee=St+lr-1,Oe...
function mt (line 148) | function mt(Ke,st,St){return Re(Ke,ke,st,St)}
function j (line 148) | function j(Ke){for(var st=0,St=0;St<Ke.length;++St){var lr=Ke.charCodeAt...
function rt (line 148) | function rt(Ke){var st=j(Ke)+1,St=La(st);return St&&Re(Ke,Ve,St,st),St}
function Fe (line 148) | function Fe(Ke,st){Ve.set(Ke,st)}
function Ne (line 148) | function Ne(Ke,st){return Ke%st>0&&(Ke+=st-Ke%st),Ke}
function z (line 148) | function z(Ke){Pe=Ke,r.HEAP_DATA_VIEW=F=new DataView(Ke),r.HEAP8=Ve=new ...
function Ct (line 148) | function Ct(){if(r.preRun)for(typeof r.preRun=="function"&&(r.preRun=[r....
function qt (line 148) | function qt(){lt=!0,Ts(xe)}
function ir (line 148) | function ir(){if(r.postRun)for(typeof r.postRun=="function"&&(r.postRun=...
function Pt (line 148) | function Pt(Ke){oe.unshift(Ke)}
function gn (line 148) | function gn(Ke){xe.unshift(Ke)}
function Pr (line 148) | function Pr(Ke){Te.unshift(Ke)}
function ai (line 148) | function ai(Ke){Ir++,r.monitorRunDependencies&&r.monitorRunDependencies(...
function Io (line 148) | function Io(Ke){if(Ir--,r.monitorRunDependencies&&r.monitorRunDependenci...
function rs (line 148) | function rs(Ke){r.onAbort&&r.onAbort(Ke),Ke+="",ee(Ke),Ce=!0,g=1,Ke="abo...
function Co (line 148) | function Co(Ke){return Ke.startsWith($s)}
function eo (line 148) | function eo(Ke){try{if(Ke==ji&&le)return new Uint8Array(le);var st=Me(Ke...
function wo (line 148) | function wo(Ke,st){var St,lr,te;try{te=eo(Ke),lr=new WebAssembly.Module(...
function QA (line 148) | function QA(){var Ke={a:cu};function st(te,Ee){var Oe=te.exports;r.asm=O...
function Af (line 148) | function Af(Ke){return F.getFloat32(Ke,!0)}
function dh (line 148) | function dh(Ke){return F.getFloat64(Ke,!0)}
function mh (line 148) | function mh(Ke){return F.getInt16(Ke,!0)}
function to (line 148) | function to(Ke){return F.getInt32(Ke,!0)}
function jn (line 148) | function jn(Ke,st){F.setInt32(Ke,st,!0)}
function Ts (line 148) | function Ts(Ke){for(;Ke.length>0;){var st=Ke.shift();if(typeof st=="func...
function ro (line 148) | function ro(Ke,st){var St=new Date(to((Ke>>2)*4)*1e3);jn((st>>2)*4,St.ge...
function ou (line 148) | function ou(Ke,st){return ro(Ke,st)}
function au (line 148) | function au(Ke,st,St){ke.copyWithin(Ke,st,st+St)}
function lu (line 148) | function lu(Ke){try{return Be.grow(Ke-Pe.byteLength+65535>>>16),z(Be.buf...
function TA (line 148) | function TA(Ke){var st=ke.length;Ke=Ke>>>0;var St=2147483648;if(Ke>St)re...
function RA (line 148) | function RA(Ke){ue(Ke)}
function oa (line 148) | function oa(Ke){var st=Date.now()/1e3|0;return Ke&&jn((Ke>>2)*4,st),st}
function aa (line 148) | function aa(){if(aa.called)return;aa.called=!0;var Ke=new Date().getFull...
function FA (line 148) | function FA(Ke){aa();var st=Date.UTC(to((Ke+20>>2)*4)+1900,to((Ke+16>>2)...
function Bo (line 148) | function Bo(Ke){if(typeof C=="boolean"&&C){var st;try{st=Buffer.from(Ke,...
function Me (line 148) | function Me(Ke){if(Co(Ke))return Bo(Ke.slice($s.length))}
function Ac (line 148) | function Ac(Ke){if(Ke=Ke||f,Ir>0||(Ct(),Ir>0))return;function st(){Qn||(...
method HEAPU8 (line 148) | get HEAPU8(){return t.HEAPU8}
function xj (line 148) | function xj(t,e){let r=t.indexOf(e);if(r<=0)return null;let s=r;for(;r>=...
method openPromise (line 148) | static async openPromise(e,r){let s=new t(r);try{return await e(s)}final...
method constructor (line 148) | constructor(e={}){let r=e.fileExtensions,s=e.readOnlyArchives,a=typeof r...
method constructor (line 148) | constructor(e,r){super(e),this.name="Libzip Error",this.code=r}
method constructor (line 148) | constructor(e){this.filesShouldBeCached=!0;let r="buffer"in e?e.buffer:e...
method getSymlinkCount (line 148) | getSymlinkCount(){return this.symlinkCount}
method getListings (line 148) | getListings(){return this.listings}
method stat (line 148) | stat(e){let r=this.libzip.struct.statS();if(this.libzip.statIndex(this.z...
method makeLibzipError (line 148) | makeLibzipError(e){let r=this.libzip.struct.errorCodeZip(e),s=this.libzi...
method setFileSource (line 148) | setFileSource(e,r,s){let a=this.allocateSource(s);try{let n=this.libzip....
method setMtime (line 148) | setMtime(e,r){if(this.libzip.file.setMtime(this.zip,e,0,r,0)===-1)throw ...
method getExternalAttributes (line 148) | getExternalAttributes(e){if(this.libzip.file.getExternalAttributes(this....
method setExternalAttributes (line 148) | setExternalAttributes(e,r,s){if(this.libzip.file.setExternalAttributes(t...
method locate (line 148) | locate(e){return this.libzip.name.locate(this.zip,e,0)}
method getFileSource (line 148) | getFileSource(e){let r=this.libzip.struct.statS();if(this.libzip.statInd...
method deleteEntry (line 148) | deleteEntry(e){if(this.libzip.delete(this.zip,e)===-1)throw this.makeLib...
method addDirectory (line 148) | addDirectory(e){let r=this.libzip.dir.add(this.zip,e);if(r===-1)throw th...
method getBufferAndClose (line 148) | getBufferAndClose(){try{if(this.libzip.source.keep(this.lzSource),this.l...
method allocateBuffer (line 148) | allocateBuffer(e){Buffer.isBuffer(e)||(e=Buffer.from(e));let r=this.libz...
method allocateUnattachedSource (line 148) | allocateUnattachedSource(e){let r=this.libzip.struct.errorS(),{buffer:s,...
method allocateSource (line 148) | allocateSource(e){let{buffer:r,byteLength:s}=this.allocateBuffer(e),a=th...
method discard (line 148) | discard(){this.libzip.discard(this.zip)}
function Ynt (line 148) | function Ynt(t){if(typeof t=="string"&&String(+t)===t)return+t;if(typeof...
function BT (line 148) | function BT(){return Buffer.from([80,75,5,6,0,0,0,0,0,0,0,0,0,0,0,0,0,0,...
method constructor (line 148) | constructor(r,s={}){super();this.listings=new Map;this.entries=new Map;t...
method getExtractHint (line 148) | getExtractHint(r){for(let s of this.entries.keys()){let a=this.pathUtils...
method getAllFiles (line 148) | getAllFiles(){return Array.from(this.entries.keys())}
method getRealPath (line 148) | getRealPath(){if(!this.path)throw new Error("ZipFS don't have real paths...
method prepareClose (line 148) | prepareClose(){if(!this.ready)throw or.EBUSY("archive closed, close");yd...
method getBufferAndClose (line 148) | getBufferAndClose(){if(this.prepareClose(),this.entries.size===0)return ...
method discardAndClose (line 148) | discardAndClose(){this.prepareClose(),this.zipImpl.discard(),this.ready=!1}
method saveAndClose (line 148) | saveAndClose(){if(!this.path||!this.baseFs)throw new Error("ZipFS cannot...
method resolve (line 148) | resolve(r){return J.resolve(vt.root,r)}
method openPromise (line 148) | async openPromise(r,s,a){return this.openSync(r,s,a)}
method openSync (line 148) | openSync(r,s,a){let n=this.nextFd++;return this.fds.set(n,{cursor:0,p:r}...
method hasOpenFileHandles (line 148) | hasOpenFileHandles(){return!!this.fds.size}
method opendirPromise (line 148) | async opendirPromise(r,s){return this.opendirSync(r,s)}
method opendirSync (line 148) | opendirSync(r,s={}){let a=this.resolveFilename(`opendir '${r}'`,r);if(!t...
method readPromise (line 148) | async readPromise(r,s,a,n,c){return this.readSync(r,s,a,n,c)}
method readSync (line 148) | readSync(r,s,a=0,n=s.byteLength,c=-1){let f=this.fds.get(r);if(typeof f>...
method writePromise (line 148) | async writePromise(r,s,a,n,c){return typeof s=="string"?this.writeSync(r...
method writeSync (line 148) | writeSync(r,s,a,n,c){throw typeof this.fds.get(r)>"u"?or.EBADF("read"):n...
method closePromise (line 148) | async closePromise(r){return this.closeSync(r)}
method closeSync (line 148) | closeSync(r){if(typeof this.fds.get(r)>"u")throw or.EBADF("read");this.f...
method createReadStream (line 148) | createReadStream(r,{encoding:s}={}){if(r===null)throw new Error("Unimple...
method createWriteStream (line 148) | createWriteStream(r,{encoding:s}={}){if(this.readOnly)throw or.EROFS(`op...
method realpathPromise (line 148) | async realpathPromise(r){return this.realpathSync(r)}
method realpathSync (line 148) | realpathSync(r){let s=this.resolveFilename(`lstat '${r}'`,r);if(!this.en...
method existsPromise (line 148) | async existsPromise(r){return this.existsSync(r)}
method existsSync (line 148) | existsSync(r){if(!this.ready)throw or.EBUSY(`archive closed, existsSync ...
method accessPromise (line 148) | async accessPromise(r,s){return this.accessSync(r,s)}
method accessSync (line 148) | accessSync(r,s=xa.constants.F_OK){let a=this.resolveFilename(`access '${...
method statPromise (line 148) | async statPromise(r,s={bigint:!1}){return s.bigint?this.statSync(r,{bigi...
method statSync (line 148) | statSync(r,s={bigint:!1,throwIfNoEntry:!0}){let a=this.resolveFilename(`...
method fstatPromise (line 148) | async fstatPromise(r,s){return this.fstatSync(r,s)}
method fstatSync (line 148) | fstatSync(r,s){let a=this.fds.get(r);if(typeof a>"u")throw or.EBADF("fst...
method lstatPromise (line 148) | async lstatPromise(r,s={bigint:!1}){return s.bigint?this.lstatSync(r,{bi...
method lstatSync (line 148) | lstatSync(r,s={bigint:!1,throwIfNoEntry:!0}){let a=this.resolveFilename(...
method statImpl (line 148) | statImpl(r,s,a={}){let n=this.entries.get(s);if(typeof n<"u"){let c=this...
method getUnixMode (line 148) | getUnixMode(r,s){let[a,n]=this.zipImpl.getExternalAttributes(r);return a...
method registerListing (line 148) | registerListing(r){let s=this.listings.get(r);if(s)return s;this.registe...
method registerEntry (line 148) | registerEntry(r,s){this.registerListing(J.dirname(r)).add(J.basename(r))...
method unregisterListing (line 148) | unregisterListing(r){this.listings.delete(r),this.listings.get(J.dirname...
method unregisterEntry (line 148) | unregisterEntry(r){this.unregisterListing(r);let s=this.entries.get(r);t...
method deleteEntry (line 148) | deleteEntry(r,s){this.unregisterEntry(r),this.zipImpl.deleteEntry(s)}
method resolveFilename (line 148) | resolveFilename(r,s,a=!0,n=!0){if(!this.ready)throw or.EBUSY(`archive cl...
method setFileSource (line 148) | setFileSource(r,s){let a=Buffer.isBuffer(s)?s:Buffer.from(s),n=J.relativ...
method isSymbolicLink (line 148) | isSymbolicLink(r){if(this.symlinkCount===0)return!1;let[s,a]=this.zipImp...
method getFileSource (line 148) | getFileSource(r,s={asyncDecompress:!1}){let a=this.fileSources.get(r);if...
method fchmodPromise (line 148) | async fchmodPromise(r,s){return this.chmodPromise(this.fdToPath(r,"fchmo...
method fchmodSync (line 148) | fchmodSync(r,s){return this.chmodSync(this.fdToPath(r,"fchmodSync"),s)}
method chmodPromise (line 148) | async chmodPromise(r,s){return this.chmodSync(r,s)}
method chmodSync (line 148) | chmodSync(r,s){if(this.readOnly)throw or.EROFS(`chmod '${r}'`);s&=493;le...
method fchownPromise (line 148) | async fchownPromise(r,s,a){return this.chownPromise(this.fdToPath(r,"fch...
method fchownSync (line 148) | fchownSync(r,s,a){return this.chownSync(this.fdToPath(r,"fchownSync"),s,a)}
method chownPromise (line 148) | async chownPromise(r,s,a){return this.chownSync(r,s,a)}
method chownSync (line 148) | chownSync(r,s,a){throw new Error("Unimplemented")}
method renamePromise (line 148) | async renamePromise(r,s){return this.renameSync(r,s)}
method renameSync (line 148) | renameSync(r,s){throw new Error("Unimplemented")}
method copyFilePromise (line 148) | async copyFilePromise(r,s,a){let{indexSource:n,indexDest:c,resolvedDestP...
method copyFileSync (line 148) | copyFileSync(r,s,a=0){let{indexSource:n,indexDest:c,resolvedDestP:f}=thi...
method prepareCopyFile (line 148) | prepareCopyFile(r,s,a=0){if(this.readOnly)throw or.EROFS(`copyfile '${r}...
method appendFilePromise (line 148) | async appendFilePromise(r,s,a){if(this.readOnly)throw or.EROFS(`open '${...
method appendFileSync (line 148) | appendFileSync(r,s,a={}){if(this.readOnly)throw or.EROFS(`open '${r}'`);...
method fdToPath (line 148) | fdToPath(r,s){let a=this.fds.get(r)?.p;if(typeof a>"u")throw or.EBADF(s)...
method writeFilePromise (line 148) | async writeFilePromise(r,s,a){let{encoding:n,mode:c,index:f,resolvedP:p}...
method writeFileSync (line 148) | writeFileSync(r,s,a){let{encoding:n,mode:c,index:f,resolvedP:p}=this.pre...
method prepareWriteFile (line 148) | prepareWriteFile(r,s){if(typeof r=="number"&&(r=this.fdToPath(r,"read"))...
method unlinkPromise (line 148) | async unlinkPromise(r){return this.unlinkSync(r)}
method unlinkSync (line 148) | unlinkSync(r){if(this.readOnly)throw or.EROFS(`unlink '${r}'`);let s=thi...
method utimesPromise (line 148) | async utimesPromise(r,s,a){return this.utimesSync(r,s,a)}
method utimesSync (line 148) | utimesSync(r,s,a){if(this.readOnly)throw or.EROFS(`utimes '${r}'`);let n...
method lutimesPromise (line 148) | async lutimesPromise(r,s,a){return this.lutimesSync(r,s,a)}
method lutimesSync (line 148) | lutimesSync(r,s,a){if(this.readOnly)throw or.EROFS(`lutimes '${r}'`);let...
method utimesImpl (line 148) | utimesImpl(r,s){this.listings.has(r)&&(this.entries.has(r)||this.hydrate...
method mkdirPromise (line 148) | async mkdirPromise(r,s){return this.mkdirSync(r,s)}
method mkdirSync (line 148) | mkdirSync(r,{mode:s=493,recursive:a=!1}={}){if(a)return this.mkdirpSync(...
method rmdirPromise (line 148) | async rmdirPromise(r,s){return this.rmdirSync(r,s)}
method rmdirSync (line 148) | rmdirSync(r,{recursive:s=!1}={}){if(this.readOnly)throw or.EROFS(`rmdir ...
method rmPromise (line 148) | async rmPromise(r,s){return this.rmSync(r,s)}
method rmSync (line 148) | rmSync(r,{recursive:s=!1}={}){if(this.readOnly)throw or.EROFS(`rm '${r}'...
method hydrateDirectory (line 148) | hydrateDirectory(r){let s=this.zipImpl.addDirectory(J.relative(vt.root,r...
method linkPromise (line 148) | async linkPromise(r,s){return this.linkSync(r,s)}
method linkSync (line 148) | linkSync(r,s){throw or.EOPNOTSUPP(`link '${r}' -> '${s}'`)}
method symlinkPromise (line 148) | async symlinkPromise(r,s){return this.symlinkSync(r,s)}
method symlinkSync (line 148) | symlinkSync(r,s){if(this.readOnly)throw or.EROFS(`symlink '${r}' -> '${s...
method readFilePromise (line 148) | async readFilePromise(r,s){typeof s=="object"&&(s=s?s.encoding:void 0);l...
method readFileSync (line 148) | readFileSync(r,s){typeof s=="object"&&(s=s?s.encoding:void 0);let a=this...
method readFileBuffer (line 148) | readFileBuffer(r,s={asyncDecompress:!1}){typeof r=="number"&&(r=this.fdT...
method readdirPromise (line 148) | async readdirPromise(r,s){return this.readdirSync(r,s)}
method readdirSync (line 148) | readdirSync(r,s){let a=this.resolveFilename(`scandir '${r}'`,r);if(!this...
method readlinkPromise (line 148) | async readlinkPromise(r){let s=this.prepareReadlink(r);return(await this...
method readlinkSync (line 148) | readlinkSync(r){let s=this.prepareReadlink(r);return this.getFileSource(...
method prepareReadlink (line 148) | prepareReadlink(r){let s=this.resolveFilename(`readlink '${r}'`,r,!1);if...
method truncatePromise (line 148) | async truncatePromise(r,s=0){let a=this.resolveFilename(`open '${r}'`,r)...
method truncateSync (line 148) | truncateSync(r,s=0){let a=this.resolveFilename(`open '${r}'`,r),n=this.e...
method ftruncatePromise (line 148) | async ftruncatePromise(r,s){return this.truncatePromise(this.fdToPath(r,...
method ftruncateSync (line 148) | ftruncateSync(r,s){return this.truncateSync(this.fdToPath(r,"ftruncateSy...
method watch (line 148) | watch(r,s,a){let n;switch(typeof s){case"function":case"string":case"und...
method watchFile (line 148) | watchFile(r,s,a){let n=J.resolve(vt.root,r);return sE(this,n,s,a)}
method unwatchFile (line 148) | unwatchFile(r,s){let a=J.resolve(vt.root,r);return md(this,a,s)}
function Cpe (line 148) | function Cpe(t,e,r=Buffer.alloc(0),s){let a=new As(r),n=C=>C===e||C.star...
method constructor (line 148) | constructor(e){this.filesShouldBeCached=!1;if("buffer"in e)throw new Err...
method readZipSync (line 148) | static readZipSync(e,r,s){if(s<uv)throw new Error("Invalid ZIP file: EOC...
method getExternalAttributes (line 148) | getExternalAttributes(e){let r=this.entries[e];return[r.os,r.externalAtt...
method getListings (line 148) | getListings(){return this.entries.map(e=>e.name)}
method getSymlinkCount (line 148) | getSymlinkCount(){let e=0;for(let r of this.entries)r.isSymbolicLink&&(e...
method stat (line 148) | stat(e){let r=this.entries[e];return{crc:r.crc,mtime:r.mtime,size:r.size}}
method locate (line 148) | locate(e){for(let r=0;r<this.entries.length;r++)if(this.entries[r].name=...
method getFileSource (line 148) | getFileSource(e){if(this.fd==="closed")throw new Error("ZIP file is clos...
method discard (line 148) | discard(){this.fd!=="closed"&&(this.baseFs.closeSync(this.fd),this.fd="c...
method addDirectory (line 148) | addDirectory(e){throw new Error("Not implemented")}
method deleteEntry (line 148) | deleteEntry(e){throw new Error("Not implemented")}
method setMtime (line 148) | setMtime(e,r){throw new Error("Not implemented")}
method getBufferAndClose (line 148) | getBufferAndClose(){throw new Error("Not implemented")}
method setFileSource (line 148) | setFileSource(e,r,s){throw new Error("Not implemented")}
method setExternalAttributes (line 148) | setExternalAttributes(e,r,s){throw new Error("Not implemented")}
function Vnt (line 148) | function Vnt(){return cv()}
function Jnt (line 148) | async function Jnt(){return cv()}
method constructor (line 148) | constructor(){super(...arguments);this.cwd=ge.String("--cwd",process.cwd...
method execute (line 158) | async execute(){let r=this.args.length>0?`${this.commandName} ${this.arg...
method constructor (line 158) | constructor(e){super(e),this.name="ShellError"}
function Knt (line 158) | function Knt(t){if(!DT.default.scan(t,bT).isGlob)return!1;try{DT.default...
function znt (line 158) | function znt(t,{cwd:e,baseFs:r}){return(0,Ppe.default)(t,{...kpe,cwd:fe....
function Lj (line 158) | function Lj(t){return DT.default.scan(t,bT).isBrace}
function Mj (line 158) | function Mj(){}
function Uj (line 158) | function Uj(){for(let t of cm)t.kill()}
function Npe (line 158) | function Npe(t,e,r,s){return a=>{let n=a[0]instanceof tA.Transform?"pipe...
function Ope (line 161) | function Ope(t){return e=>{let r=e[0]==="pipe"?new tA.PassThrough:e[0];r...
function xT (line 161) | function xT(t,e){return Hj.start(t,e)}
function Tpe (line 161) | function Tpe(t,e=null){let r=new tA.PassThrough,s=new Fpe.StringDecoder,...
function Lpe (line 162) | function Lpe(t,{prefix:e}){return{stdout:Tpe(r=>t.stdout.write(`${r}
method constructor (line 164) | constructor(e){this.stream=e}
method close (line 164) | close(){}
method get (line 164) | get(){return this.stream}
method constructor (line 164) | constructor(){this.stream=null}
method close (line 164) | close(){if(this.stream===null)throw new Error("Assertion failed: No stre...
method attach (line 164) | attach(e){this.stream=e}
method get (line 164) | get(){if(this.stream===null)throw new Error("Assertion failed: No stream...
method constructor (line 164) | constructor(e,r){this.stdin=null;this.stdout=null;this.stderr=null;this....
method start (line 164) | static start(e,{stdin:r,stdout:s,stderr:a}){let n=new t(null,e);return n...
method pipeTo (line 164) | pipeTo(e,r=1){let s=new t(this,e),a=new _j;return s.pipe=a,s.stdout=this...
method exec (line 164) | async exec(){let e=["ignore","ignore","ignore"];if(this.pipe)e[0]="pipe"...
method run (line 164) | async run(){let e=[];for(let s=this;s;s=s.ancestor)e.push(s.exec());retu...
function Mpe (line 164) | function Mpe(t,e,r){let s=new Jl.PassThrough({autoDestroy:!0});switch(t)...
function QT (line 164) | function QT(t,e={}){let r={...t,...e};return r.environment={...t.environ...
function Znt (line 164) | async function Znt(t,e,r){let s=[],a=new Jl.PassThrough;return a.on("dat...
function Upe (line 164) | async function Upe(t,e,r){let s=t.map(async n=>{let c=await um(n.args,e,...
function kT (line 164) | function kT(t){return t.match(/[^ \r\n\t]+/g)||[]}
function Wpe (line 164) | async function Wpe(t,e,r,s,a=s){switch(t.name){case"$":s(String(process....
function hv (line 164) | async function hv(t,e,r){if(t.type==="number"){if(Number.isInteger(t.val...
function um (line 164) | async function um(t,e,r){let s=new Map,a=[],n=[],c=E=>{n.push(E)},f=()=>...
function gv (line 164) | function gv(t,e,r){e.builtins.has(t[0])||(t=["command",...t]);let s=fe.f...
function eit (line 164) | function eit(t,e,r){return s=>{let a=new Jl.PassThrough,n=TT(t,e,QT(r,{s...
function tit (line 164) | function tit(t,e,r){return s=>{let a=new Jl.PassThrough,n=TT(t,e,r);retu...
function _pe (line 164) | function _pe(t,e,r,s){if(e.length===0)return t;{let a;do a=String(Math.r...
function Hpe (line 164) | async function Hpe(t,e,r){let s=t,a=null,n=null;for(;s;){let c=s.then?{....
function rit (line 164) | async function rit(t,e,r,{background:s=!1}={}){function a(n){let c=["#2E...
function nit (line 166) | async function nit(t,e,r,{background:s=!1}={}){let a,n=f=>{a=f,r.variabl...
function TT (line 167) | async function TT(t,e,r){let s=r.backgroundJobs;r.backgroundJobs=[];let ...
function Ype (line 167) | function Ype(t){switch(t.type){case"variable":return t.name==="@"||t.nam...
function dv (line 167) | function dv(t){switch(t.type){case"redirection":return t.args.some(e=>dv...
function Gj (line 167) | function Gj(t){switch(t.type){case"variable":return Ype(t);case"number":...
function qj (line 167) | function qj(t){return t.some(({command:e})=>{for(;e;){let r=e.chain;for(...
function vI (line 167) | async function vI(t,e=[],{baseFs:r=new Yn,builtins:s={},cwd:a=fe.toPorta...
method write (line 170) | write(ie,ue,le){setImmediate(le)}
function iit (line 170) | function iit(){var t=0,e=1,r=2,s=3,a=4,n=5,c=6,f=7,p=8,h=9,E=10,C=11,S=1...
function oit (line 170) | function oit(){if(FT)return FT;if(typeof Intl.Segmenter<"u"){let t=new I...
function the (line 170) | function the(t,{configuration:e,json:r}){if(!e.get("enableMessageNames")...
function Wj (line 170) | function Wj(t,{configuration:e,json:r}){let s=the(t,{configuration:e,jso...
function SI (line 170) | async function SI({configuration:t,stdout:e,forceError:r},s){let a=await...
method constructor (line 175) | constructor({configuration:r,stdout:s,json:a=!1,forceSectionAlignment:n=...
method start (line 175) | static async start(r,s){let a=new this(r),n=process.emitWarning;process....
method hasErrors (line 175) | hasErrors(){return this.errorCount>0}
method exitCode (line 175) | exitCode(){return this.hasErrors()?1:0}
method getRecommendedLength (line 175) | getRecommendedLength(){let s=this.progressStyle!==null?this.stdout.colum...
method startSectionSync (line 175) | startSectionSync({reportHeader:r,reportFooter:s,skipIfEmpty:a},n){let c=...
method startSectionPromise (line 175) | async startSectionPromise({reportHeader:r,reportFooter:s,skipIfEmpty:a},...
method startTimerImpl (line 175) | startTimerImpl(r,s,a){return{cb:typeof s=="function"?s:a,reportHeader:()...
method startTimerSync (line 175) | startTimerSync(r,s,a){let{cb:n,...c}=this.startTimerImpl(r,s,a);return t...
method startTimerPromise (line 175) | async startTimerPromise(r,s,a){let{cb:n,...c}=this.startTimerImpl(r,s,a)...
method reportSeparator (line 175) | reportSeparator(){this.indent===0?this.writeLine(""):this.reportInfo(nul...
method reportInfo (line 175) | reportInfo(r,s){if(!this.includeInfos)return;this.commit();let a=this.fo...
method reportWarning (line 175) | reportWarning(r,s){if(this.warningCount+=1,!this.includeWarnings)return;...
method reportError (line 175) | reportError(r,s){this.errorCount+=1,this.timerFooter.push(()=>this.repor...
method reportErrorImpl (line 175) | reportErrorImpl(r,s){this.commit();let a=this.formatNameWithHyperlink(r)...
method reportFold (line 175) | reportFold(r,s){if(!D0)return;let a=`${D0.start(r)}${s}${D0.end(r)}`;thi...
method reportProgress (line 175) | reportProgress(r){if(this.progressStyle===null)return{...Promise.resolve...
method reportJson (line 175) | reportJson(r){this.json&&this.writeLine(`${JSON.stringify(r)}`)}
method finalize (line 175) | async finalize(){if(!this.includeFooter)return;let r="";this.errorCount>...
method writeLine (line 175) | writeLine(r,{truncate:s}={}){this.clearProgress({clear:!0}),this.stdout....
method writeLines (line 176) | writeLines(r,{truncate:s}={}){this.clearProgress({delta:r.length});for(l...
method commit (line 177) | commit(){let r=this.uncommitted;this.uncommitted=new Set;for(let s of r)...
method clearProgress (line 177) | clearProgress({delta:r=0,clear:s=!1}){this.progressStyle!==null&&this.pr...
method writeProgress (line 177) | writeProgress(){if(this.progressStyle===null||(this.progressTimeout!==nu...
method refreshProgress (line 178) | refreshProgress({delta:r=0,force:s=!1}={}){let a=!1,n=!1;if(s||this.prog...
method truncate (line 178) | truncate(r,{truncate:s}={}){return this.progressStyle===null&&(s=!1),typ...
method formatName (line 178) | formatName(r){return this.includeNames?the(r,{configuration:this.configu...
method formatPrefix (line 178) | formatPrefix(r,s){return this.includePrefix?`${Ht(this.configuration,"\u...
method formatNameWithHyperlink (line 178) | formatNameWithHyperlink(r){return this.includeNames?Wj(r,{configuration:...
method formatIndent (line 178) | formatIndent(){return this.level>0||!this.forceSectionAlignment?"\u2502 ...
function b0 (line 178) | async function b0(t,e,r,s=[]){if(process.platform==="win32"){let a=`@got...
function ihe (line 180) | async function ihe(t){let e=await Ut.tryFind(t);if(e?.packageManager){le...
function Iv (line 180) | async function Iv({project:t,locator:e,binFolder:r,ignoreCorepack:s,life...
function pit (line 180) | async function pit(t,e,{configuration:r,report:s,workspace:a=null,locato...
function hit (line 188) | async function hit(t,e,{project:r}){let s=r.tryWorkspaceByLocator(t);if(...
function LT (line 188) | async function LT(t,e,r,{cwd:s,project:a,stdin:n,stdout:c,stderr:f}){ret...
function Yj (line 188) | async function Yj(t,e,r,{cwd:s,project:a,stdin:n,stdout:c,stderr:f}){ret...
function git (line 188) | async function git(t,{binFolder:e,cwd:r,lifecycleScript:s}){let a=await ...
function she (line 188) | async function she(t,{project:e,binFolder:r,cwd:s,lifecycleScript:a}){le...
function ohe (line 188) | async function ohe(t,e,r,{cwd:s,stdin:a,stdout:n,stderr:c}){return await...
function Vj (line 188) | function Vj(t,e){return t.manifest.scripts.has(e)}
function ahe (line 188) | async function ahe(t,e,{cwd:r,report:s}){let{configuration:a}=t.project,...
function dit (line 189) | async function dit(t,e,r){Vj(t,e)&&await ahe(t,e,r)}
function Jj (line 189) | function Jj(t){let e=J.extname(t);if(e.match(/\.[cm]?[jt]sx?$/))return!0...
function MT (line 189) | async function MT(t,{project:e}){let r=e.configuration,s=new Map,a=e.sto...
function lhe (line 189) | async function lhe(t){return await MT(t.anchoredLocator,{project:t.proje...
function Kj (line 189) | async function Kj(t,e){await Promise.all(Array.from(e,([r,[,s,a]])=>a?b0...
function che (line 189) | async function che(t,e,r,{cwd:s,project:a,stdin:n,stdout:c,stderr:f,node...
function mit (line 189) | async function mit(t,e,r,{cwd:s,stdin:a,stdout:n,stderr:c,packageAccessi...
method constructor (line 189) | constructor(e,r,s){this.src=e,this.dest=r,this.opts=s,this.ondrain=()=>e...
method unpipe (line 189) | unpipe(){this.dest.removeListener("drain",this.ondrain)}
method proxyErrors (line 189) | proxyErrors(){}
method end (line 189) | end(){this.unpipe(),this.opts.end&&this.dest.end()}
method unpipe (line 189) | unpipe(){this.src.removeListener("error",this.proxyErrors),super.unpipe()}
method constructor (line 189) | constructor(e,r,s){super(e,r,s),this.proxyErrors=a=>r.emit("error",a),e....
method constructor (line 189) | constructor(e){super(),this[jT]=!1,this[wv]=!1,this.pipes=[],this.buffer...
method bufferLength (line 189) | get bufferLength(){return this[Ys]}
method encoding (line 189) | get encoding(){return this[ul]}
method encoding (line 189) | set encoding(e){if(this[Ko])throw new Error("cannot set encoding in obje...
method setEncoding (line 189) | setEncoding(e){this.encoding=e}
method objectMode (line 189) | get objectMode(){return this[Ko]}
method objectMode (line 189) | set objectMode(e){this[Ko]=this[Ko]||!!e}
method async (line 189) | get async(){return this[Gp]}
method async (line 189) | set async(e){this[Gp]=this[Gp]||!!e}
method write (line 189) | write(e,r,s){if(this[_p])throw new Error("write after end");if(this[zo])...
method read (line 189) | read(e){if(this[zo])return null;if(this[Ys]===0||e===0||e>this[Ys])retur...
method [ghe] (line 189) | [ghe](e,r){return e===r.length||e===null?this[Zj]():(this.buffer[0]=r.sl...
method end (line 189) | end(e,r,s){return typeof e=="function"&&(s=e,e=null),typeof r=="function...
method [bI] (line 189) | [bI](){this[zo]||(this[wv]=!1,this[jT]=!0,this.emit("resume"),this.buffe...
method resume (line 189) | resume(){return this[bI]()}
method pause (line 189) | pause(){this[jT]=!1,this[wv]=!0}
method destroyed (line 189) | get destroyed(){return this[zo]}
method flowing (line 189) | get flowing(){return this[jT]}
method paused (line 189) | get paused(){return this[wv]}
method [Xj] (line 189) | [Xj](e){this[Ko]?this[Ys]+=1:this[Ys]+=e.length,this.buffer.push(e)}
method [Zj] (line 189) | [Zj](){return this.buffer.length&&(this[Ko]?this[Ys]-=1:this[Ys]-=this.b...
method [HT] (line 189) | [HT](e){do;while(this[dhe](this[Zj]()));!e&&!this.buffer.length&&!this[_...
method [dhe] (line 189) | [dhe](e){return e?(this.emit("data",e),this.flowing):!1}
method pipe (line 189) | pipe(e,r){if(this[zo])return;let s=this[x0];return r=r||{},e===Ahe.stdou...
method unpipe (line 189) | unpipe(e){let r=this.pipes.find(s=>s.dest===e);r&&(this.pipes.splice(thi...
method addListener (line 189) | addListener(e,r){return this.on(e,r)}
method on (line 189) | on(e,r){let s=super.on(e,r);return e==="data"&&!this.pipes.length&&!this...
method emittedEnd (line 189) | get emittedEnd(){return this[x0]}
method [Hp] (line 189) | [Hp](){!this[UT]&&!this[x0]&&!this[zo]&&this.buffer.length===0&&this[_p]...
method emit (line 189) | emit(e,r,...s){if(e!=="error"&&e!=="close"&&e!==zo&&this[zo])return;if(e...
method [$j] (line 189) | [$j](e){for(let s of this.pipes)s.dest.write(e)===!1&&this.pause();let r...
method [mhe] (line 189) | [mhe](){this[x0]||(this[x0]=!0,this.readable=!1,this[Gp]?Bv(()=>this[e6]...
method [e6] (line 189) | [e6](){if(this[jp]){let r=this[jp].end();if(r){for(let s of this.pipes)s...
method collect (line 189) | collect(){let e=[];this[Ko]||(e.dataLength=0);let r=this.promise();retur...
method concat (line 189) | concat(){return this[Ko]?Promise.reject(new Error("cannot concat in obje...
method promise (line 189) | promise(){return new Promise((e,r)=>{this.on(zo,()=>r(new Error("stream ...
method [Eit] (line 189) | [Eit](){return{next:()=>{let r=this.read();if(r!==null)return Promise.re...
method [Iit] (line 189) | [Iit](){return{next:()=>{let r=this.read();return{value:r,done:r===null}}}}
method destroy (line 189) | destroy(e){return this[zo]?(e?this.emit("error",e):this.emit(zo),this):(...
method isStream (line 189) | static isStream(e){return!!e&&(e instanceof Ehe||e instanceof phe||e ins...
method constructor (line 189) | constructor(e){super("zlib: "+e.message),this.code=e.code,this.errno=e.e...
method name (line 189) | get name(){return"ZlibError"}
method constructor (line 189) | constructor(e,r){if(!e||typeof e!="object")throw new TypeError("invalid ...
method close (line 189) | close(){this[Ii]&&(this[Ii].close(),this[Ii]=null,this.emit("close"))}
method reset (line 189) | reset(){if(!this[xI])return o6(this[Ii],"zlib binding closed"),this[Ii]....
method flush (line 189) | flush(e){this.ended||(typeof e!="number"&&(e=this[d6]),this.write(Object...
method end (line 189) | end(e,r,s){return e&&this.write(e,r),this.flush(this[vhe]),this[i6]=!0,s...
method ended (line 189) | get ended(){return this[i6]}
method write (line 189) | write(e,r,s){if(typeof r=="function"&&(s=r,r="utf8"),typeof e=="string"&...
method [Am] (line 189) | [Am](e){return super.write(e)}
method constructor (line 189) | constructor(e,r){e=e||{},e.flush=e.flush||fm.Z_NO_FLUSH,e.finishFlush=e....
method params (line 189) | params(e,r){if(!this[xI]){if(!this[Ii])throw new Error("cannot switch pa...
method constructor (line 189) | constructor(e){super(e,"Deflate")}
method constructor (line 189) | constructor(e){super(e,"Inflate")}
method constructor (line 189) | constructor(e){super(e,"Gzip"),this[s6]=e&&!!e.portable}
method [Am] (line 189) | [Am](e){return this[s6]?(this[s6]=!1,e[9]=255,super[Am](e)):super[Am](e)}
method constructor (line 189) | constructor(e){super(e,"Gunzip")}
method constructor (line 189) | constructor(e){super(e,"DeflateRaw")}
method constructor (line 189) | constructor(e){super(e,"InflateRaw")}
method constructor (line 189) | constructor(e){super(e,"Unzip")}
method constructor (line 189) | constructor(e,r){e=e||{},e.flush=e.flush||fm.BROTLI_OPERATION_PROCESS,e....
method constructor (line 189) | constructor(e){super(e,"BrotliCompress")}
method constructor (line 189) | constructor(e){super(e,"BrotliDecompress")}
method constructor (line 189) | constructor(){throw new Error("Brotli is not supported in this version o...
method constructor (line 189) | constructor(e,r,s){switch(super(),this.pause(),this.extended=r,this.glob...
method write (line 189) | write(e){let r=e.length;if(r>this.blockRemain)throw new Error("writing m...
method [E6] (line 189) | [E6](e,r){for(let s in e)e[s]!==null&&e[s]!==void 0&&!(r&&s==="path")&&(...
method constructor (line 189) | constructor(e,r,s,a){this.cksumValid=!1,this.needPax=!1,this.nullBlock=!...
method decode (line 189) | decode(e,r,s,a){if(r||(r=0),!e||!(e.length>=r+512))throw new Error("need...
method [w6] (line 189) | [w6](e,r){for(let s in e)e[s]!==null&&e[s]!==void 0&&!(r&&s==="path")&&(...
method encode (line 189) | encode(e,r){if(e||(e=this.block=Buffer.alloc(512),r=0),r||(r=0),!(e.leng...
method set (line 189) | set(e){for(let r in e)e[r]!==null&&e[r]!==void 0&&(this[r]=e[r])}
method type (line 189) | get type(){return C6.name.get(this[zl])||this[zl]}
method typeKey (line 189) | get typeKey(){return this[zl]}
method type (line 189) | set type(e){C6.code.has(e)?this[zl]=C6.code.get(e):this[zl]=e}
method constructor (line 189) | constructor(e,r){this.atime=e.atime||null,this.charset=e.charset||null,t...
method encode (line 189) | encode(){let e=this.encodeBody();if(e==="")return null;let r=Buffer.byte...
method encodeBody (line 189) | encodeBody(){return this.encodeField("path")+this.encodeField("ctime")+t...
method encodeField (line 189) | encodeField(e){if(this[e]===null||this[e]===void 0)return"";let r=this[e...
method warn (line 191) | warn(e,r,s={}){this.file&&(s.file=this.file),this.cwd&&(s.cwd=this.cwd),...
method constructor (line 191) | constructor(e,r){if(r=r||{},super(r),typeof e!="string")throw new TypeEr...
method emit (line 191) | emit(e,...r){return e==="error"&&(this[Vhe]=!0),super.emit(e,...r)}
method [Q6] (line 191) | [Q6](){nA.lstat(this.absolute,(e,r)=>{if(e)return this.emit("error",e);t...
method [$T] (line 191) | [$T](e){this.statCache.set(this.absolute,e),this.stat=e,e.isFile()||(e.s...
method [Ghe] (line 191) | [Ghe](){switch(this.type){case"File":return this[qhe]();case"Directory":...
method [eR] (line 191) | [eR](e){return e0e(e,this.type==="Directory",this.portable)}
method [iA] (line 191) | [iA](e){return Xhe(e,this.prefix)}
method [Dv] (line 191) | [Dv](){this.type==="Directory"&&this.portable&&(this.noMtime=!0),this.he...
method [Whe] (line 191) | [Whe](){this.path.substr(-1)!=="/"&&(this.path+="/"),this.stat.size=0,th...
method [k6] (line 191) | [k6](){nA.readlink(this.absolute,(e,r)=>{if(e)return this.emit("error",e...
method [R6] (line 191) | [R6](e){this.linkpath=rA(e),this[Dv](),this.end()}
method [Yhe] (line 191) | [Yhe](e){this.type="Link",this.linkpath=rA(jhe.relative(this.cwd,e)),thi...
method [qhe] (line 191) | [qhe](){if(this.stat.nlink>1){let e=this.stat.dev+":"+this.stat.ino;if(t...
method [F6] (line 191) | [F6](){nA.open(this.absolute,"r",(e,r)=>{if(e)return this.emit("error",e...
method [N6] (line 191) | [N6](e){if(this.fd=e,this[Vhe])return this[R0]();this.blockLen=512*Math....
method [ZT] (line 191) | [ZT](){let{fd:e,buf:r,offset:s,length:a,pos:n}=this;nA.read(e,r,s,a,n,(c...
method [R0] (line 191) | [R0](e){nA.close(this.fd,e)}
method [T6] (line 191) | [T6](e){if(e<=0&&this.remain>0){let a=new Error("encountered unexpected ...
method [O6] (line 191) | [O6](e){this.once("drain",e)}
method write (line 191) | write(e){if(this.blockRemain<e.length){let r=new Error("writing more dat...
method [x6] (line 191) | [x6](){if(!this.remain)return this.blockRemain&&super.write(Buffer.alloc...
method [Q6] (line 191) | [Q6](){this[$T](nA.lstatSync(this.absolute))}
method [k6] (line 191) | [k6](){this[R6](nA.readlinkSync(this.absolute))}
method [F6] (line 191) | [F6](){this[N6](nA.openSync(this.absolute,"r"))}
method [ZT] (line 191) | [ZT](){let e=!0;try{let{fd:r,buf:s,offset:a,length:n,pos:c}=this,f=nA.re...
method [O6] (line 191) | [O6](e){e()}
method [R0]
Copy disabled (too large)
Download .json
Condensed preview — 221 files, each showing path, character count, and a content snippet. Download the .json file for the full structured content (23,159K chars).
[
{
"path": ".cliff-jumperrc.yml",
"chars": 282,
"preview": "name: graphql-pokemon\npackagePath: .\norg: favware\nmonoRepo: false\ncommitMessageTemplate: 'chore(release): release {{new-"
},
{
"path": ".eslintignore",
"chars": 33,
"preview": "tests/testUtils/types/types.d.ts\n"
},
{
"path": ".eslintrc",
"chars": 582,
"preview": "{\n \"extends\": [\"@sapphire\"],\n \"rules\": {\n \"@typescript-eslint/unified-signatures\": \"off\",\n \"@typescript-eslint/u"
},
{
"path": ".github/CODEOWNERS",
"chars": 77,
"preview": "/ @favna # Favna is the core developer and is codeowner of all the sourcecode"
},
{
"path": ".github/CODE_OF_CONDUCT.md",
"chars": 3217,
"preview": "# Contributor Covenant Code of Conduct\n\n## Our Pledge\n\nIn the interest of fostering an open and welcoming environment, w"
},
{
"path": ".github/CONTRIBUTING.md",
"chars": 1119,
"preview": "# Contributing\n\n**The issue tracker is only for bug reports and enhancement suggestions. If you have a question, please "
},
{
"path": ".github/FUNDING.yml",
"chars": 535,
"preview": "# These are supported funding model platforms\ngithub: [favna]\npatreon: favna\nopen_collective: # Replace with a single Op"
},
{
"path": ".github/ISSUE_TEMPLATE/bug_report.yml",
"chars": 1777,
"preview": "name: Bug Report\ndescription: File a bug report here\ntitle: 'bug: '\nlabels: ['Bug: Unverified']\nbody:\n - type: markdown"
},
{
"path": ".github/ISSUE_TEMPLATE/config.yml",
"chars": 182,
"preview": "blank_issues_enabled: false\ncontact_links:\n - name: Discord server\n url: https://join.favware.tech\n about: Please"
},
{
"path": ".github/ISSUE_TEMPLATE/feature_request.yml",
"chars": 1763,
"preview": "name: Feature request\ndescription: Suggest an idea for this project\ntitle: 'request: '\nlabels: ['Meta: Feature']\nbody:\n "
},
{
"path": ".github/SECURITY.md",
"chars": 495,
"preview": "# Security Policy\n\n## Supported Versions\n\n| Version | Supported |\n| -------- | ------------------ |\n| >= 8.x.x"
},
{
"path": ".github/hooks/commit-msg",
"chars": 36,
"preview": "#!/bin/sh\n\nyarn commitlint --edit $1"
},
{
"path": ".github/hooks/pre-commit",
"chars": 27,
"preview": "#!/bin/sh\n\nyarn lint-staged"
},
{
"path": ".github/problemMatchers/eslint.json",
"chars": 422,
"preview": "{\n \"problemMatcher\": [\n {\n \"owner\": \"eslint-stylish\",\n \"pattern\": [\n {\n \"regexp\": \"^([^\\\\s"
},
{
"path": ".github/problemMatchers/tsc.json",
"chars": 380,
"preview": "{\n \"problemMatcher\": [\n {\n \"owner\": \"tsc\",\n \"pattern\": [\n {\n \"regexp\": \"^(?:\\\\s+\\\\d+\\\\>)?("
},
{
"path": ".github/renovate.json",
"chars": 300,
"preview": "{\n \"$schema\": \"https://docs.renovatebot.com/renovate-schema.json\",\n \"extends\": [\"github>sapphiredev/.github:sapphire-r"
},
{
"path": ".github/workflows/auto-updater.yml",
"chars": 3168,
"preview": "name: Automatic Data Update\n\non:\n schedule:\n - cron: '0 0 * * *'\n workflow_dispatch:\n\njobs:\n DataUpdater:\n name"
},
{
"path": ".github/workflows/branch-imager.yml",
"chars": 1566,
"preview": "name: Branch Imager\n\non:\n push:\n branches-ignore:\n - main\n\njobs:\n Publish:\n name: Publish image to containe"
},
{
"path": ".github/workflows/continuous-deployment.yml",
"chars": 9033,
"preview": "name: Continuous Deployment\n\non:\n push:\n branches:\n - main\n paths:\n - src/**\n - .github/workflows/"
},
{
"path": ".github/workflows/continuous-integration.yml",
"chars": 1975,
"preview": "name: Continuous Integration\n\non:\n pull_request:\n\njobs:\n Linting:\n name: Linting\n runs-on: ubuntu-latest\n ste"
},
{
"path": ".github/workflows/labelsync.yml",
"chars": 588,
"preview": "name: Automatic Label Sync\n\non:\n schedule:\n - cron: '0 0 * * *'\n workflow_dispatch:\n\njobs:\n label_sync:\n name: "
},
{
"path": ".github/workflows/static-documentation.yml",
"chars": 1399,
"preview": "name: Deploy static content to Pages\n\non:\n push:\n branches:\n - main\n workflow_dispatch:\n\npermissions:\n conten"
},
{
"path": ".gitignore",
"chars": 389,
"preview": "# Dependencies\nnode_modules/\n\n# Misc\n.DS_Store\n.env\n.env.local\n.env.development.local\n.env.test.local\n.env.production.lo"
},
{
"path": ".prettierrc.mjs",
"chars": 490,
"preview": "import sapphirePrettierConfig from '@sapphire/prettier-config';\n\nexport default {\n ...sapphirePrettierConfig,\n useTabs"
},
{
"path": ".vscode/extensions.json",
"chars": 137,
"preview": "{\n \"recommendations\": [\"graphql.vscode-graphql\", \"graphql.vscode-graphql-syntax\", \"dbaeumer.vscode-eslint\", \"esbenp.pre"
},
{
"path": ".vscode/launch.json",
"chars": 501,
"preview": "{\n \"configurations\": [\n {\n \"type\": \"pwa-node\",\n \"request\": \"launch\",\n \"runtimeArgs\": [\"run-script\", \""
},
{
"path": ".vscode/settings.json",
"chars": 268,
"preview": "{\n \"editor.defaultFormatter\": \"esbenp.prettier-vscode\",\n \"[javascript]\": {\n \"editor.defaultFormatter\": \"esbenp.pret"
},
{
"path": ".yarn/patches/graphql-npm-16.11.0-836e6ade28.patch",
"chars": 5150,
"preview": "diff --git a/package.json b/package.json\nindex d4d6e112be345bf616cdd042a9f55ac0b1e2d5bf..129889dd7f10af43dac65e41231b566"
},
{
"path": ".yarn/plugins/@yarnpkg/plugin-git-hooks.cjs",
"chars": 6326,
"preview": "/* eslint-disable */\n//prettier-ignore\nmodule.exports = {\nname: \"@yarnpkg/plugin-git-hooks\",\nfactory: function (require)"
},
{
"path": ".yarn/releases/yarn-4.12.0.cjs",
"chars": 2992830,
"preview": "#!/usr/bin/env node\n/* eslint-disable */\n//prettier-ignore\n(()=>{var xGe=Object.create;var mU=Object.defineProperty;var "
},
{
"path": ".yarnrc.yml",
"chars": 332,
"preview": "compressionLevel: mixed\n\nenableGlobalCache: true\n\ngitHooksPath: .github/hooks\n\nnodeLinker: node-modules\n\nplugins:\n - pa"
},
{
"path": "CHANGELOG.md",
"chars": 121904,
"preview": "# Changelog\n\nAll notable changes to this project will be documented in this file.\n\n# [8.8.1](https://github.com/favware/"
},
{
"path": "Dockerfile",
"chars": 1353,
"preview": "# ================ #\n# Base Stage #\n# ================ #\n\nFROM node:24-alpine AS base\n\nWORKDIR /usr/src/app\n\nENV Y"
},
{
"path": "LICENSE.md",
"chars": 1078,
"preview": "# The MIT License (MIT)\n\nCopyright © `2019` `Favware`\n\nPermission is hereby granted, free of charge, to any person\nobtai"
},
{
"path": "README.md",
"chars": 9490,
"preview": "<div align=\"center\">\n\n[<img height=\"200\" src=\"https://cdn.favware.tech/img/gqlp.png\" alt=\"ArchAngel\"/>][dashboard]\n\n# [`"
},
{
"path": "cliff.toml",
"chars": 2171,
"preview": "[changelog]\nheader = \"\"\"\n# Changelog\n\nAll notable changes to this project will be documented in this file.\\n\n\"\"\"\nbody = "
},
{
"path": "codegen.yml",
"chars": 327,
"preview": "overwrite: true\nschema: http://localhost:4000\ngenerates:\n ./codegen/graphql-pokemon.ts:\n plugins:\n - typescript"
},
{
"path": "docker-compose.yml",
"chars": 481,
"preview": "services:\n pokedex:\n build: ./\n container_name: graphql-pokemon\n image: 'favware/graphql-pokemon:latest'\n n"
},
{
"path": "docs/magidoc.mjs",
"chars": 3336,
"preview": "import { fileURLToPath } from 'node:url';\n\nconst { pages } = await import('./pages.mjs');\n\nconst CommonDescription = 'Ex"
},
{
"path": "docs/pages/01.Introduction/01.Welcome.md",
"chars": 915,
"preview": "# Welcome\n\nWelcome to the `graphql-pokemon` project!\n\nThis projects contains a GraphQL API for retrieving information ab"
},
{
"path": "docs/pages/01.Introduction/02.JavaScript Examples.md",
"chars": 3436,
"preview": "# JavaScript Examples\n\n_These examples are written as based on TypeScript. For JavaScript simply change\nout the imports "
},
{
"path": "docs/pages/02.Utilities/01.Utilities.md",
"chars": 9150,
"preview": "# Utilities\n\nThe API also publishes an npm library called\n[`@favware/graphql-pokemon`](https://www.github.com/favware/gr"
},
{
"path": "docs/pages.mjs",
"chars": 1731,
"preview": "/**\n * MIT License\n * Copyright (c) 2022 Sunny Pelletier\n */\n\nimport { readdir, readFile, stat } from 'node:fs/promises'"
},
{
"path": "docs/static/styles/custom.css",
"chars": 225,
"preview": ".customUnorderedList {\n padding: 0;\n}\n\n.customListItem {\n display: flex;\n align-items: center;\n margin-bottom: 10px;"
},
{
"path": "graphql/enums.graphql",
"chars": 46610,
"preview": "\"The supported abilities\"\nenum AbilitiesEnum {\n adaptability\n aerilate\n aftermath\n airlock\n analytic\n angerpoint\n "
},
{
"path": "graphql/resolvers.graphql",
"chars": 8224,
"preview": "type Query {\n \"Gets the details on a Pokémon ability, using the ability name\"\n getAbility(\"The ability to look up\" abi"
},
{
"path": "graphql/schema.graphql",
"chars": 12674,
"preview": "\"A single Pokémon ability entry\"\ntype Ability {\n \"The key of the ability as stored in the API\"\n key: AbilitiesEnum!\n\n "
},
{
"path": "package.json",
"chars": 6471,
"preview": "{\n \"name\": \"@favware/graphql-pokemon\",\n \"version\": \"8.8.1\",\n \"description\": \"Extensive Pokemon GraphQL API\",\n \"autho"
},
{
"path": "scripts/data-gen-scripts/data-injector.ts",
"chars": 1106,
"preview": "import { readFile } from 'node:fs/promises';\nimport { entries } from '../../src/lib/assets/pokedex-data/gen9.js';\nimport"
},
{
"path": "scripts/data-gen-scripts/data-key-checker.ts",
"chars": 904,
"preview": "import _ from 'lodash';\nimport { entries } from '../../src/lib/assets/pokedex-data/gen9.js';\nimport { dataToClipboard } "
},
{
"path": "scripts/data-gen-scripts/data-to-clipboard.ts",
"chars": 611,
"preview": "import { execFile } from 'node:child_process';\nimport { inspect } from 'node:util';\n\nexport function dataToClipboard<T>("
},
{
"path": "scripts/data-gen-scripts/enum-key-collector.ts",
"chars": 242,
"preview": "import { items as data } from '../../src/lib/assets/items.js';\nimport { dataToClipboard } from './data-to-clipboard.js';"
},
{
"path": "scripts/data-gen-scripts/map-data-key-sorter.ts",
"chars": 661,
"preview": "import { Collection } from '@discordjs/collection';\nimport { moves as data } from '../../src/lib/assets/moves.js';\nimpor"
},
{
"path": "scripts/data-gen-scripts/sample.json",
"chars": 3,
"preview": "[]\n"
},
{
"path": "scripts/data-gen-scripts/scripted-updaters/asset-updaters/abilities-updater.ts",
"chars": 4411,
"preview": "import { abilities as currentAbilities } from '#assets/abilities.js';\nimport type { PokemonTypes } from '#assets/pokemon"
},
{
"path": "scripts/data-gen-scripts/scripted-updaters/asset-updaters/items-updater.ts",
"chars": 4860,
"preview": "import { items as currentItems } from '#assets/items.js';\nimport type { PokemonTypes } from '#assets/pokemon-source.js';"
},
{
"path": "scripts/data-gen-scripts/scripted-updaters/asset-updaters/learnsets-updater.ts",
"chars": 1486,
"preview": "import { objectEntries } from '@sapphire/utilities';\nimport { green } from 'colorette';\nimport { URL } from 'node:url';\n"
},
{
"path": "scripts/data-gen-scripts/scripted-updaters/asset-updaters/moves-updater.ts",
"chars": 5669,
"preview": "import { moves as currentMoves } from '#assets/moves.js';\nimport type { PokemonTypes } from '#assets/pokemon-source.js';"
},
{
"path": "scripts/data-gen-scripts/scripted-updaters/asset-updaters/tiers-updater.ts",
"chars": 1268,
"preview": "import { objectEntries } from '@sapphire/utilities';\nimport { green } from 'colorette';\nimport { writeFile } from 'node:"
},
{
"path": "scripts/data-gen-scripts/scripted-updaters/classification-updater/.gitignore",
"chars": 7,
"preview": "*.json\n"
},
{
"path": "scripts/data-gen-scripts/scripted-updaters/classification-updater/classification-updater.ts",
"chars": 4800,
"preview": "import { pokedex } from '#assets/pokedex.js';\nimport { each } from 'async';\nimport * as cheerio from 'cheerio';\nimport {"
},
{
"path": "scripts/data-gen-scripts/scripted-updaters/classification-updater/log-wrapper.ts",
"chars": 259,
"preview": "import { log as baseLog, type LogParamaters } from '../utils/append-to-log.js';\n\nexport const logFile = new URL('./outpu"
},
{
"path": "scripts/data-gen-scripts/scripted-updaters/cries-updater/constants.ts",
"chars": 195,
"preview": "export const logFile = new URL('./output.log', import.meta.url);\n\nexport const MegaSpriteRegex = /^(.+)-(x|y)$/g;\n\nexpor"
},
{
"path": "scripts/data-gen-scripts/scripted-updaters/cries-updater/cry-updater.ts",
"chars": 1167,
"preview": "import { pokedex } from '#assets/pokedex.js';\nimport { eachLimit } from 'async';\nimport { green } from 'colorette';\nimpo"
},
{
"path": "scripts/data-gen-scripts/scripted-updaters/cries-updater/get-cry-url.ts",
"chars": 1740,
"preview": "import { pokedex } from '#assets/pokedex.js';\nimport type { PokemonTypes } from '#assets/pokemon-source';\nimport { Fetch"
},
{
"path": "scripts/data-gen-scripts/scripted-updaters/cries-updater/log-wrapper.ts",
"chars": 259,
"preview": "import { log as baseLog, type LogParamaters } from '../utils/append-to-log.js';\n\nexport const logFile = new URL('./outpu"
},
{
"path": "scripts/data-gen-scripts/scripted-updaters/flavor-text-updater/.gitignore",
"chars": 7,
"preview": "*.json\n"
},
{
"path": "scripts/data-gen-scripts/scripted-updaters/flavor-text-updater/constants.ts",
"chars": 576,
"preview": "export const sortOrder = [\n 'Red',\n 'Blue',\n 'Yellow',\n 'Stadium',\n 'Gold',\n 'Silver',\n 'Crystal',\n 'Stadium 2',"
},
{
"path": "scripts/data-gen-scripts/scripted-updaters/flavor-text-updater/flavor-text-updater.ts",
"chars": 2519,
"preview": "import { flavorsModule } from '#utils/flavorsModule';\nimport { green } from 'colorette';\nimport { writeFile } from 'node"
},
{
"path": "scripts/data-gen-scripts/scripted-updaters/flavor-text-updater/game-sets/gen1-game-sets.ts",
"chars": 1495,
"preview": "import type { FlavorsModule } from '#utils/flavorsModule.js';\nimport type { ParsedPokemon } from '../../utils/bulbapedia"
},
{
"path": "scripts/data-gen-scripts/scripted-updaters/flavor-text-updater/game-sets/gen2-game-sets.ts",
"chars": 1519,
"preview": "import type { FlavorsModule } from '#utils/flavorsModule.js';\nimport type { ParsedPokemon } from '../../utils/bulbapedia"
},
{
"path": "scripts/data-gen-scripts/scripted-updaters/flavor-text-updater/game-sets/gen3-game-sets.ts",
"chars": 1595,
"preview": "import type { FlavorsModule } from '#utils/flavorsModule.js';\nimport type { ParsedPokemon } from '../../utils/bulbapedia"
},
{
"path": "scripts/data-gen-scripts/scripted-updaters/flavor-text-updater/game-sets/gen4-game-sets.ts",
"chars": 1605,
"preview": "import type { FlavorsModule } from '#utils/flavorsModule.js';\nimport type { ParsedPokemon } from '../../utils/bulbapedia"
},
{
"path": "scripts/data-gen-scripts/scripted-updaters/flavor-text-updater/game-sets/gen5-game-sets.ts",
"chars": 1059,
"preview": "import type { FlavorsModule } from '#utils/flavorsModule.js';\nimport type { ParsedPokemon } from '../../utils/bulbapedia"
},
{
"path": "scripts/data-gen-scripts/scripted-updaters/flavor-text-updater/game-sets/gen6-game-sets.ts",
"chars": 1063,
"preview": "import type { FlavorsModule } from '#utils/flavorsModule.js';\nimport type { ParsedPokemon } from '../../utils/bulbapedia"
},
{
"path": "scripts/data-gen-scripts/scripted-updaters/flavor-text-updater/game-sets/gen7-game-sets.ts",
"chars": 1418,
"preview": "import type { FlavorsModule } from '#utils/flavorsModule.js';\nimport type { ParsedPokemon } from '../../utils/bulbapedia"
},
{
"path": "scripts/data-gen-scripts/scripted-updaters/flavor-text-updater/game-sets/gen8-game-sets.ts",
"chars": 1205,
"preview": "import type { FlavorsModule } from '#utils/flavorsModule.js';\nimport type { ParsedPokemon } from '../../utils/bulbapedia"
},
{
"path": "scripts/data-gen-scripts/scripted-updaters/flavor-text-updater/game-sets/gen9-game-sets.ts",
"chars": 851,
"preview": "import type { FlavorsModule } from '#utils/flavorsModule.js';\nimport type { ParsedPokemon } from '../../utils/bulbapedia"
},
{
"path": "scripts/data-gen-scripts/scripted-updaters/flavor-text-updater/game-sets/pokopia.ts",
"chars": 452,
"preview": "import type { FlavorsModule } from '#utils/flavorsModule.js';\nimport type { ParsedPokemon } from '../../utils/bulbapedia"
},
{
"path": "scripts/data-gen-scripts/scripted-updaters/flavor-text-updater/game-sorter.ts",
"chars": 377,
"preview": "import type { FlavorsModule } from '#utils/flavorsModule.js';\nimport { objectKeys } from '@sapphire/utilities';\nimport {"
},
{
"path": "scripts/data-gen-scripts/scripted-updaters/flavor-text-updater/get-text-content.ts",
"chars": 2646,
"preview": "export function getTextContent(bit1: string) {\n return bit1\n ?.split(/\\|[a-z]+=/g)\n ?.at(-1)\n .replace(/}}$/, "
},
{
"path": "scripts/data-gen-scripts/scripted-updaters/flavor-text-updater/log-wrapper.ts",
"chars": 259,
"preview": "import { log as baseLog, type LogParamaters } from '../utils/append-to-log.js';\n\nexport const logFile = new URL('./outpu"
},
{
"path": "scripts/data-gen-scripts/scripted-updaters/flavor-text-updater/parsers/double-game-updater.ts",
"chars": 2203,
"preview": "import type { FlavorsModule } from '#utils/flavorsModule.js';\nimport { green, yellow } from 'colorette';\nimport type { P"
},
{
"path": "scripts/data-gen-scripts/scripted-updaters/flavor-text-updater/parsers/parse-pokemon.ts",
"chars": 3664,
"preview": "import { flavorsModule } from '#utils/flavorsModule';\nimport { fetch, FetchMediaContentTypes, FetchMethods, FetchResultT"
},
{
"path": "scripts/data-gen-scripts/scripted-updaters/flavor-text-updater/parsers/single-game-updater.ts",
"chars": 1513,
"preview": "import type { FlavorsModule } from '#utils/flavorsModule.js';\nimport { green, yellow } from 'colorette';\nimport type { P"
},
{
"path": "scripts/data-gen-scripts/scripted-updaters/flavor-text-updater/parsers/triple-game-updater.ts",
"chars": 3544,
"preview": "import type { FlavorsModule } from '#utils/flavorsModule.js';\nimport { green, yellow } from 'colorette';\nimport type { P"
},
{
"path": "scripts/data-gen-scripts/scripted-updaters/ipa-name-updater/.gitignore",
"chars": 7,
"preview": "*.json\n"
},
{
"path": "scripts/data-gen-scripts/scripted-updaters/ipa-name-updater/ipa-updater.ts",
"chars": 4629,
"preview": "import { pokedex } from '#assets/pokedex.js';\nimport { fetch, FetchMediaContentTypes, FetchMethods, FetchResultTypes } f"
},
{
"path": "scripts/data-gen-scripts/scripted-updaters/ipa-name-updater/log-wrapper.ts",
"chars": 259,
"preview": "import { log as baseLog, type LogParamaters } from '../utils/append-to-log.js';\n\nexport const logFile = new URL('./outpu"
},
{
"path": "scripts/data-gen-scripts/scripted-updaters/update-test-files.ts",
"chars": 2023,
"preview": "import { fetch, FetchMediaContentTypes, FetchMethods, FetchResultTypes } from '@sapphire/fetch';\nimport { writeFile } fr"
},
{
"path": "scripts/data-gen-scripts/scripted-updaters/utils/append-to-log.ts",
"chars": 1289,
"preview": "import { bold } from 'colorette';\nimport { appendFile } from 'node:fs/promises';\n\nexport interface LogParamaters {\n byp"
},
{
"path": "scripts/data-gen-scripts/scripted-updaters/utils/bulbapedia-utils.ts",
"chars": 1473,
"preview": "import { pokedex } from '#assets/pokedex.js';\nimport type { PokemonTypes } from '#assets/pokemon-source.js';\nimport { ac"
},
{
"path": "scripts/data-gen-scripts/scripted-updaters/utils/constants.ts",
"chars": 319,
"preview": "export const classificationsUrl = 'https://bulbapedia.bulbagarden.net/w/index.php?title=Pok%C3%A9mon_category&action=edi"
},
{
"path": "scripts/data-gen-scripts/scripted-updaters/utils/flaresolverr-session-management.ts",
"chars": 2345,
"preview": "import { FetchMediaContentTypes, FetchMethods, FetchResultTypes, fetch } from '@sapphire/fetch';\nimport { userAgentHeade"
},
{
"path": "scripts/data-gen-scripts/scripted-updaters/utils/pokedex-constants.ts",
"chars": 469,
"preview": "export const pokedexPrependContent = [\n \"import type { PokemonTypes } from '#assets/pokemon-source';\",\n \"import { Poke"
},
{
"path": "scripts/data-gen-scripts/scripted-updaters/utils/types.ts",
"chars": 503,
"preview": "export interface FlareSolverrResponse extends ResponseBaseProperties {\n solution: FlareSolverrSolution;\n}\n\nexport inter"
},
{
"path": "scripts/data-gen-scripts/scripted-updaters/utils/utils.ts",
"chars": 1118,
"preview": "export function getPokemonGenerationForDexNumber(dexNumber: number) {\n if (dexNumber >= 0 && dexNumber <= 151) return 1"
},
{
"path": "scripts/manual-tests/.gitignore",
"chars": 7,
"preview": "*.json\n"
},
{
"path": "scripts/manual-tests/get-all-data.py",
"chars": 6182,
"preview": "import requests\nimport json\nimport os\n\n# The file that will be written to\nfilePath = './res.json'\n\n# If the file already"
},
{
"path": "scripts/manual-tests/requirements.txt",
"chars": 46,
"preview": "requests==2.32.5\nautopep8==2.3.2\npylint==4.0.5"
},
{
"path": "scripts/on-build-success.ts",
"chars": 395,
"preview": "import { copyFile } from 'node:fs/promises';\nimport { rootDir } from './utils.js';\n\nconst srcAssetsDir = new URL('src/li"
},
{
"path": "scripts/tsconfig.json",
"chars": 593,
"preview": "{\n \"extends\": \"../tsconfig.base.json\",\n \"include\": [\".\"],\n \"compilerOptions\": {\n \"strict\": false,\n \"resolveJson"
},
{
"path": "scripts/utils.ts",
"chars": 4404,
"preview": "import { FetchResultTypes, fetch } from '@sapphire/fetch';\nimport { readFile, rm, writeFile } from 'node:fs/promises';\ni"
},
{
"path": "scripts/wait-for-port.sh",
"chars": 217,
"preview": "#!/bin/bash\n\nPORT=${PORT:-4000}\n\necho \"Waiting for service to launch on port ${PORT}...\"\n\nwhile ! nc -z localhost ${PORT"
},
{
"path": "src/defaultDocument.ts",
"chars": 4296,
"preview": "export const defaultDocument = `\nquery GetPokemon(\n $pokemon: PokemonEnum!\n $offsetFlavorTexts: Int\n $takeFlavorTexts"
},
{
"path": "src/index.ts",
"chars": 287,
"preview": "import '#utils/flavorsModule';\nimport '#utils/formatsModule';\n\nimport gqlServer from '#root/server';\n\nconst port = proce"
},
{
"path": "src/lib/assets/abilities.ts",
"chars": 106561,
"preview": "import type { PokemonTypes } from '#assets/pokemon-source';\nimport { IsNonStandard } from '#utils/isNonStandardEnum';\nim"
},
{
"path": "src/lib/assets/flavorText.json",
"chars": 3338490,
"preview": "{\n \"0\": [\n {\n \"version_id\": \"Red\",\n \"flavor_text\": \"A dual-type Bird/Normal Glitch Pokémon exclusive to th"
},
{
"path": "src/lib/assets/formats.json",
"chars": 31339,
"preview": "{\n \"bulbasaur\": \"LC\",\n \"ivysaur\": \"NFE\",\n \"venusaur\": \"ZU\",\n \"venusaurmega\": \"Past\",\n \"venusaurgmax\": \"Past\",\n \"ch"
},
{
"path": "src/lib/assets/items.ts",
"chars": 249482,
"preview": "import type { PokemonTypes } from '#assets/pokemon-source';\nimport { IsNonStandard } from '#utils/isNonStandardEnum';\nim"
},
{
"path": "src/lib/assets/learnsets.ts",
"chars": 3783297,
"preview": "// @ts-nocheck TS checking this file causes major delays in developing\n\nimport { Collection } from '@discordjs/collectio"
},
{
"path": "src/lib/assets/moves.ts",
"chars": 499961,
"preview": "import type { PokemonTypes } from '#assets/pokemon-source';\nimport { IsNonStandard } from '#utils/isNonStandardEnum';\nim"
},
{
"path": "src/lib/assets/natures.ts",
"chars": 4835,
"preview": "import type { PokemonTypes } from '#assets/pokemon-source';\nimport { Collection } from '@discordjs/collection';\n\n/** The"
},
{
"path": "src/lib/assets/pokedex-data/cap.ts",
"chars": 69435,
"preview": "import type { PokemonTypes } from '#assets/pokemon-source';\nimport { Pokedex } from '#dexdata/pokedex';\nimport { TypesEn"
},
{
"path": "src/lib/assets/pokedex-data/gen1.ts",
"chars": 233641,
"preview": "import type { PokemonTypes } from '#assets/pokemon-source';\nimport { Pokedex } from '#dexdata/pokedex';\nimport { TypesEn"
},
{
"path": "src/lib/assets/pokedex-data/gen2.ts",
"chars": 108299,
"preview": "import type { PokemonTypes } from '#assets/pokemon-source';\nimport { Pokedex } from '#dexdata/pokedex';\nimport { TypesEn"
},
{
"path": "src/lib/assets/pokedex-data/gen3.ts",
"chars": 152376,
"preview": "import type { PokemonTypes } from '#assets/pokemon-source';\nimport { Pokedex } from '#dexdata/pokedex';\nimport { TypesEn"
},
{
"path": "src/lib/assets/pokedex-data/gen4.ts",
"chars": 145363,
"preview": "import type { PokemonTypes } from '#assets/pokemon-source';\nimport { Pokedex } from '#dexdata/pokedex';\nimport { TypesEn"
},
{
"path": "src/lib/assets/pokedex-data/gen5.ts",
"chars": 179447,
"preview": "import type { PokemonTypes } from '#assets/pokemon-source';\nimport { Pokedex } from '#dexdata/pokedex';\nimport { TypesEn"
},
{
"path": "src/lib/assets/pokedex-data/gen6.ts",
"chars": 99921,
"preview": "import type { PokemonTypes } from '#assets/pokemon-source';\nimport { Pokedex } from '#dexdata/pokedex';\nimport { TypesEn"
},
{
"path": "src/lib/assets/pokedex-data/gen7.ts",
"chars": 131899,
"preview": "import type { PokemonTypes } from '#assets/pokemon-source';\nimport { Pokedex } from '#dexdata/pokedex';\nimport { TypesEn"
},
{
"path": "src/lib/assets/pokedex-data/gen8.ts",
"chars": 116037,
"preview": "import type { PokemonTypes } from '#assets/pokemon-source';\nimport { Pokedex } from '#dexdata/pokedex';\nimport { TypesEn"
},
{
"path": "src/lib/assets/pokedex-data/gen9.ts",
"chars": 120453,
"preview": "import type { PokemonTypes } from '#assets/pokemon-source';\nimport { Pokedex } from '#dexdata/pokedex';\nimport { TypesEn"
},
{
"path": "src/lib/assets/pokedex-data/pokedex.ts",
"chars": 222,
"preview": "import type { PokemonTypes } from '#assets/pokemon-source';\nimport { Collection } from '@discordjs/collection';\n\n/** The"
},
{
"path": "src/lib/assets/pokedex-data/pokestar.ts",
"chars": 18332,
"preview": "import type { PokemonTypes } from '#assets/pokemon-source';\nimport { Pokedex } from '#dexdata/pokedex';\nimport { TypesEn"
},
{
"path": "src/lib/assets/pokedex.ts",
"chars": 381,
"preview": "import { Pokedex } from '#dexdata/pokedex';\n\nimport '#dexdata/pokestar';\nimport '#dexdata/cap';\nimport '#dexdata/gen1';\n"
},
{
"path": "src/lib/assets/pokemon-source.ts",
"chars": 4783,
"preview": "import type { IsNonStandard } from '#utils/isNonStandardEnum';\nimport type { TypesEnum } from '#utils/pokemonTypes';\n\nex"
},
{
"path": "src/lib/assets/typechart.ts",
"chars": 13964,
"preview": "import type { PokemonTypes } from '#assets/pokemon-source';\nimport { TypesEnum } from '#utils/pokemonTypes';\nimport { Co"
},
{
"path": "src/lib/mappers/abilityMapper.ts",
"chars": 3990,
"preview": "import { pokedex } from '#assets/pokedex';\nimport type { PokemonTypes } from '#assets/pokemon-source';\nimport { mapPokem"
},
{
"path": "src/lib/mappers/itemMapper.ts",
"chars": 2401,
"preview": "import type { PokemonTypes } from '#assets/pokemon-source';\nimport type { Item } from '#types/graphql-mapped-types';\nimp"
},
{
"path": "src/lib/mappers/learnsetMapper.ts",
"chars": 15908,
"preview": "import { learnsets } from '#assets/learnsets';\nimport { moves } from '#assets/moves';\nimport { pokedex } from '#assets/p"
},
{
"path": "src/lib/mappers/moveMapper.ts",
"chars": 5746,
"preview": "import type { PokemonTypes } from '#assets/pokemon-source';\nimport type { Move } from '#types/graphql-mapped-types';\nimp"
},
{
"path": "src/lib/mappers/natureMapper.ts",
"chars": 1422,
"preview": "import type { PokemonTypes } from '#assets/pokemon-source';\nimport type { Nature } from '#types/graphql-mapped-types';\ni"
},
{
"path": "src/lib/mappers/pokemonMapper.ts",
"chars": 32389,
"preview": "import { abilities } from '#assets/abilities';\nimport { pokedex } from '#assets/pokedex';\nimport type { PokemonTypes } f"
},
{
"path": "src/lib/mappers/typeMatchupMapper.ts",
"chars": 6865,
"preview": "import type { PokemonTypes } from '#assets/pokemon-source';\nimport { typechart } from '#assets/typechart';\nimport type {"
},
{
"path": "src/lib/resolvers/RootResolver.ts",
"chars": 2587,
"preview": "import { getAbility, getFuzzyAbility } from '#resolvers/abilityResolvers';\nimport { getFuzzyItem, getItem } from '#resol"
},
{
"path": "src/lib/resolvers/abilityResolvers.ts",
"chars": 2288,
"preview": "import { abilities } from '#assets/abilities';\nimport { mapAbilityDataToAbilityGraphQL } from '#mappers/abilityMapper';\n"
},
{
"path": "src/lib/resolvers/itemResolver.ts",
"chars": 2136,
"preview": "import { items } from '#assets/items';\nimport { mapItemDataToItemGraphQL } from '#mappers/itemMapper';\nimport type { Ite"
},
{
"path": "src/lib/resolvers/learnsetResolvers.ts",
"chars": 3307,
"preview": "import { moves } from '#assets/moves';\nimport { pokedex } from '#assets/pokedex';\nimport { mapPokemonAndMovesToLearnsetG"
},
{
"path": "src/lib/resolvers/moveResolvers.ts",
"chars": 2143,
"preview": "import { moves } from '#assets/moves';\nimport { mapMoveDataToMoveGraphQL } from '#mappers/moveMapper';\nimport type { Mov"
},
{
"path": "src/lib/resolvers/natureResolver.ts",
"chars": 1357,
"preview": "import { natures } from '#assets/natures';\nimport { mapNatureDataToNatureGraphQL } from '#mappers/natureMapper';\nimport "
},
{
"path": "src/lib/resolvers/pokemonResolvers.ts",
"chars": 8788,
"preview": "import { pokedex } from '#assets/pokedex';\nimport { mapPokemonDataToPokemonGraphQL } from '#mappers/pokemonMapper';\nimpo"
},
{
"path": "src/lib/resolvers/typeResolver.ts",
"chars": 790,
"preview": "import { mapTypesToTypeMatchupGraphQL } from '#mappers/typeMatchupMapper';\nimport type { TypeMatchup } from '#types/grap"
},
{
"path": "src/lib/types/graphql-mapped-types.ts",
"chars": 15950,
"preview": "/*\n\nNOTE: THIS FILE IS AUTOGENERTED BY GRAPHQL CODEGEN BASED ON THE SCHEMA'S\nIN THE ROOT DIRECTORY OF THIS REPOSITORY\n\n*"
},
{
"path": "src/lib/types/utility-types.ts",
"chars": 378,
"preview": "/**\n * Removes `null`, `undefined` and `?` from an object\n * This essentially combines `Required<T>`,\n * `NonNullable<T>"
},
{
"path": "src/lib/utils/FuzzySearch.ts",
"chars": 3886,
"preview": "import type { Collection } from '@discordjs/collection';\nimport { jaroWinkler } from '@skyra/jaro-winkler';\n\n/**\n * Fuzz"
},
{
"path": "src/lib/utils/GraphQLSet.ts",
"chars": 2619,
"preview": "import { cast } from '@sapphire/utilities';\n\n/**\n * Represents the constructor for the GraphQLSet class.\n */\nexport inte"
},
{
"path": "src/lib/utils/addPropertyToObject.ts",
"chars": 3041,
"preview": "import type { GraphQLSet } from '#utils/GraphQLSet';\nimport { isFunction, isNullish } from '@sapphire/utilities';\n\n/**\n "
},
{
"path": "src/lib/utils/flavorsModule.ts",
"chars": 395,
"preview": "import type { PokemonTypes } from '#assets/pokemon-source';\nimport { readFile } from 'node:fs/promises';\n\nconst pathToFi"
},
{
"path": "src/lib/utils/formatsModule.ts",
"chars": 279,
"preview": "import { readFile } from 'node:fs/promises';\n\nconst pathToFile = new URL('../assets/formats.json', import.meta.url);\ncon"
},
{
"path": "src/lib/utils/getRequestedFields.ts",
"chars": 2217,
"preview": "import { GraphQLSet } from '#utils/GraphQLSet';\nimport type { GraphQLResolveInfo } from 'graphql';\nimport { parseResolve"
},
{
"path": "src/lib/utils/graphql-parse-resolve-info.ts",
"chars": 6486,
"preview": "import { isNullish } from '@sapphire/utilities';\nimport {\n GraphQLUnionType,\n getArgumentValues,\n getNamedType,\n isC"
},
{
"path": "src/lib/utils/grapqhl-root-typedef-resolver.ts",
"chars": 1068,
"preview": "import type { DocumentNode } from 'graphql';\nimport gql from 'graphql-tag';\nimport type { PathLike } from 'node:fs';\nimp"
},
{
"path": "src/lib/utils/isNonStandardEnum.ts",
"chars": 818,
"preview": "export enum IsNonStandard {\n /** When set the item or move is from Smogon's CAP project and is not in the official Nint"
},
{
"path": "src/lib/utils/pastGenerationPokemon.ts",
"chars": 485,
"preview": "/**\n * Array of species names that are not present in Generation 8 or 9.\n */\nexport const speciesThatAreNotInGeneration8"
},
{
"path": "src/lib/utils/pokemonTypes.ts",
"chars": 1090,
"preview": "/** Enum representing the different types of Pokémon. */\nexport enum TypesEnum {\n /** Represents the Bug type. */\n Bug"
},
{
"path": "src/lib/utils/sprite-parser.ts",
"chars": 6338,
"preview": "import { toLowerSingleWordCase } from '#utils/utils';\n\n/**\n * Parameters for parsing species for sprite.\n */\ninterface P"
},
{
"path": "src/lib/utils/stringifyResult.ts",
"chars": 507,
"preview": "import type { FormattedExecutionResult } from 'graphql/execution/execute';\nimport type { ObjMap } from 'graphql/jsutils/"
},
{
"path": "src/lib/utils/utils.ts",
"chars": 1549,
"preview": "import { toTitleCase } from '@sapphire/utilities';\nconst COMMON_SYMBOLS = /[$%&'()*+,./:'<>=?{}}~!\"^_`[\\] .'-]/g;\nconst "
},
{
"path": "src/lib/validations/fuzzyArgs/base.ts",
"chars": 1323,
"preview": "import { s, type SchemaOf } from '@sapphire/shapeshift';\nimport type { Nullish } from '@sapphire/utilities';\n\nexport int"
},
{
"path": "src/lib/validations/fuzzyArgs/fuzzyAbilityArgs.ts",
"chars": 569,
"preview": "import { baseFuzzySchema, type BaseFuzzyArgs } from '#validations/fuzzyArgs/base';\nimport { s, type SchemaOf } from '@sa"
},
{
"path": "src/lib/validations/fuzzyArgs/fuzzyItemArgs.ts",
"chars": 536,
"preview": "import { baseFuzzySchema, type BaseFuzzyArgs } from '#validations/fuzzyArgs/base';\nimport { s, type SchemaOf } from '@sa"
},
{
"path": "src/lib/validations/fuzzyArgs/fuzzyMoveArgs.ts",
"chars": 536,
"preview": "import { baseFuzzySchema, type BaseFuzzyArgs } from '#validations/fuzzyArgs/base';\nimport { s, type SchemaOf } from '@sa"
},
{
"path": "src/lib/validations/getAbilityArgs.ts",
"chars": 408,
"preview": "import { s, type SchemaOf } from '@sapphire/shapeshift';\n\nexport interface GetAbilityArgs {\n /**\n * The ability to lo"
},
{
"path": "src/lib/validations/getItemArgs.ts",
"chars": 375,
"preview": "import { s, type SchemaOf } from '@sapphire/shapeshift';\n\nexport interface GetItemArgs {\n /**\n * The item to look up\n"
},
{
"path": "src/lib/validations/getLearnsetArgs.ts",
"chars": 1407,
"preview": "import type { NonNullish } from '#types/utility-types';\nimport { getPokemonSchema, type GetPokemonArgs } from '#validati"
},
{
"path": "src/lib/validations/getMoveArgs.ts",
"chars": 375,
"preview": "import { s, type SchemaOf } from '@sapphire/shapeshift';\n\nexport interface GetMoveArgs {\n /**\n * The move to look up\n"
},
{
"path": "src/lib/validations/getNatureArgs.ts",
"chars": 397,
"preview": "import { s, type SchemaOf } from '@sapphire/shapeshift';\n\nexport interface GetNatureArgs {\n /**\n * The nature to look"
},
{
"path": "src/lib/validations/getTypeMatchupArgs.ts",
"chars": 769,
"preview": "import { TypesEnum } from '#utils/pokemonTypes';\nimport { s, type SchemaOf } from '@sapphire/shapeshift';\nimport type { "
},
{
"path": "src/lib/validations/pokemonArgs/base.ts",
"chars": 1515,
"preview": "import { s, type SchemaOf } from '@sapphire/shapeshift';\nimport type { Nullish } from '@sapphire/utilities';\n\nexport int"
},
{
"path": "src/lib/validations/pokemonArgs/getAllPokemonArgs.ts",
"chars": 1650,
"preview": "import type { NonNullish } from '#types/utility-types';\nimport { baseFuzzySchema, type BaseFuzzyArgs } from '#validation"
},
{
"path": "src/lib/validations/pokemonArgs/getFuzzyPokemonArgs.ts",
"chars": 790,
"preview": "import type { NonNullish } from '#types/utility-types';\nimport { baseFuzzySchema, type BaseFuzzyArgs } from '#validation"
},
{
"path": "src/lib/validations/pokemonArgs/getPokemonArgs.ts",
"chars": 620,
"preview": "import type { NonNullish } from '#types/utility-types';\nimport { basePokemonArgsSchema, type BasePokemonArgs } from '#va"
},
{
"path": "src/lib/validations/pokemonArgs/getPokemonByDexNumberArgs.ts",
"chars": 1327,
"preview": "import type { NonNullish } from '#types/utility-types';\nimport { basePokemonArgsSchema, type BasePokemonArgs } from '#va"
},
{
"path": "src/server.ts",
"chars": 1637,
"preview": "import { RootResolver } from '#resolvers/RootResolver';\nimport { defaultDocument, defaultVariables } from '#root/default"
},
{
"path": "src/tsconfig.json",
"chars": 159,
"preview": "{\n \"extends\": \"../tsconfig.base.json\",\n \"compilerOptions\": {\n \"rootDir\": \"./\",\n \"outDir\": \"../api\"\n },\n \"inclu"
},
{
"path": "tests/scenarios/abilities/getAbilities.test.ts",
"chars": 7280,
"preview": "import { getAbilityName, getAbilityWithFullData } from '#test-utils/queries/abilities';\nimport { executeGraphQL } from '"
},
{
"path": "tests/scenarios/abilities/getFuzzyAbilities.test.ts",
"chars": 5628,
"preview": "import { getFuzzyAbilityName, getFuzzyAbilityWithFullData } from '#test-utils/queries/abilities';\nimport { executeGraphQ"
},
{
"path": "tests/scenarios/items/getFuzzyItems.test.ts",
"chars": 5869,
"preview": "import { getFuzzyItemName, getFuzzyItemWithFullData } from '#test-utils/queries/items';\nimport { executeGraphQL } from '"
},
{
"path": "tests/scenarios/items/getItems.test.ts",
"chars": 1894,
"preview": "import { getItemName, getItemWithFullData } from '#test-utils/queries/items';\nimport { executeGraphQL } from '#test-util"
},
{
"path": "tests/scenarios/learnsets/getFuzzyLearnset.test.ts",
"chars": 1149,
"preview": "import { getFuzzyLearnset } from '#test-utils/queries/learnsets';\nimport { executeGraphQL } from '#test-utils/testUtils'"
},
{
"path": "tests/scenarios/learnsets/getLearnset.test.ts",
"chars": 17981,
"preview": "import {\n getLearnset,\n getLearnsetWithPokemonBacksprite,\n getLearnsetWithPokemonColor,\n getLearnsetWithPokemonNum,\n"
},
{
"path": "tests/scenarios/moves/getFuzzyMoves.test.ts",
"chars": 7562,
"preview": "import { getFuzzyMoveName, getFuzzyMoveWithFullData } from '#test-utils/queries/moves';\nimport { executeGraphQL } from '"
},
{
"path": "tests/scenarios/moves/getMoves.test.ts",
"chars": 5558,
"preview": "import { getMoveName, getMoveWithFullData, getMoveZPower } from '#test-utils/queries/moves';\nimport { executeGraphQL } f"
},
{
"path": "tests/scenarios/natures/getAllNatures.test.ts",
"chars": 1925,
"preview": "import { getAllNatures } from '#test-utils/queries/natures';\nimport { executeGraphQL } from '#test-utils/testUtils';\n\nde"
},
{
"path": "tests/scenarios/natures/getNature.test.ts",
"chars": 1523,
"preview": "import { getNatureName, getNatureWithFullData } from '#test-utils/queries/natures';\nimport { executeGraphQL } from '#tes"
},
{
"path": "tests/scenarios/pokemon/getAllPokemonSpecies.test.ts",
"chars": 84740,
"preview": "import { getAllPokemon } from '#test-utils/queries/pokemon';\nimport { executeGraphQL } from '#test-utils/testUtils';\n\nde"
},
{
"path": "tests/scenarios/pokemon/getFuzzyPokemon.test.ts",
"chars": 5444,
"preview": "import { getFuzzyPokemonSpecies } from '#test-utils/queries/pokemon';\nimport { executeGraphQL } from '#test-utils/testUt"
},
{
"path": "tests/scenarios/pokemon/getPokemon.test.ts",
"chars": 12444,
"preview": "import { getPokemonByNationalDexNumber, getPokemonSpecies, getPokemonSpeciesWithSprites, getPokemonWithFullData } from '"
},
{
"path": "tests/scenarios/pokemon/getPokemonAllData.test.ts",
"chars": 1716,
"preview": "import { getPokemonWithFullDataAndEvolutions } from '#test-utils/queries/pokemon-all-data';\nimport { executeGraphQL } fr"
},
{
"path": "tests/scenarios/typematchups/getTypeMatchup.test.ts",
"chars": 7140,
"preview": "import { getTypeMatchup } from '#test-utils/queries/typematchup';\nimport { executeGraphQL } from '#test-utils/testUtils'"
},
{
"path": "tests/testUtils/full-data-responses/beldum.json",
"chars": 657059,
"preview": "{\n \"data\": {\n \"getPokemon\": {\n \"abilities\": {\n \"first\": {\n \"name\": \"Clear Body\",\n \"key"
},
{
"path": "tests/testUtils/full-data-responses/dragonair.json",
"chars": 1473987,
"preview": "{\n \"data\": {\n \"getPokemon\": {\n \"abilities\": {\n \"first\": {\n \"name\": \"Shed Skin\",\n \"key\""
},
{
"path": "tests/testUtils/full-data-responses/eevee.json",
"chars": 4588020,
"preview": "{\n \"data\": {\n \"getPokemon\": {\n \"abilities\": {\n \"first\": {\n \"name\": \"Run Away\",\n \"key\":"
},
{
"path": "tests/testUtils/full-data-responses/rattata-alola.json",
"chars": 184528,
"preview": "{\n \"data\": {\n \"getPokemon\": {\n \"abilities\": {\n \"first\": {\n \"name\": \"Gluttony\",\n \"key\":"
},
{
"path": "tests/testUtils/full-data-responses/salamence.json",
"chars": 1465666,
"preview": "{\n \"data\": {\n \"getPokemon\": {\n \"abilities\": {\n \"first\": {\n \"name\": \"Intimidate\",\n \"key"
},
{
"path": "tests/testUtils/full-data-responses/syclar.json",
"chars": 487962,
"preview": "{\n \"data\": {\n \"getPokemon\": {\n \"abilities\": {\n \"first\": {\n \"name\": \"Compound Eyes\",\n \""
},
{
"path": "tests/testUtils/queries/abilities.ts",
"chars": 1490,
"preview": "import gql from 'graphql-tag';\n\nexport const getAbilityName = gql`\n query ($ability: AbilitiesEnum!) {\n getAbility(a"
},
{
"path": "tests/testUtils/queries/items.ts",
"chars": 929,
"preview": "import gql from 'graphql-tag';\n\nexport const getItemName = gql`\n query ($item: ItemsEnum!) {\n getItem(item: $item) {"
},
{
"path": "tests/testUtils/queries/learnsets.ts",
"chars": 4154,
"preview": "import gql from 'graphql-tag';\n\nexport const getLearnset = gql`\n query ($pokemon: PokemonEnum!, $moves: [MovesEnum!]!, "
}
]
// ... and 21 more files (download for full content)
About this extraction
This page contains the full source code of the favware/graphql-pokemon GitHub repository, extracted and formatted as plain text for AI agents and large language models (LLMs). The extraction includes 221 files (21.0 MB), approximately 5.5M tokens, and a symbol index with 6648 extracted functions, classes, methods, constants, and types. Use this with OpenClaw, Claude, ChatGPT, Cursor, Windsurf, or any other AI tool that accepts text input. You can copy the full output to your clipboard or download it as a .txt file.
Extracted by GitExtract — free GitHub repo to text converter for AI. Built by Nikandr Surkov.