Full Code of napi-rs/napi-rs for AI

main e5c1b7e20abc cached
492 files
5.1 MB
1.4M tokens
9209 symbols
1 requests
Download .txt
Showing preview only (5,403K chars total). Download the full file or copy to clipboard to get everything.
Repository: napi-rs/napi-rs
Branch: main
Commit: e5c1b7e20abc
Files: 492
Total size: 5.1 MB

Directory structure:
gitextract_rflx3xp8/

├── .dockerignore
├── .editorconfig
├── .gitattributes
├── .github/
│   ├── FUNDING.yml
│   ├── publish.js
│   ├── renovate.json
│   └── workflows/
│       ├── asan.yml
│       ├── cleanup-cache.yml
│       ├── docker.yaml
│       ├── memory-test.yml
│       ├── release-crates.yml
│       ├── test-release.yaml
│       └── zig.yaml
├── .gitignore
├── .husky/
│   ├── .gitignore
│   └── pre-commit
├── .npmignore
├── .oxlintignore
├── .prettierignore
├── .yarn/
│   ├── patches/
│   │   ├── buffer-npm-6.0.3-cd90dfedfe.patch
│   │   └── node-inspect-extracted-npm-3.0.0-f661b6c334.patch
│   └── releases/
│       └── yarn-4.13.0.cjs
├── .yarnrc.yml
├── CLAUDE.md
├── CODE_OF_CONDUCT.md
├── Cargo.toml
├── LICENSE
├── SECURITY.md
├── alpine-zig.Dockerfile
├── alpine.Dockerfile
├── bench/
│   ├── Cargo.toml
│   ├── async.bench.ts
│   ├── buffer.bench.ts
│   ├── build.rs
│   ├── create-array.bench.ts
│   ├── get-array-from-js.bench.ts
│   ├── get-set-property.bench.ts
│   ├── noop.bench.ts
│   ├── package.json
│   ├── plus.bench.ts
│   ├── query.bench.ts
│   ├── src/
│   │   ├── async_compute.rs
│   │   ├── buffer.rs
│   │   ├── create_array.rs
│   │   ├── get_set_property.rs
│   │   ├── get_value_from_js.rs
│   │   ├── lib.rs
│   │   ├── noop.rs
│   │   ├── plus.rs
│   │   └── query.rs
│   ├── tsconfig.json
│   └── vite.config.ts
├── cli/
│   ├── .npmignore
│   ├── CHANGELOG.md
│   ├── LICENSE
│   ├── README.md
│   ├── cli.mjs
│   ├── codegen/
│   │   ├── commands.ts
│   │   └── index.ts
│   ├── docs/
│   │   ├── artifacts.md
│   │   ├── build.md
│   │   ├── create-npm-dirs.md
│   │   ├── new.md
│   │   ├── pre-publish.md
│   │   ├── rename.md
│   │   ├── universalize.md
│   │   └── version.md
│   ├── e2e/
│   │   └── cli.spec.ts
│   ├── package.json
│   ├── src/
│   │   ├── api/
│   │   │   ├── __tests__/
│   │   │   │   ├── build.spec.ts
│   │   │   │   ├── create-npm-dirs.spec.ts
│   │   │   │   └── new.spec.ts
│   │   │   ├── artifacts.ts
│   │   │   ├── build.ts
│   │   │   ├── create-npm-dirs.ts
│   │   │   ├── new.ts
│   │   │   ├── pre-publish.ts
│   │   │   ├── rename.ts
│   │   │   ├── templates/
│   │   │   │   ├── index.ts
│   │   │   │   ├── js-binding.ts
│   │   │   │   ├── load-wasi-template.ts
│   │   │   │   └── wasi-worker-template.ts
│   │   │   ├── universalize.ts
│   │   │   └── version.ts
│   │   ├── cli.ts
│   │   ├── commands/
│   │   │   ├── artifacts.ts
│   │   │   ├── build.ts
│   │   │   ├── cli-version.ts
│   │   │   ├── create-npm-dirs.ts
│   │   │   ├── help.ts
│   │   │   ├── new.ts
│   │   │   ├── pre-publish.ts
│   │   │   ├── rename.ts
│   │   │   ├── universalize.ts
│   │   │   └── version.ts
│   │   ├── def/
│   │   │   ├── artifacts.ts
│   │   │   ├── build.ts
│   │   │   ├── create-npm-dirs.ts
│   │   │   ├── new.ts
│   │   │   ├── pre-publish.ts
│   │   │   ├── rename.ts
│   │   │   ├── universalize.ts
│   │   │   └── version.ts
│   │   ├── index.ts
│   │   └── utils/
│   │       ├── __tests__/
│   │       │   ├── __fixtures__/
│   │       │   │   └── napi_type_def
│   │       │   ├── __snapshots__/
│   │       │   │   ├── config.spec.ts.md
│   │       │   │   ├── config.spec.ts.snap
│   │       │   │   ├── target.spec.ts.md
│   │       │   │   ├── target.spec.ts.snap
│   │       │   │   ├── typegen.spec.ts.md
│   │       │   │   ├── typegen.spec.ts.snap
│   │       │   │   ├── version.spec.ts.md
│   │       │   │   └── version.spec.ts.snap
│   │       │   ├── config.spec.ts
│   │       │   ├── target.spec.ts
│   │       │   ├── typegen.spec.ts
│   │       │   └── version.spec.ts
│   │       ├── cargo.ts
│   │       ├── config.ts
│   │       ├── index.ts
│   │       ├── log.ts
│   │       ├── metadata.ts
│   │       ├── misc.ts
│   │       ├── read-config.ts
│   │       ├── target.ts
│   │       ├── typegen.ts
│   │       └── version.ts
│   ├── tsconfig.json
│   └── tsdown.config.ts
├── crates/
│   ├── backend/
│   │   ├── CHANGELOG.md
│   │   ├── Cargo.toml
│   │   ├── README.md
│   │   └── src/
│   │       ├── ast.rs
│   │       ├── codegen/
│   │       │   ├── const.rs
│   │       │   ├── enum.rs
│   │       │   ├── fn.rs
│   │       │   ├── struct.rs
│   │       │   └── type.rs
│   │       ├── codegen.rs
│   │       ├── error.rs
│   │       ├── lib.rs
│   │       ├── typegen/
│   │       │   ├── const.rs
│   │       │   ├── enum.rs
│   │       │   ├── fn.rs
│   │       │   ├── struct.rs
│   │       │   └── type.rs
│   │       ├── typegen.rs
│   │       └── util.rs
│   ├── build/
│   │   ├── CHANGELOG.md
│   │   ├── Cargo.toml
│   │   ├── README.md
│   │   └── src/
│   │       ├── android.rs
│   │       ├── lib.rs
│   │       ├── wasi.rs
│   │       └── windows.rs
│   ├── macro/
│   │   ├── CHANGELOG.md
│   │   ├── Cargo.toml
│   │   ├── README.md
│   │   └── src/
│   │       ├── compat_macro.rs
│   │       ├── expand/
│   │       │   ├── napi.rs
│   │       │   ├── noop.rs
│   │       │   ├── typedef/
│   │       │   │   ├── noop.rs
│   │       │   │   └── type_def.rs
│   │       │   └── typedef.rs
│   │       ├── expand.rs
│   │       ├── lib.rs
│   │       └── parser/
│   │           ├── attrs.rs
│   │           └── mod.rs
│   ├── napi/
│   │   ├── CHANGELOG.md
│   │   ├── Cargo.toml
│   │   ├── README.md
│   │   ├── build.rs
│   │   └── src/
│   │       ├── async_cleanup_hook.rs
│   │       ├── async_work.rs
│   │       ├── bindgen_runtime/
│   │       │   ├── async_iterator.rs
│   │       │   ├── callback_info.rs
│   │       │   ├── env.rs
│   │       │   ├── error.rs
│   │       │   ├── iterator.rs
│   │       │   ├── js_values/
│   │       │   │   ├── array.rs
│   │       │   │   ├── arraybuffer.rs
│   │       │   │   ├── bigint.rs
│   │       │   │   ├── boolean.rs
│   │       │   │   ├── buffer.rs
│   │       │   │   ├── class.rs
│   │       │   │   ├── date.rs
│   │       │   │   ├── either.rs
│   │       │   │   ├── external.rs
│   │       │   │   ├── function.rs
│   │       │   │   ├── map.rs
│   │       │   │   ├── nil.rs
│   │       │   │   ├── number.rs
│   │       │   │   ├── object.rs
│   │       │   │   ├── promise.rs
│   │       │   │   ├── promise_raw.rs
│   │       │   │   ├── scope.rs
│   │       │   │   ├── serde.rs
│   │       │   │   ├── set.rs
│   │       │   │   ├── stream/
│   │       │   │   │   ├── read.rs
│   │       │   │   │   └── write.rs
│   │       │   │   ├── stream.rs
│   │       │   │   ├── string.rs
│   │       │   │   ├── symbol.rs
│   │       │   │   ├── task.rs
│   │       │   │   └── value_ref.rs
│   │       │   ├── js_values.rs
│   │       │   ├── mod.rs
│   │       │   └── module_register.rs
│   │       ├── call_context.rs
│   │       ├── cleanup_env.rs
│   │       ├── env.rs
│   │       ├── error.rs
│   │       ├── js_values/
│   │       │   ├── arraybuffer.rs
│   │       │   ├── bigint.rs
│   │       │   ├── boolean.rs
│   │       │   ├── buffer.rs
│   │       │   ├── date.rs
│   │       │   ├── de.rs
│   │       │   ├── deferred.rs
│   │       │   ├── either.rs
│   │       │   ├── external.rs
│   │       │   ├── function.rs
│   │       │   ├── global.rs
│   │       │   ├── mod.rs
│   │       │   ├── null.rs
│   │       │   ├── number.rs
│   │       │   ├── object.rs
│   │       │   ├── object_property.rs
│   │       │   ├── ser.rs
│   │       │   ├── string/
│   │       │   │   ├── latin1.rs
│   │       │   │   ├── mod.rs
│   │       │   │   ├── utf16.rs
│   │       │   │   └── utf8.rs
│   │       │   ├── symbol.rs
│   │       │   ├── tagged_object.rs
│   │       │   ├── undefined.rs
│   │       │   ├── unknown.rs
│   │       │   ├── value.rs
│   │       │   └── value_ref.rs
│   │       ├── lib.rs
│   │       ├── sendable_resolver.rs
│   │       ├── status.rs
│   │       ├── task.rs
│   │       ├── threadsafe_function.rs
│   │       ├── tokio_runtime.rs
│   │       ├── value_type.rs
│   │       └── version.rs
│   └── sys/
│       ├── CHANGELOG.md
│       ├── Cargo.toml
│       ├── LICENSE
│       ├── README.md
│       └── src/
│           ├── functions.rs
│           ├── lib.rs
│           └── types.rs
├── debian-aarch64.Dockerfile
├── debian-zig.Dockerfile
├── debian.Dockerfile
├── examples/
│   ├── binary/
│   │   ├── .gitignore
│   │   ├── Cargo.toml
│   │   ├── package.json
│   │   ├── src/
│   │   │   └── main.rs
│   │   └── tsconfig.json
│   ├── napi/
│   │   ├── .gitignore
│   │   ├── Cargo.toml
│   │   ├── __tests__/
│   │   │   ├── __snapshots__/
│   │   │   │   ├── typegen.spec.ts.md
│   │   │   │   ├── typegen.spec.ts.snap
│   │   │   │   ├── values.spec.ts.md
│   │   │   │   └── values.spec.ts.snap
│   │   │   ├── async-exit.js
│   │   │   ├── async-exit.spec.ts
│   │   │   ├── async-generator-gc.spec.ts
│   │   │   ├── bun-test.js
│   │   │   ├── error-msg.spec.ts
│   │   │   ├── generator.spec.ts
│   │   │   ├── hidden-property.spec.ts
│   │   │   ├── issue-3119-repro.spec.ts
│   │   │   ├── object-attr.spec.ts
│   │   │   ├── property-names.spec.ts
│   │   │   ├── strict.spec.ts
│   │   │   ├── test.framework.js
│   │   │   ├── tsfn-error.cjs
│   │   │   ├── unload.spec.js
│   │   │   ├── values.spec.ts
│   │   │   ├── worker-thread.spec.ts
│   │   │   └── worker.js
│   │   ├── browser/
│   │   │   └── values.spec.ts
│   │   ├── browser.js
│   │   ├── build.rs
│   │   ├── dts-header.d.ts
│   │   ├── electron-renderer/
│   │   │   ├── index.html
│   │   │   └── index.js
│   │   ├── electron.cjs
│   │   ├── example.wasi-browser.js
│   │   ├── example.wasi.cjs
│   │   ├── index.cjs
│   │   ├── index.d.cts
│   │   ├── index.html
│   │   ├── memory-test.ts
│   │   ├── package.json
│   │   ├── src/
│   │   │   ├── array.rs
│   │   │   ├── async.rs
│   │   │   ├── async_generator_repro.rs
│   │   │   ├── bigint.rs
│   │   │   ├── callback.rs
│   │   │   ├── class.rs
│   │   │   ├── class_factory.rs
│   │   │   ├── constructor.rs
│   │   │   ├── date.rs
│   │   │   ├── either.rs
│   │   │   ├── enum.rs
│   │   │   ├── env.rs
│   │   │   ├── error.rs
│   │   │   ├── external.rs
│   │   │   ├── fetch.rs
│   │   │   ├── fn_return_if_invalid.rs
│   │   │   ├── fn_strict.rs
│   │   │   ├── fn_ts_override.rs
│   │   │   ├── function.rs
│   │   │   ├── generator.rs
│   │   │   ├── js_mod.rs
│   │   │   ├── lib.rs
│   │   │   ├── lifetime.rs
│   │   │   ├── map.rs
│   │   │   ├── nullable.rs
│   │   │   ├── number.rs
│   │   │   ├── object.rs
│   │   │   ├── promise.rs
│   │   │   ├── reference.rs
│   │   │   ├── scope.rs
│   │   │   ├── serde.rs
│   │   │   ├── set.rs
│   │   │   ├── shared.rs
│   │   │   ├── stream.rs
│   │   │   ├── string.rs
│   │   │   ├── symbol.rs
│   │   │   ├── task.rs
│   │   │   ├── threadsafe_function.rs
│   │   │   ├── transparent.rs
│   │   │   ├── type.rs
│   │   │   ├── typed_array.rs
│   │   │   └── wasm.rs
│   │   ├── tests/
│   │   │   ├── README.md
│   │   │   ├── build_error_tests/
│   │   │   │   ├── assign_js_value_to_class.rs
│   │   │   │   ├── assign_js_value_to_class.stderr
│   │   │   │   ├── fn_outside_impl_factory.rs
│   │   │   │   ├── fn_outside_impl_factory.stderr
│   │   │   │   ├── mod.rs
│   │   │   │   ├── ts_arg_type_1.rs
│   │   │   │   ├── ts_arg_type_1.stderr
│   │   │   │   ├── ts_arg_type_2.rs
│   │   │   │   ├── ts_arg_type_2.stderr
│   │   │   │   ├── ts_arg_type_3.rs
│   │   │   │   ├── ts_arg_type_3.stderr
│   │   │   │   ├── ts_arg_type_4.rs
│   │   │   │   └── ts_arg_type_4.stderr
│   │   │   └── macro_tests.rs
│   │   ├── tsconfig.json
│   │   ├── vite-entry.js
│   │   ├── vite.config.js
│   │   ├── wasi-worker-browser.mjs
│   │   └── wasi-worker.mjs
│   ├── napi-cargo-test/
│   │   ├── CHANGELOG.md
│   │   ├── Cargo.toml
│   │   └── src/
│   │       └── lib.rs
│   ├── napi-compat-mode/
│   │   ├── Cargo.toml
│   │   ├── __tests__/
│   │   │   ├── __snapshots__/
│   │   │   │   ├── object.spec.ts.md
│   │   │   │   ├── object.spec.ts.snap
│   │   │   │   ├── string.spec.ts.md
│   │   │   │   └── string.spec.ts.snap
│   │   │   ├── array.spec.ts
│   │   │   ├── arraybuffer.spec.ts
│   │   │   ├── buffer.spec.ts
│   │   │   ├── class.spec.ts
│   │   │   ├── cleanup-env.spec.ts
│   │   │   ├── create-external.spec.ts
│   │   │   ├── either.spec.ts
│   │   │   ├── env.spec.ts
│   │   │   ├── function.spec.ts
│   │   │   ├── get-napi-version.spec.ts
│   │   │   ├── global.spec.ts
│   │   │   ├── js-value.spec.ts
│   │   │   ├── napi-version.ts
│   │   │   ├── napi4/
│   │   │   │   ├── deferred.spec.ts
│   │   │   │   ├── example.txt
│   │   │   │   ├── threadsafe_function.spec.ts
│   │   │   │   ├── tokio_readfile.spec.ts
│   │   │   │   ├── tokio_rt.spec.ts
│   │   │   │   ├── tsfn-dua-instance.js
│   │   │   │   ├── tsfn-throw.js
│   │   │   │   └── tsfn_error.spec.ts
│   │   │   ├── napi5/
│   │   │   │   └── date.spec.ts
│   │   │   ├── napi6/
│   │   │   │   ├── bigint.spec.ts
│   │   │   │   └── instance-data.spec.ts
│   │   │   ├── napi7/
│   │   │   │   └── arraybuffer.spec.ts
│   │   │   ├── napi8/
│   │   │   │   ├── async-cleanup.spec.ts
│   │   │   │   ├── object.spec.ts
│   │   │   │   ├── sub-process-removable.js
│   │   │   │   └── sub-process.js
│   │   │   ├── object.spec.ts
│   │   │   ├── serde/
│   │   │   │   ├── __snapshots__/
│   │   │   │   │   ├── ser.spec.ts.md
│   │   │   │   │   └── ser.spec.ts.snap
│   │   │   │   ├── de.spec.ts
│   │   │   │   ├── ser.spec.ts
│   │   │   │   ├── ser.spec.ts.md
│   │   │   │   ├── ser.spec.ts.snap
│   │   │   │   └── serde-json.spec.ts
│   │   │   ├── string.spec.ts
│   │   │   ├── symbol.spec.ts
│   │   │   └── throw.spec.ts
│   │   ├── browser.js
│   │   ├── build.rs
│   │   ├── index.wasi-browser.js
│   │   ├── index.wasi.cjs
│   │   ├── package.json
│   │   ├── src/
│   │   │   ├── array.rs
│   │   │   ├── arraybuffer.rs
│   │   │   ├── buffer.rs
│   │   │   ├── class.rs
│   │   │   ├── cleanup_env.rs
│   │   │   ├── either.rs
│   │   │   ├── env.rs
│   │   │   ├── error.rs
│   │   │   ├── external.rs
│   │   │   ├── function.rs
│   │   │   ├── global.rs
│   │   │   ├── lib.rs
│   │   │   ├── napi4/
│   │   │   │   ├── deferred.rs
│   │   │   │   ├── mod.rs
│   │   │   │   ├── tsfn.rs
│   │   │   │   └── tsfn_dua_instance.rs
│   │   │   ├── napi5/
│   │   │   │   ├── date.rs
│   │   │   │   └── mod.rs
│   │   │   ├── napi6/
│   │   │   │   ├── bigint.rs
│   │   │   │   ├── instance.rs
│   │   │   │   └── mod.rs
│   │   │   ├── napi7/
│   │   │   │   ├── buffer.rs
│   │   │   │   └── mod.rs
│   │   │   ├── napi8/
│   │   │   │   ├── async_cleanup.rs
│   │   │   │   ├── mod.rs
│   │   │   │   └── object.rs
│   │   │   ├── napi_version.rs
│   │   │   ├── object.rs
│   │   │   ├── serde.rs
│   │   │   ├── string.rs
│   │   │   ├── symbol.rs
│   │   │   └── tokio_rt/
│   │   │       ├── mod.rs
│   │   │       └── read_file.rs
│   │   ├── tsconfig.json
│   │   ├── wasi-worker-browser.mjs
│   │   └── wasi-worker.mjs
│   └── napi-shared/
│       ├── Cargo.toml
│       ├── build.rs
│       └── src/
│           └── lib.rs
├── lerna.json
├── memory-testing/
│   ├── Cargo.toml
│   ├── buffer.mjs
│   ├── build.rs
│   ├── index.mjs
│   ├── package.json
│   ├── reference.mjs
│   ├── returns-future.mjs
│   ├── serde.mjs
│   ├── src/
│   │   └── lib.rs
│   ├── test-util.mjs
│   ├── tokio-future.mjs
│   ├── tsconfig.json
│   ├── tsfn.mjs
│   └── util.mjs
├── oxlint.json
├── package.json
├── rustfmt.toml
├── triples/
│   ├── CHANGELOG.md
│   ├── LICENSE
│   ├── README.md
│   ├── generate-triple-list.ts
│   ├── index.cjs
│   ├── index.d.ts
│   ├── index.js
│   ├── package.json
│   ├── target-list
│   └── tsconfig.json
├── tsconfig.json
└── wasm-runtime/
    ├── CHANGELOG.md
    ├── assert.cjs
    ├── fs-proxy.js
    ├── fs-proxy.test.js
    ├── fs.js
    ├── package.json
    ├── rollup.config.js
    ├── runtime.cjs
    ├── runtime.js
    └── util.js

================================================
FILE CONTENTS
================================================

================================================
FILE: .dockerignore
================================================
target
test_module/target
node_modules


================================================
FILE: .editorconfig
================================================
root = true

[*]
charset = utf-8
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true
indent_size = 2
indent_style = space


================================================
FILE: .gitattributes
================================================
# Auto detect text files and perform LF normalization
*        text=auto


*.ts    text eol=lf merge=union 
*.tsx   text eol=lf merge=union 
*.rs    text eol=lf merge=union 
*.js    text eol=lf merge=union 
*.json  text eol=lf merge=union 
*.debug text eol=lf merge=union 

.yarn/releases/*.js linguist-detectable=false


================================================
FILE: .github/FUNDING.yml
================================================
github: [napi-rs, Brooooooklyn, forehalo, messense]
open_collective: napi-rs


================================================
FILE: .github/publish.js
================================================
const { execSync } = require('node:child_process')

const commitMessage = execSync('git log -1 --pretty=%B', {
  encoding: 'utf8',
}).toString()

const [_, ...body] = commitMessage
  .trim()
  .split('\n')
  .map((line) => line.trim())
  .filter(Boolean)

const packagesToBump = body.map((line) => {
  const pkgNameVersion = line.split('@')
  pkgNameVersion.pop()
  const pkgName = pkgNameVersion.join('@')
  return pkgName.substring(2)
})

for (const pkg of packagesToBump) {
  execSync(`yarn workspace ${pkg} exec "npm publish"`, {
    stdio: 'inherit',
    env: process.env,
  })
}


================================================
FILE: .github/renovate.json
================================================
{
  "extends": ["config:base", ":preserveSemverRanges"],
  "ignorePaths": [
    "**/node_modules/**",
    "**/bower_components/**",
    "**/vendor/**",
    "**/__tests__/**",
    "**/test/**",
    "**/__fixtures__/**"
  ],
  "packageRules": [
    {
      "automerge": true,
      "matchUpdateTypes": ["minor", "patch", "pin", "digest"]
    },
    {
      "matchPackageNames": ["emnapi", "^@emnapi"],
      "rangeStrategy": "replace",
      "groupName": "napi-rs"
    }
  ],
  "postUpdateOptions": ["yarnDedupeHighest"],
  "lockFileMaintenance": {
    "enabled": true,
    "extends": ["schedule:monthly"]
  }
}


================================================
FILE: .github/workflows/asan.yml
================================================
name: Address Sanitizer

env:
  DEBUG: 'napi:*'

concurrency:
  group: ${{ github.workflow }}-${{ github.ref }}
  cancel-in-progress: true

permissions: {}

on:
  push:
    branches:
      - main
  pull_request:

jobs:
  test:
    name: ASAN - ${{ matrix.os }}
    runs-on: ${{ matrix.os }}
    permissions:
      contents: read
    strategy:
      fail-fast: false
      matrix:
        os: [ubuntu-24.04, windows-latest]

    steps:
      - uses: actions/checkout@v6

      - name: Setup node
        uses: actions/setup-node@v6
        with:
          node-version: 24
          cache: 'yarn'

      # Linux-specific setup
      - name: Install Rust (Linux)
        if: matrix.os == 'ubuntu-24.04'
        uses: dtolnay/rust-toolchain@stable
        with:
          toolchain: nightly
          components: rust-src

      - name: Install rust-src (Linux)
        if: matrix.os == 'ubuntu-24.04'
        run: rustup component add rust-src --toolchain nightly-x86_64-unknown-linux-gnu

      # Windows-specific setup
      - name: Install Rust (Windows)
        if: matrix.os == 'windows-latest'
        uses: dtolnay/rust-toolchain@stable
        with:
          toolchain: nightly
          targets: x86_64-pc-windows-msvc
          components: rust-src

      - name: Cache cargo
        uses: actions/cache@v5
        with:
          path: |
            ~/.cargo/registry
            ~/.cargo/git
            target
          key: ${{ matrix.os }}-asan-cargo-cache-${{ hashFiles('**/Cargo.lock') }}
          restore-keys: |
            ${{ matrix.os }}-asan-cargo-cache-

      - name: Install dependencies
        run: yarn install --immutable --mode=skip-build

      # Linux build and test
      - name: Build and test with ASAN (Linux)
        if: matrix.os == 'ubuntu-24.04'
        run: |
          yarn workspace @examples/napi build -- -Z build-std
          yarn workspace @examples/compat-mode build -- -Z build-std
          LD_PRELOAD=/usr/lib/gcc/x86_64-linux-gnu/13/libasan.so yarn test
        env:
          RUST_TARGET: x86_64-unknown-linux-gnu
          RUST_BACKTRACE: 1
          RUSTFLAGS: -Z sanitizer=address -C link-args=-Wl,-z,nodelete
          ASAN_OPTIONS: detect_leaks=0
          NODE_OPTIONS: --max-old-space-size=8192
          DISABLE_V8_COMPILE_CACHE: 1
          CARGO_PROFILE_DEV_OPT_LEVEL: 1
          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

      # Windows build and test
      - name: Build with ASAN (Windows)
        if: matrix.os == 'windows-latest'
        shell: pwsh
        run: |
          # Build the examples with ASAN enabled
          # Note: -Z build-std flag cannot be passed through napi CLI on Windows
          # The CARGO_UNSTABLE_BUILD_STD env var provides similar functionality
          yarn workspace @examples/napi build --target x86_64-pc-windows-msvc
          yarn workspace @examples/compat-mode build --target x86_64-pc-windows-msvc
        env:
          RUSTFLAGS: -Zsanitizer=address
          RUSTDOCFLAGS: -Zsanitizer=address
          RUST_BACKTRACE: 1
          CARGO_PROFILE_DEV_OPT_LEVEL: 1
          CARGO_UNSTABLE_BUILD_STD: std,panic_abort

      - name: Test with ASAN (Windows)
        if: matrix.os == 'windows-latest'
        shell: pwsh
        env:
          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
        run: |
          # Set ASAN environment variables for Windows
          $env:ASAN_OPTIONS = "windows_hook_rtl_allocators=true:detect_leaks=0:print_stats=1:check_initialization_order=true:strict_string_checks=true"
          $env:NODE_OPTIONS = "--max-old-space-size=8192"
          $env:DISABLE_V8_COMPILE_CACHE = "1"
          $env:RUST_BACKTRACE = "full"

          # Find and set the path to the ASAN runtime DLL
          $vsPath = & "${env:ProgramFiles(x86)}\Microsoft Visual Studio\Installer\vswhere.exe" -latest -property installationPath
          $asanDllPath = Get-ChildItem -Path "$vsPath\VC\Tools\MSVC" -Recurse -Filter "clang_rt.asan_dynamic-x86_64.dll" | Select-Object -First 1
          if ($asanDllPath) {
            $env:PATH = "$($asanDllPath.DirectoryName);$env:PATH"
            Write-Host "Found ASAN DLL at: $($asanDllPath.FullName)"
          }

          yarn test
        continue-on-error: true

      - name: Upload ASAN logs (Windows)
        if: failure() && matrix.os == 'windows-latest'
        uses: actions/upload-artifact@v7
        with:
          name: windows-asan-logs
          path: |
            asan.log*
            *.asan.log

      - name: Clear the cargo caches
        run: |
          cargo install cargo-cache --no-default-features --features ci-autoclean
          cargo-cache

  asan-done:
    name: Address sanitizer
    runs-on: ubuntu-latest
    needs:
      - test
    steps:
      - run: exit 1
        if: ${{ always() && (contains(needs.*.result, 'failure') || contains(needs.*.result, 'cancelled')) }}


================================================
FILE: .github/workflows/cleanup-cache.yml
================================================
name: Cleanup github runner caches on closed pull requests
on:
  pull_request:
    types:
      - closed

jobs:
  cleanup:
    runs-on: ubuntu-latest
    permissions:
      actions: write
    steps:
      - name: Cleanup
        run: |
          echo "Fetching list of cache keys"
          cacheKeysForPR=$(gh cache list --ref $BRANCH --limit 100 --json id --jq '.[].id')

          ## Setting this to not fail the workflow while deleting cache keys.
          set +e
          echo "Deleting caches..."
          for cacheKey in $cacheKeysForPR
          do
              gh cache delete $cacheKey
          done
          echo "Done"
        env:
          GH_TOKEN: ${{ github.token }}
          GH_REPO: ${{ github.repository }}
          BRANCH: refs/pull/${{ github.event.pull_request.number }}/merge


================================================
FILE: .github/workflows/docker.yaml
================================================
name: Docker nightly build

on:
  workflow_dispatch:

jobs:
  build-alpine-image:
    name: Build alpine image
    runs-on: ubuntu-latest

    steps:
      - uses: actions/checkout@v6

      - name: Setup QEMU
        uses: docker/setup-qemu-action@v4

      - name: Setup Docker Buildx
        uses: docker/setup-buildx-action@v4

      - name: Login to GitHub Container Registry
        uses: docker/login-action@v4
        with:
          registry: ghcr.io
          username: ${{ secrets.GH_CONTAINER_UNAME }}
          password: ${{ secrets.GH_TOKEN }}

      - name: Build and push alpine
        uses: docker/build-push-action@v7
        with:
          file: alpine.Dockerfile
          platforms: linux/amd64,linux/arm64
          push: true
          tags: ghcr.io/napi-rs/napi-rs/nodejs-rust:lts-alpine

  build-debian-image:
    name: Build debian image
    runs-on: ubuntu-latest

    steps:
      - uses: actions/checkout@v6

      - name: Setup QEMU
        uses: docker/setup-qemu-action@v4

      - name: Setup Docker Buildx
        uses: docker/setup-buildx-action@v4

      - name: Login to GitHub Container Registry
        uses: docker/login-action@v4
        with:
          registry: ghcr.io
          username: ${{ secrets.GH_CONTAINER_UNAME }}
          password: ${{ secrets.GH_TOKEN }}

      - name: Build and push debian
        uses: docker/build-push-action@v7
        with:
          file: debian.Dockerfile
          platforms: linux/amd64,linux/arm64
          push: true
          tags: ghcr.io/napi-rs/napi-rs/nodejs-rust:lts-debian

  build-debian-aarch64-image:
    name: Build debian image
    runs-on: ubuntu-latest

    steps:
      - uses: actions/checkout@v6

      - name: Setup QEMU
        uses: docker/setup-qemu-action@v4

      - name: Setup Docker Buildx
        uses: docker/setup-buildx-action@v4

      - name: Login to GitHub Container Registry
        uses: docker/login-action@v4
        with:
          registry: ghcr.io
          username: ${{ secrets.GH_CONTAINER_UNAME }}
          password: ${{ secrets.GH_TOKEN }}

      - name: Install latest libc++-dev for cross build
        run: >-
          docker run --rm
          --platform linux/arm64 --user 0:0 -e GITHUB_TOKEN
          -v ${{ github.workspace }}/lib/llvm-18:/usr/lib/llvm-18
          node:lts-slim
          sh -c 'apt-get update &&
          apt-get install -y wget gnupg2 &&
          wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | apt-key add - &&
          echo "deb http://apt.llvm.org/focal/ llvm-toolchain-focal-18 main" >> /etc/apt/sources.list &&
          echo "deb-src http://apt.llvm.org/focal/ llvm-toolchain-focal-18 main" >> /etc/apt/sources.list &&
          apt-get update &&
          apt-get install libc++-18-dev libc++abi-18-dev -y --fix-missing --no-install-recommends &&
          rm /usr/lib/llvm-18/lib/libc++abi.so'

      - name: Build and push debian aarch64 cross
        uses: docker/build-push-action@v7
        with:
          file: debian-aarch64.Dockerfile
          platforms: linux/amd64,linux/arm64
          push: true
          tags: ghcr.io/napi-rs/napi-rs/nodejs-rust:lts-debian-aarch64
          context: .

  build-zig-image:
    name: Build zig image
    runs-on: ubuntu-latest
    needs:
      - build-alpine-image
      - build-debian-image

    steps:
      - uses: actions/checkout@v6

      - name: Setup QEMU
        uses: docker/setup-qemu-action@v4

      - name: Setup Docker Buildx
        uses: docker/setup-buildx-action@v4

      - name: Login to GitHub Container Registry
        uses: docker/login-action@v4
        with:
          registry: ghcr.io
          username: ${{ secrets.GH_CONTAINER_UNAME }}
          password: ${{ secrets.GH_TOKEN }}

      - name: Build and push debian with zig
        uses: docker/build-push-action@v7
        with:
          file: debian-zig.Dockerfile
          platforms: linux/amd64,linux/arm64
          push: true
          tags: ghcr.io/napi-rs/napi-rs/nodejs-rust:lts-debian-zig

      - name: Build and push alpine with zig
        uses: docker/build-push-action@v7
        with:
          file: alpine-zig.Dockerfile
          platforms: linux/amd64,linux/arm64
          push: true
          tags: ghcr.io/napi-rs/napi-rs/nodejs-rust:lts-alpine-zig


================================================
FILE: .github/workflows/memory-test.yml
================================================
name: Memory Leak Detect

env:
  DEBUG: 'napi:*'

concurrency:
  group: ${{ github.workflow }}-${{ github.ref }}
  cancel-in-progress: true

on:
  push:
    branches:
      - main
  pull_request:

jobs:
  build_and_test:
    name: Memory leak detect job
    runs-on: ubuntu-latest
    timeout-minutes: 40
    continue-on-error: true

    steps:
      - uses: actions/checkout@v6

      - name: Setup node
        uses: actions/setup-node@v6
        with:
          node-version: 22
          cache: 'yarn'

      - name: Install stable
        uses: dtolnay/rust-toolchain@stable
        with:
          targets: x86_64-unknown-linux-gnu
          toolchain: stable

      - name: Cache cargo
        uses: actions/cache@v5
        with:
          path: |
            ~/.cargo/registry/index/
            ~/.cargo/registry/cache/
            ~/.cargo/git/db/
            .cargo-cache/registry/index/
            .cargo-cache/registry/cache/
            .cargo-cache/git/db/
            target/
          key: stable-memory-leak-detect-cargo-cache

      - name: 'Install dependencies'
        run: yarn install --immutable

      - name: 'Pull docker image'
        run: docker pull node:22-slim

      - name: Build in docker
        run: yarn build:memory --use-napi-cross

      - name: Memory leak tests
        run: yarn test:memory
        env:
          RUST_BACKTRACE: 1

      - name: Clear the cargo caches
        run: |
          cargo install cargo-cache --no-default-features --features ci-autoclean
          cargo-cache


================================================
FILE: .github/workflows/release-crates.yml
================================================
name: Release-plz

permissions:
  pull-requests: write
  contents: write

on:
  push:
    branches:
      - main

jobs:
  # Release unpublished packages.
  release-plz-release:
    name: Release-plz release
    runs-on: ubuntu-latest
    if: ${{ github.repository_owner == 'napi-rs' }}
    permissions:
      contents: write
      id-token: write
    steps:
      - name: Checkout repository
        uses: actions/checkout@v6
        with:
          fetch-depth: 0
      - name: Install Rust toolchain
        uses: dtolnay/rust-toolchain@stable
      - uses: rust-lang/crates-io-auth-action@b7e9a28eded4986ec6b1fa40eeee8f8f165559ec # v1.0.3
        id: auth
      - name: Run release-plz
        uses: release-plz/action@1528104d2ca23787631a1c1f022abb64b34c1e11 # v0.5.128
        with:
          command: release
        env:
          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
          CARGO_REGISTRY_TOKEN: ${{ steps.auth.outputs.token }}

  # Create a PR with the new versions and changelog, preparing the next release.
  release-plz-pr:
    name: Release-plz PR
    runs-on: ubuntu-latest
    if: ${{ github.repository_owner == 'napi-rs' }}
    permissions:
      contents: write
      pull-requests: write
    concurrency:
      group: release-plz-${{ github.ref }}
      cancel-in-progress: false
    steps:
      - name: Checkout repository
        uses: actions/checkout@v6
        with:
          fetch-depth: 0
      - name: Install Rust toolchain
        uses: dtolnay/rust-toolchain@stable
      - name: Run release-plz
        uses: release-plz/action@1528104d2ca23787631a1c1f022abb64b34c1e11 # v0.5.128
        with:
          command: release-pr
        env:
          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}


================================================
FILE: .github/workflows/test-release.yaml
================================================
name: Test & Release

env:
  DEBUG: 'napi:*'
  RUST_BACKTRACE: 1
  # https://github.com/nodejs/node/issues/51555#issuecomment-2290742072
  DISABLE_V8_COMPILE_CACHE: 1

permissions: {}

concurrency:
  group: ${{ github.workflow }}-${{ github.ref }}
  cancel-in-progress: true

on:
  push:
    branches:
      - main
  pull_request:

jobs:
  lint:
    name: Lint SourceCode
    runs-on: ubuntu-latest

    steps:
      - uses: actions/checkout@v6

      - name: Setup node
        uses: actions/setup-node@v6
        with:
          node-version: 24
          cache: 'yarn'

      - name: Install
        uses: dtolnay/rust-toolchain@stable
        with:
          toolchain: stable
          components: rustfmt, clippy

      - name: Cache cargo
        uses: actions/cache@v5
        with:
          path: |
            ~/.cargo/registry
            ~/.cargo/git
          key: lint-cargo-cache

      - name: 'Install dependencies'
        run: yarn install --immutable --mode=skip-build

      - name: 'Lint JS/TS'
        run: yarn lint

      - name: Cargo fmt
        run: cargo fmt -- --check

      - name: Clippy
        run: cargo clippy

  build_and_test:
    permissions:
      contents: read
    strategy:
      fail-fast: false
      matrix:
        node: ['20', '22', '24']
        settings:
          - host: ubuntu-latest
            target: x86_64-unknown-linux-gnu
            build: yarn build:test
            test: |
              yarn test:cli
              yarn test
              yarn workspace @examples/napi test:leak
              yarn tsc -p examples/napi/tsconfig.json --noEmit --skipLibCheck
              yarn test:macro
              cargo test
            toolchain: stable
          - host: ubuntu-latest
            target: x86_64-unknown-linux-gnu
            build: yarn build:test
            test: |
              yarn test:cli
              yarn test
              yarn tsc -p examples/napi/tsconfig.json --noEmit --skipLibCheck
              yarn test:macro
            toolchain: 1.88.0
          - host: macos-latest
            target: aarch64-apple-darwin
            build: yarn build:test
            test: |
              yarn test:cli
              yarn test
              yarn workspace @examples/napi test:leak
              yarn tsc -p examples/napi/tsconfig.json --noEmit --skipLibCheck
              RUSTFLAGS="-C link-args=-Wl,-undefined,dynamic_lookup,-no_fixup_chains"
              cargo test
            toolchain: stable
          - host: windows-latest
            target: x86_64-pc-windows-msvc
            build: yarn workspace @examples/napi build
            test: |
              yarn test:cli
              yarn workspace @examples/napi test
              yarn workspace @examples/napi test:leak
              yarn tsc -p examples/napi/tsconfig.json --noEmit --skipLibCheck
              yarn test:macro
              cargo test
            toolchain: stable
          - host: windows-11-arm
            target: aarch64-pc-windows-msvc
            build: yarn build:test
            test: |
              yarn test:cli
              yarn test
              yarn test:macro
            toolchain: stable
          - host: windows-latest
            target: i686-pc-windows-msvc
            build: |
              yarn workspace @examples/napi build --target i686-pc-windows-msvc --release
              yarn workspace @examples/compat-mode build --target i686-pc-windows-msvc --release
            test: |
              export NODE_OPTIONS="--max-old-space-size=3072"
              yarn workspace @examples/napi test -s
              node ./node_modules/electron/install.js
              yarn test:electron
            toolchain: stable
        exclude:
          - settings:
              toolchain: 1.88.0
            node: 20
          - settings:
              target: i686-pc-windows-msvc
            node: 20
          - settings:
              target: aarch64-pc-windows-msvc
            node: 20
    name: ${{ matrix.settings.target }} - node@${{ matrix.node }} - toolchain@ ${{ matrix.settings.toolchain }}
    runs-on: ${{ matrix.settings.host }}

    steps:
      - uses: actions/checkout@v6

      - name: Setup node
        uses: actions/setup-node@v6
        with:
          node-version: ${{ matrix.node }}
          cache: 'yarn'

      - name: Install rustup (Windows 11 ARM)
        if: matrix.settings.host == 'windows-11-arm'
        shell: pwsh
        run: |
          Invoke-WebRequest -Uri "https://static.rust-lang.org/rustup/dist/aarch64-pc-windows-msvc/rustup-init.exe" -OutFile rustup-init.exe
          .\rustup-init.exe --default-toolchain none -y
          "$env:USERPROFILE\.cargo\bin" | Out-File -Append -Encoding ascii $env:GITHUB_PATH
          "CARGO_HOME=$env:USERPROFILE\.cargo" | Out-File -Append -Encoding ascii $env:GITHUB_ENV

      - name: Install Rust (Windows 11 ARM)
        if: matrix.settings.host == 'windows-11-arm'
        shell: pwsh
        run: |
          rustup install stable
          rustup target add ${{ matrix.settings.target }}
          cargo --version

      - name: Install
        uses: dtolnay/rust-toolchain@stable
        if: matrix.settings.host != 'windows-11-arm'
        with:
          toolchain: ${{ matrix.settings.toolchain }}
          targets: ${{ matrix.settings.target }}

      - name: Cache cargo
        uses: actions/cache@v5
        with:
          path: |
            ~/.cargo/registry
            ~/.cargo/git
            target
          key: ${{ matrix.settings.host }}-${{ matrix.settings.toolchain }}-${{ matrix.settings.target }}-cargo-cache

      - name: 'Install dependencies'
        shell: bash
        run: |
          yarn config set supportedArchitectures.cpu --json '["current", "x64", "ia32", "wasm32"]'
          yarn install --mode=skip-build --immutable

      - name: Check build
        run: cargo check --target ${{ matrix.settings.target }} --all --bins --examples --tests -vvv

      - name: Build tests
        if: matrix.settings.build
        run: ${{ matrix.settings.build }}
        env:
          CARGO_PROFILE_DEV_OPT_LEVEL: 1

      - name: Setup node
        uses: actions/setup-node@v6
        if: matrix.settings.target == 'i686-pc-windows-msvc'
        with:
          node-version: 22
          architecture: 'x86'

      - name: Unit tests
        if: matrix.settings.test
        run: ${{ matrix.settings.test }}
        shell: bash
        timeout-minutes: 10
        env:
          NODE_OPTIONS: '--max-old-space-size=8192'
          DISABLE_V8_COMPILE_CACHE: 1
          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

      - name: Electron tests
        if: matrix.settings.target == 'aarch64-apple-darwin' || matrix.settings.target == 'x86_64-pc-windows-msvc'
        run: |
          node ./node_modules/electron/install.js
          yarn test:electron

      - name: Electron tests
        if: matrix.settings.target == 'x86_64-unknown-linux-gnu'
        run: |
          sudo sysctl -w kernel.apparmor_restrict_unprivileged_userns=0
          node ./node_modules/electron/install.js
          xvfb-run --auto-servernum yarn test:electron

      - name: Test build with profile
        run: yarn workspace @examples/napi build --profile napi-rs-custom

  build-and-test-msys2:
    strategy:
      matrix:
        sys: [MINGW64, UCRT64, CLANG64]
    runs-on: windows-latest

    steps:
      - uses: actions/checkout@v6

      - name: Setup MSYS2
        uses: msys2/setup-msys2@v2
        with:
          msystem: ${{ matrix.sys }}
          update: true
          install: >-
            base-devel
          pacboy: >-
            rust:p
            yarn:p
            ${{ matrix.sys == 'CLANG64' && 'gcc-compat:p' || '' }}

      - name: Cargo test
        shell: msys2 {0}
        run: |
          cargo test
  # Because dependencies use napi-rs itself they use older versions of napi-rs to install the package, this will fail automatically during build, uncomment when bootstrap issues have been solved
  #    - name: Install dependencies
  #      shell: msys2 {0}
  #      run: |
  #        yarn install --immutable --mode=skip-build
  #
  #    - name: Build tests
  #      shell: msys2 {0}
  #      run: yarn build:test
  #
  #    - name: Run tests
  #      shell: msys2 {0}
  #      run: |
  #        yarn test:cli
  #        yarn test
  #        yarn tsc -p examples/napi/tsconfig.json --noEmit --skipLibCheck
  #        yarn test:macro

  build_only:
    name: Build only test - ${{ matrix.settings.target }}
    runs-on: ${{ matrix.settings.host }}
    strategy:
      fail-fast: false
      matrix:
        settings:
          - host: ubuntu-latest
            target: aarch64-linux-android
          - host: ubuntu-latest
            target: armv7-linux-androideabi
          - host: ubuntu-24.04
            target: aarch64-unknown-linux-ohos
          - host: ubuntu-latest
            target: riscv64gc-unknown-linux-gnu
            setup: |
              sudo apt-get update
              sudo apt-get install -y gcc-riscv64-linux-gnu
          - host: ubuntu-latest
            target: loongarch64-unknown-linux-gnu
            # TODO: Switch to gcc-loongarch64-linux when available
            setup: |
              sudo apt-get update
              sudo apt-get install -y gcc-13-loongarch64-linux-gnu

    steps:
      - uses: actions/checkout@v6

      - name: Setup node
        uses: actions/setup-node@v6
        with:
          node-version: 24
          cache: 'yarn'

      - name: Setup OpenHarmony SDK
        if: ${{ contains(matrix.settings.target, 'ohos') }}
        uses: openharmony-rs/setup-ohos-sdk@v0.2

      - name: Install
        uses: dtolnay/rust-toolchain@stable
        with:
          toolchain: stable
          targets: ${{ matrix.settings.target }}

      - name: Cache cargo
        uses: actions/cache@v5
        with:
          path: |
            ~/.cargo/registry
            ~/.cargo/git
            target
          key: stable-${{ matrix.settings.host }}-${{ matrix.settings.target }}-cargo-cache

      - name: Setup toolchain
        if: matrix.settings.setup
        run: ${{ matrix.settings.setup }}

      - name: Install dependencies
        run: yarn install --immutable --mode=skip-build

      - name: Cross build native tests
        run: yarn build:test -- --target ${{ matrix.settings.target }} --release
        shell: bash
        env:
          TARGET_CC: clang

  build_for_test_in_docker:
    name: build - ${{ matrix.settings.target }}
    runs-on: ubuntu-latest
    strategy:
      fail-fast: false
      matrix:
        settings:
          - target: powerpc64le-unknown-linux-gnu
          - target: s390x-unknown-linux-gnu
          - target: x86_64-unknown-linux-gnu
          - target: aarch64-unknown-linux-gnu

    steps:
      - uses: actions/checkout@v6

      - name: Setup node
        uses: actions/setup-node@v6
        with:
          node-version: 24
          cache: 'yarn'

      - name: Install
        uses: dtolnay/rust-toolchain@stable
        with:
          toolchain: stable
          targets: ${{ matrix.settings.target }}

      - name: Cache cargo
        uses: actions/cache@v5
        with:
          path: |
            ~/.cargo/registry
            ~/.cargo/git
            target
            ~/.napi-rs
          key: stable-ubuntu-latest-${{ matrix.settings.target }}-cargo-cache

      - name: Install dependencies
        run: yarn install --immutable --mode=skip-build

      - name: Cross build native tests
        run: yarn build:test -- --target ${{ matrix.settings.target }} --release --use-napi-cross
        shell: bash
        env:
          CARGO_PROFILE_DEV_OPT_LEVEL: 1
          TARGET_CC: clang

      - uses: actions/upload-artifact@v7
        with:
          name: ${{ matrix.settings.target }}-example
          path: examples/napi/*.node
      - uses: actions/upload-artifact@v7
        with:
          name: ${{ matrix.settings.target }}-example-compat
          path: examples/napi-compat-mode/index.node

  build_musl:
    name: build - ${{ matrix.settings.target }}
    runs-on: ubuntu-latest
    strategy:
      fail-fast: false
      matrix:
        settings:
          - target: x86_64-unknown-linux-musl
          - target: aarch64-unknown-linux-musl

    steps:
      - uses: actions/checkout@v6

      - name: Setup node
        uses: actions/setup-node@v6
        with:
          node-version: 24
          cache: 'yarn'

      - name: Install
        uses: dtolnay/rust-toolchain@stable
        with:
          targets: ${{ matrix.settings.target }}

      - name: Install dependencies
        run: yarn install --immutable --mode=skip-build

      - name: Install ziglang
        uses: mlugg/setup-zig@v2
        with:
          version: 0.15.2

      - name: Install cargo-zigbuild
        uses: taiki-e/install-action@v2
        env:
          GITHUB_TOKEN: ${{ github.token }}
        with:
          tool: cargo-zigbuild

      - name: Cache cargo
        uses: actions/cache@v5
        with:
          path: |
            .cargo-cache/registry
            .cargo-cache/git
            target
          key: stable-${{ matrix.settings.target }}-cargo-cache

      - name: Cross build musl
        run: yarn build:test -- --target ${{ matrix.settings.target }} -x

      - uses: actions/upload-artifact@v7
        with:
          name: ${{ matrix.settings.target }}-example
          path: examples/napi/*.node
          if-no-files-found: error
      - uses: actions/upload-artifact@v7
        with:
          name: ${{ matrix.settings.target }}-example-compat
          path: examples/napi-compat-mode/index.node
          if-no-files-found: error

  test_in_docker:
    name: Test - ${{ matrix.settings.target }} - ${{ matrix.node }}
    # Node.js on qemu segfaults on s390x and arm64v8 when using 24.04
    # See also https://github.com/actions/runner-images/issues/11471
    runs-on: ${{ contains(matrix.settings.target, 'aarch64') && 'ubuntu-24.04-arm' || 'ubuntu-22.04' }}
    permissions:
      contents: read
    needs:
      - build_musl
      - build_for_test_in_docker
    strategy:
      fail-fast: false
      matrix:
        node: [20, 22]
        settings:
          - image: 'node:{:version}-slim'
            target: x86_64-unknown-linux-gnu
            args: ''
            arch: 'x64'
            libc: 'gnu'
          - image: 'node:{:version}-slim'
            target: aarch64-unknown-linux-gnu
            args: '--platform linux/arm64'
            arch: 'arm64'
            libc: 'gnu'
          - image: 'node:{:version}-slim'
            target: powerpc64le-unknown-linux-gnu
            args: '--platform linux/ppc64le'
            arch: 'ppc64'
            libc: 'gnu'
          - image: 'node:{:version}-slim'
            target: s390x-unknown-linux-gnu
            args: '--platform linux/s390x'
            arch: 's390x'
            libc: 'gnu'
          - image: 'node:{:version}-alpine'
            target: x86_64-unknown-linux-musl
            args: ''
            arch: 'x64'
            libc: 'musl'
          - image: 'node:{:version}-alpine'
            target: aarch64-unknown-linux-musl
            args: '--platform linux/arm64'
            arch: 'arm64'
            libc: 'musl'
    steps:
      - uses: actions/checkout@v6

      - name: Setup node
        uses: actions/setup-node@v6
        with:
          node-version: 24
          cache: 'yarn'
      - uses: actions/download-artifact@v8
        with:
          name: ${{ matrix.settings.target }}-example
          path: examples/napi/
      - uses: actions/download-artifact@v8
        with:
          name: ${{ matrix.settings.target }}-example-compat
          path: examples/napi-compat-mode/index.node
      - name: Install dependencies
        if: ${{ matrix.settings.arch != 's390x' }}
        run: |
          yarn config set --json supportedArchitectures.cpu '["current", "${{ matrix.settings.arch }}"]'
          yarn config set --json supportedArchitectures.libc '["current", "${{ matrix.settings.libc }}"]'
          yarn install --immutable --mode=skip-build
      - name: Install dependencies
        if: ${{ matrix.settings.arch == 's390x' }}
        run: |
          yarn config set --json supportedArchitectures.cpu '["current", "wasm32"]'
          yarn install --immutable --mode=skip-build
          yarn workspace @napi-rs/wasm-runtime build
      - name: Set up QEMU
        uses: docker/setup-qemu-action@v4
        if: ${{ !contains(matrix.settings.target, 'aarch64') }}
        with:
          platforms: all
          image: tonistiigi/binfmt:qemu-v8.1.5
      - run: docker run --rm --privileged multiarch/qemu-user-static --reset -p yes
        if: ${{ !contains(matrix.settings.target, 'aarch64') }}
      - name: Setup image name
        id: image-name
        run: |
          node -e "console.info('docker-image=${{ matrix.settings.image }}'.replace('{:version}', ${{ matrix.node }}))" >> "$GITHUB_OUTPUT"
      - name: Setup and run tests
        # Node.js on qemu randomly segfaults on powerpc64le
        continue-on-error: ${{ matrix.settings.target == 'powerpc64le-unknown-linux-gnu' || matrix.settings.target == 's390x-unknown-linux-gnu' }}
        run: >-
          docker run --rm
          ${{ matrix.settings.args }}
          -v ${{ github.workspace }}:/build -w /build
          ${{ steps.image-name.outputs.docker-image }}
          sh -c "export NODE_OPTIONS=--max-old-space-size=8192 && export DISABLE_V8_COMPILE_CACHE=1 && yarn workspace @examples/napi test"
        env:
          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

  build-and-test-linux-armv7:
    name: stable - armv7-unknown-linux-gnueabihf - node@22
    runs-on: ubuntu-latest

    steps:
      - uses: actions/checkout@v6

      - name: Setup node
        uses: actions/setup-node@v6
        with:
          node-version: 22
          cache: 'yarn'

      - name: Install
        uses: dtolnay/rust-toolchain@stable
        with:
          toolchain: stable
          targets: armv7-unknown-linux-gnueabihf

      - name: Cache cargo
        uses: actions/cache@v5
        with:
          path: |
            ~/.cargo/registry
            ~/.cargo/git
            target
          key: stable-linux-armv7-gnueabihf-node@22-cargo-cache

      - name: Install dependencies
        run: |
          yarn config set --json supportedArchitectures.cpu '["arm", "current"]'
          yarn install --immutable --mode=skip-build

      - name: Cross build native tests
        run: yarn build:test -- --target armv7-unknown-linux-gnueabihf --use-napi-cross
        env:
          TARGET_CC: clang

      - run: docker run --rm --privileged multiarch/qemu-user-static --reset -p yes

      - name: Setup and run tests
        run: >-
          docker run --rm
          --platform linux/arm/v7
          -v ${{ github.workspace }}:/build -w /build
          node:22-slim
          sh -c "yarn test"
        env:
          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

  build_binary_crate:
    runs-on: ubuntu-latest
    name: Test cli build binary
    steps:
      - uses: actions/checkout@v6

      - name: Setup node
        uses: actions/setup-node@v6
        with:
          node-version: 24
          cache: 'yarn'

      - name: Install
        uses: dtolnay/rust-toolchain@stable
        with:
          toolchain: stable

      - name: Cache cargo
        uses: actions/cache@v5
        with:
          path: |
            ~/.cargo/registry
            ~/.cargo/git
            target
          key: stable-cargo-cache-build-binary

      - name: 'Install dependencies'
        run: yarn install --mode=skip-build --immutable

      - name: Build and run binary
        run: |
          yarn workspace binary build
          ./examples/binary/napi-examples-binary
          yarn workspace binary build --profile napi-rs-custom

  check-all-features:
    strategy:
      fail-fast: false
      matrix:
        settings:
          - features: 'napi1,napi2,napi3,napi4,napi5,napi6,napi7,napi8,napi9,experimental,async,chrono_date,latin1,full'
            package: 'napi'
          - features: 'napi3'
            package: 'napi'
          - features: 'napi3,compat-mode'
            package: 'napi'
          - features: 'napi9'
            package: 'napi'
          - features: 'napi3,serde-json'
            package: 'napi'
          - features: 'napi9,serde-json'
            package: 'napi'
          - features: 'async,compat-mode'
            package: 'napi'
          - features: 'compat-mode,strict,type-def,noop,full,default'
            package: 'napi-derive'
          - features: 'noop'
            package: 'napi-examples'
          - features: 'snmalloc'
            package: 'napi-examples'
    name: stable - ubuntu-latest
    runs-on: ubuntu-latest

    steps:
      - uses: actions/checkout@v6

      - name: Install
        uses: dtolnay/rust-toolchain@stable
        with:
          toolchain: stable

      - name: Check build
        run: cargo check -p ${{ matrix.settings.package }} -F ${{ matrix.settings.features }}

  test-freebsd:
    runs-on: ubuntu-latest
    name: Test freebsd target
    permissions:
      contents: read
    steps:
      - uses: actions/checkout@v6
      - name: Install ziglang
        uses: mlugg/setup-zig@v2
        with:
          version: 0.15.2
      - uses: jaxxstorm/action-install-gh-release@v1
        with:
          repo: rust-cross/cargo-zigbuild
      - name: Setup node
        uses: actions/setup-node@v6
        with:
          node-version: 24
          cache: 'yarn'

      - name: Install
        uses: dtolnay/rust-toolchain@stable
        with:
          toolchain: stable
          targets: x86_64-unknown-freebsd

      - name: Cache cargo
        uses: actions/cache@v5
        with:
          path: |
            ~/.cargo/registry
            ~/.cargo/git
            target
          key: stable-cargo-cache-build-freebsd

      - name: 'Install dependencies'
        run: |
          yarn config set supportedArchitectures.cpu --json '["current", "x64", "arm64", "wasm32"]'
          yarn config set supportedArchitectures.os --json '["current", "freebsd"]'
          yarn install --mode=skip-build --immutable
      - name: Build
        run: |
          yarn workspace @examples/napi build --target x86_64-unknown-freebsd -x
          yarn tsc -p examples/napi/tsconfig.json
          rm -rf examples/napi/__tests__
          mv examples/napi/dist/__tests__ examples/napi/
      - name: Test
        id: build
        uses: cross-platform-actions/action@v0.32.0
        env:
          DEBUG: 'napi:*'
          RUSTUP_HOME: /home/runner/rustup
          CARGO_HOME: /home/runner/cargo
          RUSTUP_IO_THREADS: 1
          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
        with:
          operating_system: freebsd
          version: '15.0'
          memory: 12G
          cpu_count: 3
          environment_variables: 'DEBUG RUSTUP_IO_THREADS GITHUB_TOKEN'
          shell: bash
          run: |
            env | sort
            sudo pkg install -y -f curl node libnghttp2 npm
            sudo npm install -g corepack
            sudo corepack enable
            echo "~~~~ node -v ~~~~"
            node -v
            echo "~~~~ yarn --version ~~~~"
            yarn --version
            pwd
            ls -lah
            whoami
            env
            freebsd-version
            export NODE_OPTIONS="--max-old-space-size=8192"
            yarn workspace @examples/napi test-js -s

  test-node-wasi:
    runs-on: ubuntu-latest
    name: Test node wasi target
    timeout-minutes: 10
    steps:
      - uses: actions/checkout@v6
      - name: Setup node
        uses: actions/setup-node@v6
        with:
          node-version: 24
          cache: 'yarn'
          cache-dependency-path: 'yarn.lock'
      - name: Install
        uses: dtolnay/rust-toolchain@stable
        with:
          toolchain: stable
          targets: wasm32-wasip1-threads
      - name: Install dependencies
        run: yarn install --immutable --mode=skip-build
      - name: Check
        run: cargo check -p napi --all-features --target wasm32-wasip1-threads
        env:
          RUSTFLAGS: '--cfg tokio_unstable'
      - name: Build
        run: |
          yarn build
          yarn workspace @examples/napi build --target wasm32-wasip1-threads --profile wasi
        env:
          RUSTFLAGS: '--cfg tokio_unstable'
      - name: Test
        run: yarn workspace @examples/napi test -s
        env:
          WASI_TEST: 'true'
          NODE_OPTIONS: '--max-old-space-size=8192'
          SKIP_UNWIND_TEST: 1
      - name: Browser test
        run: |
          yarn workspace @examples/napi playwright install chromium
          yarn workspace @examples/napi vitest

  test-latest-bun:
    runs-on: ubuntu-latest
    name: Test latest bun
    timeout-minutes: 10
    permissions:
      contents: read
    steps:
      - uses: actions/checkout@v6
      - uses: oven-sh/setup-bun@v2
        with:
          bun-version: latest
      - name: Setup node
        uses: actions/setup-node@v6
        with:
          node-version: 24
          cache: 'yarn'
      - name: Install
        uses: dtolnay/rust-toolchain@stable
        with:
          toolchain: stable
          targets: x86_64-unknown-linux-gnu
      - name: Cache cargo
        uses: actions/cache@v5
        with:
          path: |
            ~/.cargo/registry
            ~/.cargo/git
            target
          key: stable-x86_64-unknown-linux-gnu-node@18-cargo-cache
      - name: Install dependencies
        run: yarn install --immutable --mode=skip-build
      - name: Build
        run: |
          bun run build
          yarn workspace @examples/napi build --features dyn-symbols
      - name: Test
        continue-on-error: true
        run: bun run test:bun
        env:
          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

  release-npm:
    runs-on: ubuntu-latest
    permissions:
      contents: write
      id-token: write
    needs:
      - lint
      - build_binary_crate
    if: "startsWith(github.event.head_commit.message, 'chore(release): publish')"
    steps:
      - uses: actions/checkout@v6
      - uses: actions/setup-node@v6
        with:
          node-version: 24
          cache: 'yarn'
      - name: Publish
        run: |
          yarn install --mode=skip-build
          npm install -g npm
          yarn build
          node ./.github/publish.js
        env:
          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

  done:
    runs-on: ubuntu-latest
    needs:
      - lint
      - build_and_test
      - build-and-test-msys2
      - build_only
      - test_in_docker
      - build-and-test-linux-armv7
      - build_binary_crate
      - check-all-features
      - test-freebsd
      - test-node-wasi
      - test-latest-bun
    steps:
      - run: exit 1
        if: ${{ always() && (contains(needs.*.result, 'failure') || contains(needs.*.result, 'cancelled')) }}


================================================
FILE: .github/workflows/zig.yaml
================================================
name: Zig-Cross-Compile

env:
  DEBUG: 'napi:*'
  TEST_ZIG_CROSS: '1'

permissions: {}

concurrency:
  group: ${{ github.workflow }}-${{ github.ref }}
  cancel-in-progress: true

on:
  push:
    branches:
      - main
  pull_request:

jobs:
  build:
    name: Zig-Cross-Compile-On-Linux
    runs-on: ubuntu-latest
    strategy:
      fail-fast: false
      matrix:
        target:
          [
            'aarch64-apple-darwin',
            'x86_64-unknown-linux-musl',
            'aarch64-unknown-linux-musl',
            'armv7-unknown-linux-musleabihf',
          ]

    steps:
      - uses: actions/checkout@v6
      - name: Setup node
        uses: actions/setup-node@v6
        with:
          node-version: 24
          cache: 'yarn'
      - name: Install
        uses: dtolnay/rust-toolchain@stable
        with:
          toolchain: stable
          targets: ${{ matrix.target }}
      - name: Install cargo-zigbuild
        uses: taiki-e/install-action@v2
        env:
          GITHUB_TOKEN: ${{ github.token }}
        with:
          tool: cargo-zigbuild
      - name: Cache cargo
        uses: actions/cache@v5
        with:
          path: |
            ~/.cargo/registry
            ~/.cargo/git
            target
          key: stable-zig-${{ matrix.target }}-cargo-cache
      - name: Install ziglang
        uses: mlugg/setup-zig@v2
        with:
          version: 0.13.0
      - name: Install cargo-zigbuild
        uses: taiki-e/install-action@v2
        with:
          tool: cargo-zigbuild
        env:
          GITHUB_TOKEN: ${{ github.token }}
      - name: Install dependencies
        run: yarn install --immutable --mode=skip-build
      - name: install MacOS SDK
        if: contains(matrix.target, 'apple')
        run: |
          curl -L "https://github.com/phracker/MacOSX-SDKs/releases/download/11.3/MacOSX11.3.sdk.tar.xz" | tar -J -x -C /opt
      - name: Cross build native tests
        env:
          SDKROOT: /opt/MacOSX11.3.sdk
        run: |
          yarn build:test -- --target ${{ matrix.target }} --cross-compile
      - name: Upload artifacts
        uses: actions/upload-artifact@v7
        with:
          name: compat-${{ matrix.target }}
          path: ./examples/napi-compat-mode/index.node
          if-no-files-found: error
      - name: Upload artifacts
        uses: actions/upload-artifact@v7
        with:
          name: napi-${{ matrix.target }}
          path: ./examples/napi/*.node
          if-no-files-found: error

  test:
    name: Test Zig Cross Compiled ${{ matrix.settings.target }}
    runs-on: ${{ matrix.settings.host }}
    permissions:
      contents: read
    needs:
      - build
    strategy:
      fail-fast: false
      matrix:
        settings:
          - host: ubuntu-latest
            target: x86_64-unknown-linux-musl
          - host: macos-latest
            target: aarch64-apple-darwin
          - host: ubuntu-24.04-arm
            target: aarch64-unknown-linux-musl
            docker-platform: arm64
          - host: ubuntu-latest
            target: armv7-unknown-linux-musleabihf
            docker-platform: arm/v7

    steps:
      - uses: actions/checkout@v6
      - name: Setup node
        uses: actions/setup-node@v6
        with:
          node-version: 24
          cache: 'yarn'
      - name: Install dependencies
        run: |
          yarn config set --json supportedArchitectures.libc '["current", "musl"]'
          yarn config set --json supportedArchitectures.cpu '["current", "arm64", "arm", "wasm32"]'
          yarn install --immutable --mode=skip-build
      - name: Download artifacts
        uses: actions/download-artifact@v8
        with:
          name: napi-${{ matrix.settings.target }}
          path: ./examples/napi/
      - name: Download artifacts
        uses: actions/download-artifact@v8
        with:
          name: compat-${{ matrix.settings.target }}
          path: ./examples/napi-compat-mode/
      - name: List files
        run: |
          ls ./examples/napi
          ls ./examples/napi-compat-mode
      - name: Test
        run: |
          yarn workspace @examples/napi test -s --verbose
          yarn workspace @examples/compat-mode test -s --verbose
        env:
          SKIP_UNWIND_TEST: 1
          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
        if: matrix.settings.host == 'macos-latest'
      - run: docker run --rm --privileged multiarch/qemu-user-static --reset -p yes
        if: matrix.settings.host == 'ubuntu-latest'
      - name: Test
        if: matrix.settings.host == 'ubuntu-latest' && matrix.settings.target != 'x86_64-unknown-linux-musl' && matrix.settings.target != 'armv7-unknown-linux-musleabihf'
        run: >-
          docker run --rm
          --platform linux/${{ matrix.settings.docker-platform }}
          -v ${{ github.workspace }}:/build -w /build
          node:lts-alpine
          sh -c "set -e && yarn test"
        env:
          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
      - name: Test
        if: matrix.settings.target == 'armv7-unknown-linux-musleabihf'
        # Docker issues
        continue-on-error: true
        # https://github.com/nodejs/docker-node/issues/1798
        run: >-
          docker run --rm
          --platform linux/${{ matrix.settings.docker-platform }}
          -v ${{ github.workspace }}:/build -w /build
          node:18-alpine
          sh -c "set -e &&
          export NODE_OPTIONS='--max-old-space-size=8192' &&
          yarn tsc -p examples/napi/tsconfig.json &&
          rm -rf examples/napi/__tests__ &&
          mv examples/napi/dist/__tests__ examples/napi/ &&
          yarn workspace @examples/napi test -s --verbose"
        env:
          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
      - name: Test
        if: matrix.settings.target == 'x86_64-unknown-linux-musl'
        run: >-
          docker run --rm
          -v ${{ github.workspace }}:/napi-rs -w /napi-rs
          node:lts-alpine
          sh -c "yarn test"
        env:
          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

  zig-done:
    runs-on: ubuntu-latest
    needs:
      - test
    steps:
      - run: exit 1
        if: ${{ always() && (contains(needs.*.result, 'failure') || contains(needs.*.result, 'cancelled')) }}


================================================
FILE: .gitignore
================================================
.idea/
target/
*.log
.DS_Store
Cargo.lock
node_modules
*.node
build/LICENSE
napi/LICENSE
napi-derive/LICENSE
sys/LICENSE

# Created by https://www.gitignore.io/api/node
# Edit at https://www.gitignore.io/?templates=node

### Node ###
# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
lerna-debug.log*

# Diagnostic reports (https://nodejs.org/api/report.html)
report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json

# Runtime data
pids
*.pid
*.seed
*.pid.lock

# Directory for instrumented libs generated by jscoverage/JSCover
lib-cov

# Coverage directory used by tools like istanbul
coverage
*.lcov

# nyc test coverage
.nyc_output

# Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files)
.grunt

# Bower dependency directory (https://bower.io/)
bower_components

# node-waf configuration
.lock-wscript

# Compiled binary addons (https://nodejs.org/api/addons.html)
build/Release

# Dependency directories
node_modules/
jspm_packages/

# TypeScript v1 declaration files
typings/

# TypeScript cache
*.tsbuildinfo

# Optional npm cache directory
.npm

# Optional eslint cache
.eslintcache

# Optional REPL history
.node_repl_history

# Output of 'npm pack'
*.tgz

# Yarn Integrity file
.yarn-integrity

# dotenv environment variables file
.env
.env.test

# parcel-bundler cache (https://parceljs.org/)
.cache

# next.js build output
.next

# nuxt.js build output
.nuxt

# rollup.js default build output
dist/

# Uncomment the public line if your project uses Gatsby
# https://nextjs.org/blog/next-9-1#public-directory-support
# https://create-react-app.dev/docs/using-the-public-folder/#docsNav
# public

# Storybook build outputs
.out
.storybook-out

# vuepress build output
.vuepress/dist

# Serverless directories
.serverless/

# FuseBox cache
.fusebox/

# DynamoDB Local files
.dynamodb/

# Temporary folders
tmp/
temp/
cli/src/api/__tests__/tmp/

# End of https://www.gitignore.io/api/node

# Created by https://www.gitignore.io/api/macos
# Edit at https://www.gitignore.io/?templates=macos

### macOS ###
# General
.DS_Store
.AppleDouble
.LSOverride

# Icon must end with two \r
Icon

# Thumbnails
._*

# Files that might appear in the root of a volume
.DocumentRevisions-V100
.fseventsd
.Spotlight-V100
.TemporaryItems
.Trashes
.VolumeIcon.icns
.com.apple.timemachine.donotpresent

# Directories potentially created on remote AFP share
.AppleDB
.AppleDesktop
Network Trash Folder
Temporary Items
.apdisk

# End of https://www.gitignore.io/api/macos
scripts
lib

sys/.node-headers
bench.txt
.pnp.*
.yarn/*
!.yarn/patches
!.yarn/plugins
!.yarn/releases
!.yarn/sdks
!.yarn/versions
.vscode/
.claude/

================================================
FILE: .husky/.gitignore
================================================
_


================================================
FILE: .husky/pre-commit
================================================
yarn lint-staged && cargo fmt --all


================================================
FILE: .npmignore
================================================
target
build
sys
napi
napi-derive
napi-derive-example
test_module
.yarnrc
Cargo.lock
rustfmt.toml
.github
.dockerignore
.eslintignore
.eslintrc.yml
Cargo.toml
alpine.Dockerfile
arm64v8.Dockerfile
yarn.lock


================================================
FILE: .oxlintignore
================================================
.yarn
dist
target
bench/**/*.ts


================================================
FILE: .prettierignore
================================================
target
node_modules
scripts
triples/index.js
examples/napi/index.d.ts
.yarn
yarn.lock
examples/napi/wasi-worker.mjs
examples/napi/example.wasi.cjs
examples/napi/example.wasi-browser.js


================================================
FILE: .yarn/patches/buffer-npm-6.0.3-cd90dfedfe.patch
================================================
diff --git a/index.js b/index.js
index 7a0e9c2a123bc9d26c20bb3de4a3c4e49b24ee40..b1a53729c2900ddfca88a0f312a785c51a5aac80 100644
--- a/index.js
+++ b/index.js
@@ -8,19 +8,17 @@
 
 'use strict'
 
-const base64 = require('base64-js')
-const ieee754 = require('ieee754')
+import * as base64 from 'base64-js'
+import * as ieee754 from 'ieee754'
 const customInspectSymbol =
   (typeof Symbol === 'function' && typeof Symbol['for'] === 'function') // eslint-disable-line dot-notation
     ? Symbol['for']('nodejs.util.inspect.custom') // eslint-disable-line dot-notation
     : null
 
-exports.Buffer = Buffer
-exports.SlowBuffer = SlowBuffer
-exports.INSPECT_MAX_BYTES = 50
+const INSPECT_MAX_BYTES = 50
 
 const K_MAX_LENGTH = 0x7fffffff
-exports.kMaxLength = K_MAX_LENGTH
+const kMaxLength = K_MAX_LENGTH
 
 /**
  * If `Buffer.TYPED_ARRAY_SUPPORT`:
@@ -616,7 +614,7 @@ Buffer.prototype.equals = function equals (b) {
 
 Buffer.prototype.inspect = function inspect () {
   let str = ''
-  const max = exports.INSPECT_MAX_BYTES
+  const max = INSPECT_MAX_BYTES
   str = this.toString('hex', 0, max).replace(/(.{2})/g, '$1 ').trim()
   if (this.length > max) str += ' ... '
   return '<Buffer ' + str + '>'
@@ -2104,3 +2102,10 @@ function defineBigIntMethod (fn) {
 function BufferBigIntNotDefined () {
   throw new Error('BigInt not supported')
 }
+
+export {
+  Buffer,
+  SlowBuffer,
+  INSPECT_MAX_BYTES,
+  kMaxLength,
+}
\ No newline at end of file


================================================
FILE: .yarn/patches/node-inspect-extracted-npm-3.0.0-f661b6c334.patch
================================================
diff --git a/dist/inspect.js b/dist/inspect.js
index 8a323f4df754c11beffd03bb63c5d24c0ea43724..da0515280b09ea8d7bcd2c3aeb5f1a48649be80a 100644
--- a/dist/inspect.js
+++ b/dist/inspect.js
@@ -1 +1,3831 @@
-!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.util=e():t.util=e()}(this,(()=>(()=>{"use strict";var t={165:(t,e)=>{function r(t){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},r(t)}function n(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,(void 0,i=function(t,e){if("object"!==r(t)||null===t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var o=n.call(t,"string");if("object"!==r(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(o.key),"symbol"===r(i)?i:String(i)),o)}var i}var o=function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t)}var e,r;return e=t,r=[{key:"hexSlice",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,e=arguments.length>1?arguments[1]:void 0;return Array.prototype.map.call(this.slice(t,e),(function(t){return("00"+t.toString(16)).slice(-2)})).join("")}}],r&&n(e.prototype,r),Object.defineProperty(e,"prototype",{writable:!1}),t}();e.l=o},777:(t,e,r)=>{function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}function o(t,e){var r="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!r){if(Array.isArray(t)||(r=function(t,e){if(t){if("string"==typeof t)return i(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?i(t,e):void 0}}(t))||e&&t&&"number"==typeof t.length){r&&(t=r);var n=0,o=function(){};return{s:o,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,c=!0,l=!1;return{s:function(){r=r.call(t)},n:function(){var t=r.next();return c=t.done,t},e:function(t){l=!0,a=t},f:function(){try{c||null==r.return||r.return()}finally{if(l)throw a}}}}function i(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function a(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function c(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?a(Object(r),!0).forEach((function(e){l(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):a(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function l(t,e,r){return(e=function(t){var e=function(t,e){if("object"!==n(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var o=r.call(t,"string");if("object"!==n(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"===n(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var u,p,f=r(541),y=f.internalBinding,s=f.Array,g=f.ArrayIsArray,d=f.ArrayPrototypeFilter,b=f.ArrayPrototypeForEach,h=f.ArrayPrototypeIncludes,v=f.ArrayPrototypeIndexOf,m=f.ArrayPrototypeJoin,S=f.ArrayPrototypeMap,P=f.ArrayPrototypePop,x=f.ArrayPrototypePush,O=f.ArrayPrototypePushApply,A=f.ArrayPrototypeSlice,w=f.ArrayPrototypeSplice,j=f.ArrayPrototypeSort,E=f.ArrayPrototypeUnshift,_=f.BigIntPrototypeValueOf,F=f.BooleanPrototypeValueOf,L=f.DatePrototypeGetTime,R=f.DatePrototypeToISOString,T=f.DatePrototypeToString,I=f.ErrorPrototypeToString,k=f.FunctionPrototypeBind,z=f.FunctionPrototypeCall,M=f.FunctionPrototypeToString,B=f.JSONStringify,N=f.MapPrototypeGetSize,D=f.MapPrototypeEntries,C=f.MathFloor,H=f.MathMax,G=f.MathMin,W=f.MathRound,U=f.MathSqrt,V=f.MathTrunc,$=f.Number,Z=f.NumberIsFinite,q=f.NumberIsNaN,K=f.NumberParseFloat,Y=f.NumberParseInt,J=f.NumberPrototypeToString,Q=f.NumberPrototypeValueOf,X=f.Object,tt=f.ObjectAssign,et=f.ObjectDefineProperty,rt=f.ObjectGetOwnPropertyDescriptor,nt=f.ObjectGetOwnPropertyNames,ot=f.ObjectGetOwnPropertySymbols,it=f.ObjectGetPrototypeOf,at=f.ObjectIs,ct=f.ObjectKeys,lt=f.ObjectPrototypeHasOwnProperty,ut=f.ObjectPrototypePropertyIsEnumerable,pt=f.ObjectSeal,ft=f.ObjectSetPrototypeOf,yt=f.ReflectApply,st=f.ReflectOwnKeys,gt=f.RegExp,dt=f.RegExpPrototypeExec,bt=f.RegExpPrototypeSymbolReplace,ht=f.RegExpPrototypeSymbolSplit,vt=f.RegExpPrototypeToString,mt=f.SafeStringIterator,St=f.SafeMap,Pt=f.SafeSet,xt=f.SetPrototypeGetSize,Ot=f.SetPrototypeValues,At=f.String,wt=f.StringPrototypeCharCodeAt,jt=f.StringPrototypeCodePointAt,Et=f.StringPrototypeIncludes,_t=f.StringPrototypeIndexOf,Ft=f.StringPrototypeLastIndexOf,Lt=f.StringPrototypeNormalize,Rt=f.StringPrototypePadEnd,Tt=f.StringPrototypePadStart,It=f.StringPrototypeRepeat,kt=f.StringPrototypeReplaceAll,zt=f.StringPrototypeSlice,Mt=f.StringPrototypeSplit,Bt=f.StringPrototypeEndsWith,Nt=f.StringPrototypeStartsWith,Dt=f.StringPrototypeToLowerCase,Ct=f.StringPrototypeTrim,Ht=f.StringPrototypeValueOf,Gt=f.SymbolPrototypeToString,Wt=f.SymbolPrototypeValueOf,Ut=f.SymbolIterator,Vt=f.SymbolToStringTag,$t=f.TypedArrayPrototypeGetLength,Zt=f.TypedArrayPrototypeGetSymbolToStringTag,qt=f.Uint8Array,Kt=f.globalThis,Yt=f.uncurryThis,Jt=r(364),Qt=Jt.constants,Xt=Qt.ALL_PROPERTIES,te=Qt.ONLY_ENUMERABLE,ee=Qt.kPending,re=Qt.kRejected,ne=Jt.getOwnNonIndexProperties,oe=Jt.getPromiseDetails,ie=Jt.getProxyDetails,ae=Jt.previewEntries,ce=Jt.getConstructorName,le=Jt.getExternalValue,ue=Jt.Proxy,pe=r(216),fe=pe.customInspectSymbol,ye=pe.isError,se=pe.join,ge=pe.removeColors,de=r(186).isStackOverflowError,be=r(581),he=be.isAsyncFunction,ve=be.isGeneratorFunction,me=be.isAnyArrayBuffer,Se=be.isArrayBuffer,Pe=be.isArgumentsObject,xe=be.isBoxedPrimitive,Oe=be.isDataView,Ae=be.isExternal,we=be.isMap,je=be.isMapIterator,Ee=be.isModuleNamespaceObject,_e=be.isNativeError,Fe=be.isPromise,Le=be.isSet,Re=be.isSetIterator,Te=be.isWeakMap,Ie=be.isWeakSet,ke=be.isRegExp,ze=be.isDate,Me=be.isTypedArray,Be=be.isStringObject,Ne=be.isNumberObject,De=be.isBooleanObject,Ce=be.isBigIntObject,He=r(87),Ge=r(361).BuiltinModule,We=r(659),Ue=We.validateObject,Ve=We.validateString;var $e,Ze,qe,Ke,Ye,Je=new Pt(d(nt(Kt),(function(t){return null!==dt(/^[A-Z][a-zA-Z0-9]+$/,t)}))),Qe=function(t){return void 0===t&&void 0!==t},Xe=pt({showHidden:!1,depth:2,colors:!1,customInspect:!0,showProxy:!1,maxArrayLength:100,maxStringLength:1e4,breakLength:80,compact:3,sorted:!1,getters:!1,numericSeparator:!1}),tr=0,er=1,rr=2;try{$e=new gt("[\\x00-\\x1f\\x27\\x5c\\x7f-\\x9f]|[\\ud800-\\udbff](?![\\udc00-\\udfff])|(?<![\\ud800-\\udbff])[\\udc00-\\udfff]"),Ze=new gt("[\0-\\x1f\\x27\\x5c\\x7f-\\x9f]|[\\ud800-\\udbff](?![\\udc00-\\udfff])|(?<![\\ud800-\\udbff])[\\udc00-\\udfff]","g"),qe=new gt("[\\x00-\\x1f\\x5c\\x7f-\\x9f]|[\\ud800-\\udbff](?![\\udc00-\\udfff])|(?<![\\ud800-\\udbff])[\\udc00-\\udfff]"),Ke=new gt("[\\x00-\\x1f\\x5c\\x7f-\\x9f]|[\\ud800-\\udbff](?![\\udc00-\\udfff])|(?<![\\ud800-\\udbff])[\\udc00-\\udfff]","g");var nr=new gt("(?<=\\n)");Ye=function(t){return ht(nr,t)}}catch(t){$e=/[\x00-\x1f\x27\x5c\x7f-\x9f]/,Ze=/[\x00-\x1f\x27\x5c\x7f-\x9f]/g,qe=/[\x00-\x1f\x5c\x7f-\x9f]/,Ke=/[\x00-\x1f\x5c\x7f-\x9f]/g,Ye=function(t){var e=ht(/\n/,t),r=P(e),n=S(e,(function(t){return t+"\n"}));return""!==r&&n.push(r),n}}var or,ir=/^[a-zA-Z_][a-zA-Z_0-9]*$/,ar=/^(0|[1-9][0-9]*)$/,cr=/^ {4}at (?:[^/\\(]+ \(|)node:(.+):\d+:\d+\)?$/,lr=/[/\\]node_modules[/\\](.+?)(?=[/\\])/g,ur=/^(\s+[^(]*?)\s*{/,pr=/(\/\/.*?\n)|(\/\*(.|\n)*?\*\/)/g,fr=16,yr=0,sr=1,gr=2,dr=["\\x00","\\x01","\\x02","\\x03","\\x04","\\x05","\\x06","\\x07","\\b","\\t","\\n","\\x0B","\\f","\\r","\\x0E","\\x0F","\\x10","\\x11","\\x12","\\x13","\\x14","\\x15","\\x16","\\x17","\\x18","\\x19","\\x1A","\\x1B","\\x1C","\\x1D","\\x1E","\\x1F","","","","","","","","\\'","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","\\\\","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","\\x7F","\\x80","\\x81","\\x82","\\x83","\\x84","\\x85","\\x86","\\x87","\\x88","\\x89","\\x8A","\\x8B","\\x8C","\\x8D","\\x8E","\\x8F","\\x90","\\x91","\\x92","\\x93","\\x94","\\x95","\\x96","\\x97","\\x98","\\x99","\\x9A","\\x9B","\\x9C","\\x9D","\\x9E","\\x9F"],br=new gt("[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]+)*|[a-zA-Z\\d]+(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]*)*)?\\u0007)|(?:(?:\\d{1,4}(?:;\\d{0,4})*)?[\\dA-PR-TZcf-ntqry=><~]))","g");function hr(t,e){var r={budget:{},indentationLvl:0,seen:[],currentDepth:0,stylize:wr,showHidden:Xe.showHidden,depth:Xe.depth,colors:Xe.colors,customInspect:Xe.customInspect,showProxy:Xe.showProxy,maxArrayLength:Xe.maxArrayLength,maxStringLength:Xe.maxStringLength,breakLength:Xe.breakLength,compact:Xe.compact,sorted:Xe.sorted,getters:Xe.getters,numericSeparator:Xe.numericSeparator};if(arguments.length>1)if(arguments.length>2&&(void 0!==arguments[2]&&(r.depth=arguments[2]),arguments.length>3&&void 0!==arguments[3]&&(r.colors=arguments[3])),"boolean"==typeof e)r.showHidden=e;else if(e)for(var n=ct(e),o=0;o<n.length;++o){var i=n[o];lt(Xe,i)||"stylize"===i?r[i]=e[i]:void 0===r.userOptions&&(r.userOptions=e)}return r.colors&&(r.stylize=Ar),null===r.maxArrayLength&&(r.maxArrayLength=1/0),null===r.maxStringLength&&(r.maxStringLength=1/0),Ir(r,t,0)}hr.custom=fe,et(hr,"defaultOptions",{__proto__:null,get:function(){return Xe},set:function(t){return Ue(t,"options"),tt(Xe,t)}});var vr=39,mr=49;function Sr(t,e){et(hr.colors,e,{__proto__:null,get:function(){return this[t]},set:function(e){this[t]=e},configurable:!0,enumerable:!1})}function Pr(t,e){return-1===e?'"'.concat(t,'"'):-2===e?"`".concat(t,"`"):"'".concat(t,"'")}function xr(t){var e=wt(t);return dr.length>e?dr[e]:"\\u".concat(J(e,16))}function Or(t){var e=$e,r=Ze,n=39;if(Et(t,"'")&&(Et(t,'"')?Et(t,"`")||Et(t,"${")||(n=-2):n=-1,39!==n&&(e=qe,r=Ke)),t.length<5e3&&null===dt(e,t))return Pr(t,n);if(t.length>100)return Pr(t=bt(r,t,xr),n);for(var o="",i=0,a=0;a<t.length;a++){var c=wt(t,a);if(c===n||92===c||c<32||c>126&&c<160)o+=i===a?dr[c]:"".concat(zt(t,i,a)).concat(dr[c]),i=a+1;else if(c>=55296&&c<=57343){if(c<=56319&&a+1<t.length){var l=wt(t,a+1);if(l>=56320&&l<=57343){a++;continue}}o+="".concat(zt(t,i,a),"\\u").concat(J(c,16)),i=a+1}}return i!==t.length&&(o+=zt(t,i)),Pr(o,n)}function Ar(t,e){var r=hr.styles[e];if(void 0!==r){var n=hr.colors[r];if(void 0!==n)return"[".concat(n[0],"m").concat(t,"[").concat(n[1],"m")}return t}function wr(t){return t}function jr(){return[]}function Er(t,e){try{return t instanceof e}catch(t){return!1}}function _r(t,e,r,n){for(var o,i=t;t||Qe(t);){var a=rt(t,"constructor");if(void 0!==a&&"function"==typeof a.value&&""!==a.value.name&&Er(i,a.value))return void 0===n||o===t&&Je.has(a.value.name)||Fr(e,i,o||i,r,n),At(a.value.name);t=it(t),void 0===o&&(o=t)}if(null===o)return null;var l=ce(i);if(r>e.depth&&null!==e.depth)return"".concat(l," <Complex prototype>");var u=_r(o,e,r+1,n);return null===u?"".concat(l," <").concat(hr(o,c(c({},e),{},{customInspect:!1,depth:-1})),">"):"".concat(l," <").concat(u,">")}function Fr(t,e,r,n,i){var a,c,l=0;do{if(0!==l||e===r){if(null===(r=it(r)))return;var u=rt(r,"constructor");if(void 0!==u&&"function"==typeof u.value&&Je.has(u.value.name))return}0===l?c=new Pt:b(a,(function(t){return c.add(t)})),a=st(r),x(t.seen,e);var p,f=o(a);try{for(f.s();!(p=f.n()).done;){var y=p.value;if(!("constructor"===y||lt(e,y)||0!==l&&c.has(y))){var s=rt(r,y);if("function"!=typeof s.value){var g=on(t,r,n,y,tr,s,e);t.colors?x(i,"".concat(g,"")):x(i,g)}}}}catch(t){f.e(t)}finally{f.f()}P(t.seen)}while(3!=++l)}function Lr(t,e,r){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"";return null===t?""!==e&&r!==e?"[".concat(r).concat(n,": null prototype] [").concat(e,"] "):"[".concat(r).concat(n,": null prototype] "):""!==e&&t!==e?"".concat(t).concat(n," [").concat(e,"] "):"".concat(t).concat(n," ")}function Rr(t,e){var r,n=ot(t);if(e)r=nt(t),0!==n.length&&O(r,n);else{try{r=ct(t)}catch(e){He(_e(e)&&"ReferenceError"===e.name&&Ee(t)),r=nt(t)}0!==n.length&&O(r,d(n,(function(e){return ut(t,e)})))}return r}function Tr(t,e,r){var n="";return null===e&&(n=ce(t))===r&&(n="Object"),Lr(e,r,n)}function Ir(t,e,i,a){if("object"!==n(e)&&"function"!=typeof e&&!Qe(e))return Wr(t.stylize,e,t);if(null===e)return t.stylize("null","null");var l=e,u=ie(e,!!t.showProxy);if(void 0!==u){if(null===u||null===u[0])return t.stylize("<Revoked Proxy>","special");if(t.showProxy)return function(t,e,r){if(r>t.depth&&null!==t.depth)return t.stylize("Proxy [Array]","special");r+=1,t.indentationLvl+=2;var n=[Ir(t,e[0],r),Ir(t,e[1],r)];return t.indentationLvl-=2,cn(t,n,"",["Proxy [","]"],rr,r)}(t,u,i);e=u}if(t.customInspect){var y=e[fe];if("function"==typeof y&&y!==hr&&(!e.constructor||e.constructor.prototype!==e)){var s=null===t.depth?null:t.depth-i,d=z(y,l,s,function(t,e){var r=c({stylize:t.stylize,showHidden:t.showHidden,depth:t.depth,colors:t.colors,customInspect:t.customInspect,showProxy:t.showProxy,maxArrayLength:t.maxArrayLength,maxStringLength:t.maxStringLength,breakLength:t.breakLength,compact:t.compact,sorted:t.sorted,getters:t.getters,numericSeparator:t.numericSeparator},t.userOptions);if(e){ft(r,null);var i,a=o(ct(r));try{for(a.s();!(i=a.n()).done;){var l=i.value;"object"!==n(r[l])&&"function"!=typeof r[l]||null===r[l]||delete r[l]}}catch(t){a.e(t)}finally{a.f()}r.stylize=ft((function(e,r){var n;try{n="".concat(t.stylize(e,r))}catch(t){}return"string"!=typeof n?e:n}),null)}return r}(t,void 0!==u||!(l instanceof X)),hr);if(d!==l)return"string"!=typeof d?Ir(t,d,i):kt(d,"\n","\n".concat(It(" ",t.indentationLvl)))}}if(t.seen.includes(e)){var b=1;return void 0===t.circular?(t.circular=new St,t.circular.set(e,b)):void 0===(b=t.circular.get(e))&&(b=t.circular.size+1,t.circular.set(e,b)),t.stylize("[Circular *".concat(b,"]"),"special")}return function(t,e,n,i){var a,c;t.showHidden&&(n<=t.depth||null===t.depth)&&(c=[]);var l=_r(e,t,n,c);void 0!==c&&0===c.length&&(c=void 0);var u=e[Vt];("string"!=typeof u||""!==u&&(t.showHidden?lt:ut)(e,Vt))&&(u="");var y,s,d="",b=jr,S=!0,P=0,I=t.showHidden?Xt:te,z=tr;if(Ut in e||null===l)if(S=!1,g(e)){var B="Array"!==l||""!==u?Lr(l,u,"Array","(".concat(e.length,")")):"";if(a=ne(e,I),y=["".concat(B,"["),"]"],0===e.length&&0===a.length&&void 0===c)return"".concat(y[0],"]");z=rr,b=Zr}else if(Le(e)){var C=xt(e),H=Lr(l,u,"Set","(".concat(C,")"));if(a=Rr(e,t.showHidden),b=k(Kr,null,null!==l?e:Ot(e)),0===C&&0===a.length&&void 0===c)return"".concat(H,"{}");y=["".concat(H,"{"),"}"]}else if(we(e)){var G=N(e),W=Lr(l,u,"Map","(".concat(G,")"));if(a=Rr(e,t.showHidden),b=k(Yr,null,null!==l?e:D(e)),0===G&&0===a.length&&void 0===c)return"".concat(W,"{}");y=["".concat(W,"{"),"}"]}else if(Me(e)){a=ne(e,I);var U=e,V="";null===l&&(V=Zt(e),U=new f[V](e));var $=$t(e),Z=Lr(l,u,V,"(".concat($,")"));if(y=["".concat(Z,"["),"]"],0===e.length&&0===a.length&&!t.showHidden)return"".concat(y[0],"]");b=k(qr,null,U,$),z=rr}else je(e)?(a=Rr(e,t.showHidden),y=kr("Map",u),b=k(rn,null,y)):Re(e)?(a=Rr(e,t.showHidden),y=kr("Set",u),b=k(rn,null,y)):S=!0;if(S)if(a=Rr(e,t.showHidden),y=["{","}"],"Object"===l){if(Pe(e)?y[0]="[Arguments] {":""!==u&&(y[0]="".concat(Lr(l,u,"Object"),"{")),0===a.length&&void 0===c)return"".concat(y[0],"}")}else if("function"==typeof e){if(d=function(t,e,r){var n=M(t);if(Nt(n,"class")&&Bt(n,"}")){var o=zt(n,5,-1),i=_t(o,"{");if(-1!==i&&(!Et(zt(o,0,i),"(")||null!==dt(ur,bt(pr,o))))return function(t,e,r){var n=lt(t,"name")&&t.name||"(anonymous)",o="class ".concat(n);if("Function"!==e&&null!==e&&(o+=" [".concat(e,"]")),""!==r&&e!==r&&(o+=" [".concat(r,"]")),null!==e){var i=it(t).name;i&&(o+=" extends ".concat(i))}else o+=" extends [null prototype]";return"[".concat(o,"]")}(t,e,r)}var a="Function";ve(t)&&(a="Generator".concat(a)),he(t)&&(a="Async".concat(a));var c="[".concat(a);return null===e&&(c+=" (null prototype)"),""===t.name?c+=" (anonymous)":c+=": ".concat(t.name),c+="]",e!==a&&null!==e&&(c+=" ".concat(e)),""!==r&&e!==r&&(c+=" [".concat(r,"]")),c}(e,l,u),0===a.length&&void 0===c)return t.stylize(d,"special")}else if(ke(e)){d=vt(null!==l?e:new gt(e));var K=Lr(l,u,"RegExp");if("RegExp "!==K&&(d="".concat(K).concat(d)),0===a.length&&void 0===c||n>t.depth&&null!==t.depth)return t.stylize(d,"regexp")}else if(ze(e)){d=q(L(e))?T(e):R(e);var Y=Lr(l,u,"Date");if("Date "!==Y&&(d="".concat(Y).concat(d)),0===a.length&&void 0===c)return t.stylize(d,"date")}else if(ye(e)){if(d=function(t,e,n,i,a){var c=null!=t.name?At(t.name):"Error",l=Mr(t);(function(t,e,r,n){if(!t.showHidden&&0!==e.length)for(var o=0,i=["name","message","stack"];o<i.length;o++){var a=i[o],c=v(e,a);-1!==c&&Et(n,r[a])&&w(e,c,1)}})(i,a,t,l),!("cause"in t)||0!==a.length&&h(a,"cause")||x(a,"cause"),!g(t.errors)||0!==a.length&&h(a,"errors")||x(a,"errors"),l=function(t,e,r,n){var o=r.length;if(null===e||Bt(r,"Error")&&Nt(t,r)&&(t.length===o||":"===t[o]||"\n"===t[o])){var i="Error";if(null===e){var a=dt(/^([A-Z][a-z_ A-Z0-9[\]()-]+)(?::|\n {4}at)/,t)||dt(/^([a-z_A-Z0-9-]*Error)$/,t);o=(i=a&&a[1]||"").length,i=i||"Error"}var c=zt(Lr(e,n,i),0,-1);r!==c&&(t=Et(c,r)?0===o?"".concat(c,": ").concat(t):"".concat(c).concat(zt(t,o)):"".concat(c," [").concat(r,"]").concat(zt(t,o)))}return t}(l,e,c,n);var u=t.message&&_t(l,t.message)||-1;-1!==u&&(u+=t.message.length);var f,y=_t(l,"\n    at",u);if(-1===y)l="[".concat(l,"]");else{var s=zt(l,0,y),d=function(t,e,r){var n,o=Mt(r,"\n");try{n=e.cause}catch(t){}if(null!=n&&ye(n)){var i=Mr(n),a=_t(i,"\n    at");if(-1!==a){var c=zr(o,Mt(zt(i,a+1),"\n")),l=c.len,u=c.offset;if(l>0){var p=l-2,f="    ... ".concat(p," lines matching cause stack trace ...");o.splice(u+1,p,t.stylize(f,"undefined"))}}}return o}(i,t,zt(l,y+1));if(i.colors){var b,S,P=function(){var t;try{t=process.cwd()}catch(t){return}return t}(),O=o(d);try{for(O.s();!(S=O.n()).done;){var A=S.value,j=dt(cr,A);if(null!==j&&Ge.exists(j[1]))s+="\n".concat(i.stylize(A,"undefined"));else{if(s+="\n",A=Br(i,A),void 0!==P){var E=Nr(i,A,P);E===A&&(E=Nr(i,A,b=null==b?(f=P,(p=null==p?r(132):p).pathToFileURL(f).href):b)),A=E}s+=A}}}catch(t){O.e(t)}finally{O.f()}}else s+="\n".concat(m(d,"\n"));l=s}if(0!==i.indentationLvl){var _=It(" ",i.indentationLvl);l=kt(l,"\n","\n".concat(_))}return l}(e,l,u,t,a),0===a.length&&void 0===c)return d}else if(me(e)){var J=Lr(l,u,Se(e)?"ArrayBuffer":"SharedArrayBuffer");if(void 0===i)b=$r;else if(0===a.length&&void 0===c)return J+"{ byteLength: ".concat(Hr(t.stylize,e.byteLength,!1)," }");y[0]="".concat(J,"{"),E(a,"byteLength")}else if(Oe(e))y[0]="".concat(Lr(l,u,"DataView"),"{"),E(a,"byteLength","byteOffset","buffer");else if(Fe(e))y[0]="".concat(Lr(l,u,"Promise"),"{"),b=nn;else if(Ie(e))y[0]="".concat(Lr(l,u,"WeakSet"),"{"),b=t.showHidden?tn:Xr;else if(Te(e))y[0]="".concat(Lr(l,u,"WeakMap"),"{"),b=t.showHidden?en:Xr;else if(Ee(e))y[0]="".concat(Lr(l,u,"Module"),"{"),b=Ur.bind(null,a);else if(xe(e)){if(d=function(t,e,r,n,o){var i,a;Ne(t)?(i=Q,a="Number"):Be(t)?(i=Ht,a="String",r.splice(0,t.length)):De(t)?(i=F,a="Boolean"):Ce(t)?(i=_,a="BigInt"):(i=Wt,a="Symbol");var c="[".concat(a);return a!==n&&(c+=null===n?" (null prototype)":" (".concat(n,")")),c+=": ".concat(Wr(wr,i(t),e),"]"),""!==o&&o!==n&&(c+=" [".concat(o,"]")),0!==r.length||e.stylize===wr?c:e.stylize(c,Dt(a))}(e,t,a,l,u),0===a.length&&void 0===c)return d}else{if(0===a.length&&void 0===c){if(Ae(e)){var X=le(e).toString(16);return t.stylize("[External: ".concat(X,"]"),"special")}return"".concat(Tr(e,l,u),"{}")}y[0]="".concat(Tr(e,l,u),"{")}if(n>t.depth&&null!==t.depth){var tt=zt(Tr(e,l,u),0,-1);return null!==l&&(tt="[".concat(tt,"]")),t.stylize(tt,"special")}n+=1,t.seen.push(e),t.currentDepth=n;var et=t.indentationLvl;try{for(s=b(t,e,n),P=0;P<a.length;P++)x(s,on(t,e,n,a[P],z));void 0!==c&&O(s,c)}catch(r){return function(t,e,r,n){if(de(e))return t.seen.pop(),t.indentationLvl=n,t.stylize("[".concat(r,": Inspection interrupted ")+"prematurely. Maximum call stack size exceeded.]","special");He.fail(e.stack)}(t,r,zt(Tr(e,l,u),0,-1),et)}if(void 0!==t.circular){var rt=t.circular.get(e);if(void 0!==rt){var nt=t.stylize("<ref *".concat(rt,">"),"special");!0!==t.compact?d=""===d?nt:"".concat(nt," ").concat(d):y[0]="".concat(nt," ").concat(y[0])}}if(t.seen.pop(),t.sorted){var ot=!0===t.sorted?void 0:t.sorted;if(z===tr)j(s,ot);else if(a.length>1){var at=j(A(s,s.length-a.length),ot);E(at,s,s.length-a.length,a.length),yt(w,null,at)}}var ct=cn(t,s,d,y,z,n,e),pt=(t.budget[t.indentationLvl]||0)+ct.length;return t.budget[t.indentationLvl]=pt,pt>Math.pow(2,27)&&(t.depth=-1),ct}(t,e,i,a)}function kr(t,e){return e!=="".concat(t," Iterator")&&(""!==e&&(e+="] ["),e+="".concat(t," Iterator")),["[".concat(e,"] {"),"}"]}function zr(t,e){for(var r=0;r<t.length-3;r++){var n=e.indexOf(t[r]);if(-1!==n){var o=e.length-n;if(o>3){for(var i=1,a=G(t.length-r,o);a>i&&t[r+i]===e[n+i];)i++;if(i>3)return{len:i,offset:r}}}}return{len:0,offset:0}}function Mr(t){return t.stack?At(t.stack):I(t)}function Br(t,e){for(var r,n="",o=0;null!==(r=lr.exec(e));)n+=zt(e,o,r.index+14),n+=t.stylize(r[1],"module"),o=r.index+r[0].length;return 0!==o&&(e=n+zt(e,o)),e}function Nr(t,e,r){var n=_t(e,r),o="",i=r.length;if(-1!==n){"file://"===zt(e,n-7,n)&&(i+=7,n-=7);var a="("===e[n-1]?n-1:n,c=a!==n&&Bt(e,")")?-1:e.length,l=n+i+1,u=zt(e,a,l);o+=zt(e,0,a),o+=t.stylize(u,"undefined"),o+=zt(e,l,c),-1===c&&(o+=t.stylize(")","undefined"))}else o+=e;return o}function Dr(t){for(var e="",r=t.length,n=Nt(t,"-")?1:0;r>=n+4;r-=3)e="_".concat(zt(t,r-3,r)).concat(e);return r===t.length?t:"".concat(zt(t,0,r)).concat(e)}hr.colors={__proto__:null,reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],blink:[5,25],inverse:[7,27],hidden:[8,28],strikethrough:[9,29],doubleunderline:[21,24],black:[30,vr],red:[31,vr],green:[32,vr],yellow:[33,vr],blue:[34,vr],magenta:[35,vr],cyan:[36,vr],white:[37,vr],bgBlack:[40,mr],bgRed:[41,mr],bgGreen:[42,mr],bgYellow:[43,mr],bgBlue:[44,mr],bgMagenta:[45,mr],bgCyan:[46,mr],bgWhite:[47,mr],framed:[51,54],overlined:[53,55],gray:[90,vr],redBright:[91,vr],greenBright:[92,vr],yellowBright:[93,vr],blueBright:[94,vr],magentaBright:[95,vr],cyanBright:[96,vr],whiteBright:[97,vr],bgGray:[100,mr],bgRedBright:[101,mr],bgGreenBright:[102,mr],bgYellowBright:[103,mr],bgBlueBright:[104,mr],bgMagentaBright:[105,mr],bgCyanBright:[106,mr],bgWhiteBright:[107,mr]},Sr("gray","grey"),Sr("gray","blackBright"),Sr("bgGray","bgGrey"),Sr("bgGray","bgBlackBright"),Sr("dim","faint"),Sr("strikethrough","crossedout"),Sr("strikethrough","strikeThrough"),Sr("strikethrough","crossedOut"),Sr("hidden","conceal"),Sr("inverse","swapColors"),Sr("inverse","swapcolors"),Sr("doubleunderline","doubleUnderline"),hr.styles=tt({__proto__:null},{special:"cyan",number:"yellow",bigint:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",symbol:"green",date:"magenta",regexp:"red",module:"underline"});var Cr=function(t){return"... ".concat(t," more item").concat(t>1?"s":"")};function Hr(t,e,r){if(!r)return at(e,-0)?t("-0","number"):t("".concat(e),"number");var n=V(e),o=At(n);return n===e?!Z(e)||Et(o,"e")?t(o,"number"):t("".concat(Dr(o)),"number"):q(e)?t(o,"number"):t("".concat(Dr(o),".").concat(function(t){for(var e="",r=0;r<t.length-3;r+=3)e+="".concat(zt(t,r,r+3),"_");return 0===r?t:"".concat(e).concat(zt(t,r))}(zt(At(e),o.length+1))),"number")}function Gr(t,e,r){var n=At(e);return t("".concat(r?Dr(n):n,"n"),"bigint")}function Wr(t,e,r){if("string"==typeof e){var n="";if(e.length>r.maxStringLength){var o=e.length-r.maxStringLength;e=zt(e,0,r.maxStringLength),n="... ".concat(o," more character").concat(o>1?"s":"")}return!0!==r.compact&&e.length>fr&&e.length>r.breakLength-r.indentationLvl-4?m(S(Ye(e),(function(e){return t(Or(e),"string")}))," +\n".concat(It(" ",r.indentationLvl+2)))+n:t(Or(e),"string")+n}return"number"==typeof e?Hr(t,e,r.numericSeparator):"bigint"==typeof e?Gr(t,e,r.numericSeparator):"boolean"==typeof e?t("".concat(e),"boolean"):void 0===e?t("undefined","undefined"):t(Gt(e),"symbol")}function Ur(t,e,r,n){for(var o=new s(t.length),i=0;i<t.length;i++)try{o[i]=on(e,r,n,t[i],tr)}catch(r){He(_e(r)&&"ReferenceError"===r.name);var a=l({},t[i],"");o[i]=on(e,a,n,t[i],tr);var c=Ft(o[i]," ");o[i]=zt(o[i],0,c+1)+e.stylize("<uninitialized>","special")}return t.length=0,o}function Vr(t,e,r,n,o,i){for(var a=ct(e),c=i;i<a.length&&o.length<n;i++){var l=a[i],u=+l;if(u>Math.pow(2,32)-2)break;if("".concat(c)!==l){if(null===dt(ar,l))break;var p=u-c,f=p>1?"s":"",y="<".concat(p," empty item").concat(f,">");if(x(o,t.stylize(y,"undefined")),c=u,o.length===n)break}x(o,on(t,e,r,l,er)),c++}var s=e.length-c;if(o.length!==n){if(s>0){var g=s>1?"s":"",d="<".concat(s," empty item").concat(g,">");x(o,t.stylize(d,"undefined"))}}else s>0&&x(o,Cr(s));return o}function $r(t,e){var n;try{n=new qt(e)}catch(e){return[t.stylize("(detached)","special")]}void 0===u&&(u=Yt(r(165).l.prototype.hexSlice));var o=Ct(bt(/(.{2})/g,u(n,0,G(t.maxArrayLength,n.length)),"$1 ")),i=n.length-t.maxArrayLength;return i>0&&(o+=" ... ".concat(i," more byte").concat(i>1?"s":"")),["".concat(t.stylize("[Uint8Contents]","special"),": <").concat(o,">")]}function Zr(t,e,r){for(var n=e.length,o=G(H(0,t.maxArrayLength),n),i=n-o,a=[],c=0;c<o;c++){if(!lt(e,c))return Vr(t,e,r,o,a,c);x(a,on(t,e,r,c,er))}return i>0&&x(a,Cr(i)),a}function qr(t,e,r,n,o){for(var i=G(H(0,r.maxArrayLength),e),a=t.length-i,c=new s(i),l=t.length>0&&"number"==typeof t[0]?Hr:Gr,u=0;u<i;++u)c[u]=l(r.stylize,t[u],r.numericSeparator);if(a>0&&(c[i]=Cr(a)),r.showHidden){r.indentationLvl+=2;for(var p=0,f=["BYTES_PER_ELEMENT","length","byteLength","byteOffset","buffer"];p<f.length;p++){var y=f[p],g=Ir(r,t[y],o,!0);x(c,"[".concat(y,"]: ").concat(g))}r.indentationLvl-=2}return c}function Kr(t,e,r,n){var i=t.size,a=G(H(0,e.maxArrayLength),i),c=i-a,l=[];e.indentationLvl+=2;var u,p=0,f=o(t);try{for(f.s();!(u=f.n()).done;){var y=u.value;if(p>=a)break;x(l,Ir(e,y,n)),p++}}catch(t){f.e(t)}finally{f.f()}return c>0&&x(l,Cr(c)),e.indentationLvl-=2,l}function Yr(t,e,r,n){var i=t.size,a=G(H(0,e.maxArrayLength),i),c=i-a,l=[];e.indentationLvl+=2;var u,p=0,f=o(t);try{for(f.s();!(u=f.n()).done;){var y=u.value,s=y[0],g=y[1];if(p>=a)break;x(l,"".concat(Ir(e,s,n)," => ").concat(Ir(e,g,n))),p++}}catch(t){f.e(t)}finally{f.f()}return c>0&&x(l,Cr(c)),e.indentationLvl-=2,l}function Jr(t,e,r,n){var o=H(t.maxArrayLength,0),i=G(o,r.length),a=new s(i);t.indentationLvl+=2;for(var c=0;c<i;c++)a[c]=Ir(t,r[c],e);t.indentationLvl-=2,n!==yr||t.sorted||j(a);var l=r.length-i;return l>0&&x(a,Cr(l)),a}function Qr(t,e,r,n){var o=H(t.maxArrayLength,0),i=r.length/2,a=i-o,c=G(o,i),l=new s(c),u=0;if(t.indentationLvl+=2,n===yr){for(;u<c;u++){var p=2*u;l[u]="".concat(Ir(t,r[p],e)," => ").concat(Ir(t,r[p+1],e))}t.sorted||j(l)}else for(;u<c;u++){var f=2*u,y=[Ir(t,r[f],e),Ir(t,r[f+1],e)];l[u]=cn(t,y,"",["[","]"],rr,e)}return t.indentationLvl-=2,a>0&&x(l,Cr(a)),l}function Xr(t){return[t.stylize("<items unknown>","special")]}function tn(t,e,r){return Jr(t,r,ae(e),yr)}function en(t,e,r){return Qr(t,r,ae(e),yr)}function rn(t,e,r,n){var o=ae(r,!0),i=o[0];return o[1]?(t[0]=bt(/ Iterator] {$/,t[0]," Entries] {"),Qr(e,n,i,gr)):Jr(e,n,i,sr)}function nn(t,e,r){var n,o=oe(e),i=o[0],a=o[1];if(i===ee)n=[t.stylize("<pending>","special")];else{t.indentationLvl+=2;var c=Ir(t,a,r);t.indentationLvl-=2,n=[i===re?"".concat(t.stylize("<rejected>","special")," ").concat(c):c]}return n}function on(t,e,r,o,i,a){var c,l,u=arguments.length>6&&void 0!==arguments[6]?arguments[6]:e,p=" ";if(void 0!==(a=a||rt(e,o)||{value:e[o],enumerable:!0}).value){var f=!0!==t.compact||i!==tr?2:3;t.indentationLvl+=f,l=Ir(t,a.value,r),3===f&&t.breakLength<or(l,t.colors)&&(p="\n".concat(It(" ",t.indentationLvl))),t.indentationLvl-=f}else if(void 0!==a.get){var y=void 0!==a.set?"Getter/Setter":"Getter",s=t.stylize,g="special";if(t.getters&&(!0===t.getters||"get"===t.getters&&void 0===a.set||"set"===t.getters&&void 0!==a.set))try{var d=z(a.get,u);if(t.indentationLvl+=2,null===d)l="".concat(s("[".concat(y,":"),g)," ").concat(s("null","null")).concat(s("]",g));else if("object"===n(d))l="".concat(s("[".concat(y,"]"),g)," ").concat(Ir(t,d,r));else{var b=Wr(s,d,t);l="".concat(s("[".concat(y,":"),g)," ").concat(b).concat(s("]",g))}t.indentationLvl-=2}catch(t){var h="<Inspection threw (".concat(t.message,")>");l="".concat(s("[".concat(y,":"),g)," ").concat(h).concat(s("]",g))}else l=t.stylize("[".concat(y,"]"),g)}else l=void 0!==a.set?t.stylize("[Setter]","special"):t.stylize("undefined","undefined");if(i===er)return l;if("symbol"===n(o)){var v=bt(Ze,Gt(o),xr);c="[".concat(t.stylize(v,"symbol"),"]")}else if("__proto__"===o)c="['__proto__']";else if(!1===a.enumerable){var m=bt(Ze,o,xr);c="[".concat(m,"]")}else c=null!==dt(ir,o)?t.stylize(o,"name"):t.stylize(Or(o),"string");return"".concat(c,":").concat(p).concat(l)}function an(t,e,r,n){var o=e.length+r;if(o+e.length>t.breakLength)return!1;for(var i=0;i<e.length;i++)if(t.colors?o+=ge(e[i]).length:o+=e[i].length,o>t.breakLength)return!1;return""===n||!Et(n,"\n")}function cn(t,e,r,n,o,i,a){if(!0!==t.compact){if("number"==typeof t.compact&&t.compact>=1){var c=e.length;if(o===rr&&c>6&&(e=function(t,e,r){var n=0,o=0,i=0,a=e.length;t.maxArrayLength<e.length&&a--;for(var c=new s(a);i<a;i++){var l=or(e[i],t.colors);c[i]=l,n+=l+2,o<l&&(o=l)}var u=o+2;if(3*u+t.indentationLvl<t.breakLength&&(n/u>5||o<=6)){var p=U(u-n/e.length),f=H(u-3-p,1),y=G(W(U(2.5*f*a)/f),C((t.breakLength-t.indentationLvl)/u),4*t.compact,15);if(y<=1)return e;for(var g=[],d=[],b=0;b<y;b++){for(var h=0,v=b;v<e.length;v+=y)c[v]>h&&(h=c[v]);h+=2,d[b]=h}var m=Tt;if(void 0!==r)for(var S=0;S<e.length;S++)if("number"!=typeof r[S]&&"bigint"!=typeof r[S]){m=Rt;break}for(var P=0;P<a;P+=y){for(var O=G(P+y,a),A="",w=P;w<O-1;w++){var j=d[w-P]+e[w].length-c[w];A+=m("".concat(e[w],", "),j," ")}if(m===Tt){var E=d[w-P]+e[w].length-c[w]-2;A+=Tt(e[w],E," ")}else A+=e[w];x(g,A)}t.maxArrayLength<e.length&&x(g,e[a]),e=g}return e}(t,e,a)),t.currentDepth-i<t.compact&&c===e.length&&an(t,e,e.length+t.indentationLvl+n[0].length+r.length+10,r)){var l=se(e,", ");if(!Et(l,"\n"))return"".concat(r?"".concat(r," "):"").concat(n[0]," ").concat(l)+" ".concat(n[1])}}var u="\n".concat(It(" ",t.indentationLvl));return"".concat(r?"".concat(r," "):"").concat(n[0]).concat(u,"  ")+"".concat(se(e,",".concat(u,"  "))).concat(u).concat(n[1])}if(an(t,e,0,r))return"".concat(n[0]).concat(r?" ".concat(r):""," ").concat(se(e,", ")," ")+n[1];var p=It(" ",t.indentationLvl),f=""===r&&1===n[0].length?" ":"".concat(r?" ".concat(r):"","\n").concat(p,"  ");return"".concat(n[0]).concat(f).concat(se(e,",\n".concat(p,"  "))," ").concat(n[1])}function ln(t){var e=ie(t,!1);if(void 0!==e){if(null===e)return!0;t=e}if("function"!=typeof t.toString)return!0;if(lt(t,"toString"))return!1;var r=t;do{r=it(r)}while(!lt(r,"toString"));var n=rt(r,"constructor");return void 0!==n&&"function"==typeof n.value&&Je.has(n.value.name)}var un,pn=function(t){return Mt(t.message,"\n",1)[0]};function fn(t){try{return B(t)}catch(t){if(!un)try{var e={};e.a=e,B(e)}catch(t){un=pn(t)}if("TypeError"===t.name&&pn(t)===un)return"[Circular]";throw t}}function yn(t,e){var r;return Hr(wr,t,null!==(r=null==e?void 0:e.numericSeparator)&&void 0!==r?r:Xe.numericSeparator)}function sn(t,e){var r;return Gr(wr,t,null!==(r=null==e?void 0:e.numericSeparator)&&void 0!==r?r:Xe.numericSeparator)}function gn(t,e){var r=e[0],o=0,i="",a="";if("string"==typeof r){if(1===e.length)return r;for(var l,u=0,p=0;p<r.length-1;p++)if(37===wt(r,p)){var f=wt(r,++p);if(o+1!==e.length){switch(f){case 115:var y=e[++o];l="number"==typeof y?yn(y,t):"bigint"==typeof y?sn(y,t):"object"===n(y)&&null!==y&&ln(y)?hr(y,c(c({},t),{},{compact:3,colors:!1,depth:0})):At(y);break;case 106:l=fn(e[++o]);break;case 100:var s=e[++o];l="bigint"==typeof s?sn(s,t):"symbol"===n(s)?"NaN":yn($(s),t);break;case 79:l=hr(e[++o],t);break;case 111:l=hr(e[++o],c(c({},t),{},{showHidden:!0,showProxy:!0,depth:4}));break;case 105:var g=e[++o];l="bigint"==typeof g?sn(g,t):"symbol"===n(g)?"NaN":yn(Y(g),t);break;case 102:var d=e[++o];l="symbol"===n(d)?"NaN":yn(K(d),t);break;case 99:o+=1,l="";break;case 37:i+=zt(r,u,p),u=p+1;continue;default:continue}u!==p-1&&(i+=zt(r,u,p-1)),i+=l,u=p+1}else 37===f&&(i+=zt(r,u,p),u=p+1)}0!==u&&(o++,a=" ",u<r.length&&(i+=zt(r,u)))}for(;o<e.length;){var b=e[o];i+=a,i+="string"!=typeof b?hr(b,t):b,a=" ",o++}return i}function dn(t){return t<=31||t>=127&&t<=159||t>=768&&t<=879||t>=8203&&t<=8207||t>=8400&&t<=8447||t>=65024&&t<=65039||t>=65056&&t<=65071||t>=917760&&t<=917999}if(y("config").hasIntl)He(!1);else{or=function(t){var e=0;(!(arguments.length>1&&void 0!==arguments[1])||arguments[1])&&(t=hn(t)),t=Lt(t,"NFC");var r,n=o(new mt(t));try{for(n.s();!(r=n.n()).done;){var i=r.value,a=jt(i,0);bn(a)?e+=2:dn(a)||e++}}catch(t){n.e(t)}finally{n.f()}return e};var bn=function(t){return t>=4352&&(t<=4447||9001===t||9002===t||t>=11904&&t<=12871&&12351!==t||t>=12880&&t<=19903||t>=19968&&t<=42182||t>=43360&&t<=43388||t>=44032&&t<=55203||t>=63744&&t<=64255||t>=65040&&t<=65049||t>=65072&&t<=65131||t>=65281&&t<=65376||t>=65504&&t<=65510||t>=110592&&t<=110593||t>=127488&&t<=127569||t>=127744&&t<=128591||t>=131072&&t<=262141)}}function hn(t){return Ve(t,"str"),bt(br,t,"")}var vn={34:"&quot;",38:"&amp;",39:"&apos;",60:"&lt;",62:"&gt;",160:"&nbsp;"};function mn(t){return t.replace(/[\u0000-\u002F\u003A-\u0040\u005B-\u0060\u007B-\u00FF]/g,(function(t){var e=At(t.charCodeAt(0));return vn[e]||"&#"+e+";"}))}t.exports={identicalSequenceRange:zr,inspect:hr,inspectDefaultOptions:Xe,format:function(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];return gn(void 0,e)},formatWithOptions:function(t){Ue(t,"inspectOptions",{allowArray:!0});for(var e=arguments.length,r=new Array(e>1?e-1:0),n=1;n<e;n++)r[n-1]=arguments[n];return gn(t,r)},getStringWidth:or,stripVTControlCharacters:hn,isZeroWidthCodePoint:dn,stylizeWithColor:Ar,stylizeWithHTML:function(t,e){var r=hr.styles[e];return void 0!==r?'<span style="color:'.concat(r,';">').concat(mn(t),"</span>"):mn(t)},Proxy:ue}},87:t=>{function e(t){if(!t)throw new Error("Assertion failed")}e.fail=function(t){throw new Error(t)},t.exports=e},361:(t,e)=>{var r=["_http_agent","_http_client","_http_common","_http_incoming","_http_outgoing","_http_server","_stream_duplex","_stream_passthrough","_stream_readable","_stream_transform","_stream_wrap","_stream_writable","_tls_common","_tls_wrap","assert","assert/strict","async_hooks","buffer","child_process","cluster","console","constants","crypto","dgram","diagnostics_channel","dns","dns/promises","domain","events","fs","fs/promises","http","http2","https","inspector","module","Module","net","os","path","path/posix","path/win32","perf_hooks","process","punycode","querystring","readline","readline/promises","repl","stream","stream/consumers","stream/promises","stream/web","string_decoder","sys","timers","timers/promises","tls","trace_events","tty","url","util","util/types","v8","vm","wasi","worker_threads","zlib"];e.BuiltinModule={exists:function(t){return t.startsWith("internal/")||-1!==r.indexOf(t)}}},709:t=>{t.exports={CHAR_DOT:46,CHAR_FORWARD_SLASH:47,CHAR_BACKWARD_SLASH:92}},186:(t,e,r)=>{function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}function o(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}var i,a,c=r(541),l=c.ArrayIsArray,u=c.ArrayPrototypeIncludes,p=c.ArrayPrototypeIndexOf,f=c.ArrayPrototypeJoin,y=c.ArrayPrototypePop,s=c.ArrayPrototypePush,g=c.ArrayPrototypeSplice,d=c.ErrorCaptureStackTrace,b=c.ObjectDefineProperty,h=c.ReflectApply,v=c.RegExpPrototypeTest,m=c.SafeMap,S=c.StringPrototypeEndsWith,P=c.StringPrototypeIncludes,x=c.StringPrototypeSlice,O=c.StringPrototypeToLowerCase,A=new m,w={},j=/^([A-Z][a-z0-9]*)+$/,E=["string","function","number","object","Function","Object","boolean","bigint","symbol"],_=null;function F(){return _||(_=r(777)),_}var L=R((function(t,e,r){(t=D(t)).name="".concat(e," [").concat(r,"]"),t.stack,delete t.name}));function R(t){var e="__node_internal_"+t.name;return b(t,"name",{value:e}),t}var T,I,k,z,M,B,N,D=R((function(t){return i=Error.stackTraceLimit,Error.stackTraceLimit=1/0,d(t),Error.stackTraceLimit=i,t}));t.exports={codes:w,hideStackFrames:R,isStackOverflowError:function(t){if(void 0===I)try{!function t(){t()}()}catch(t){I=t.message,T=t.name}return t&&t.name===T&&t.message===I}},k="ERR_INVALID_ARG_TYPE",z=function(t,e,r){a("string"==typeof t,"'name' must be a string"),l(e)||(e=[e]);var i="The ";if(S(t," argument"))i+="".concat(t," ");else{var c=P(t,".")?"property":"argument";i+='"'.concat(t,'" ').concat(c," ")}i+="must be ";var d,b=[],h=[],m=[],A=function(t,e){var r="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!r){if(Array.isArray(t)||(r=function(t,e){if(t){if("string"==typeof t)return o(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?o(t,e):void 0}}(t))||e&&t&&"number"==typeof t.length){r&&(t=r);var n=0,i=function(){};return{s:i,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,c=!0,l=!1;return{s:function(){r=r.call(t)},n:function(){var t=r.next();return c=t.done,t},e:function(t){l=!0,a=t},f:function(){try{c||null==r.return||r.return()}finally{if(l)throw a}}}}(e);try{for(A.s();!(d=A.n()).done;){var w=d.value;a("string"==typeof w,"All expected entries have to be of type string"),u(E,w)?s(b,O(w)):v(j,w)?s(h,w):(a("object"!==w,'The value "object" should be written as "Object"'),s(m,w))}}catch(t){A.e(t)}finally{A.f()}if(h.length>0){var _=p(b,"object");-1!==_&&(g(b,_,1),s(h,"Object"))}if(b.length>0){if(b.length>2){var L=y(b);i+="one of type ".concat(f(b,", "),", or ").concat(L)}else i+=2===b.length?"one of type ".concat(b[0]," or ").concat(b[1]):"of type ".concat(b[0]);(h.length>0||m.length>0)&&(i+=" or ")}if(h.length>0){if(h.length>2){var R=y(h);i+="an instance of ".concat(f(h,", "),", or ").concat(R)}else i+="an instance of ".concat(h[0]),2===h.length&&(i+=" or ".concat(h[1]));m.length>0&&(i+=" or ")}if(m.length>0)if(m.length>2){var T=y(m);i+="one of ".concat(f(m,", "),", or ").concat(T)}else 2===m.length?i+="one of ".concat(m[0]," or ").concat(m[1]):(O(m[0])!==m[0]&&(i+="an "),i+="".concat(m[0]));if(null==r)i+=". Received ".concat(r);else if("function"==typeof r&&r.name)i+=". Received function ".concat(r.name);else if("object"===n(r))if(r.constructor&&r.constructor.name)i+=". Received an instance of ".concat(r.constructor.name);else{var I=F().inspect(r,{depth:-1});i+=". Received ".concat(I)}else{var k=F().inspect(r,{colors:!1});k.length>25&&(k="".concat(x(k,0,25),"...")),i+=". Received type ".concat(n(r)," (").concat(k,")")}return i},M=TypeError,A.set(k,z),w[k]=(B=M,N=k,function(){var t=Error.stackTraceLimit;Error.stackTraceLimit=0;var e=new B;Error.stackTraceLimit=t;for(var n=arguments.length,o=new Array(n),i=0;i<n;i++)o[i]=arguments[i];var c=function(t,e,n){var o=A.get(t);return void 0===a&&(a=r(87)),a("function"==typeof o),a(o.length<=e.length,"Code: ".concat(t,"; The provided arguments length (").concat(e.length,") does not ")+"match the required ones (".concat(o.length,").")),h(o,n,e)}(N,o,e);return b(e,"message",{value:c,enumerable:!1,writable:!0,configurable:!0}),b(e,"toString",{value:function(){return"".concat(this.name," [").concat(N,"]: ").concat(this.message)},enumerable:!1,writable:!0,configurable:!0}),L(e,B.name,N),e.code=N,e})},132:(t,e,r)=>{var n=r(541),o=n.StringPrototypeCharCodeAt,i=n.StringPrototypeIncludes,a=n.StringPrototypeReplace,c=r(709).CHAR_FORWARD_SLASH,l=r(790),u=/%/g,p=/\\/g,f=/\n/g,y=/\r/g,s=/\t/g;t.exports={pathToFileURL:function(t){var e=new URL("file://"),r=l.resolve(t);return o(t,t.length-1)===c&&r[r.length-1]!==l.sep&&(r+="/"),e.pathname=function(t){return i(t,"%")&&(t=a(t,u,"%25")),i(t,"\\")&&(t=a(t,p,"%5C")),i(t,"\n")&&(t=a(t,f,"%0A")),i(t,"\r")&&(t=a(t,y,"%0D")),i(t,"\t")&&(t=a(t,s,"%09")),t}(r),e}}},216:t=>{var e=/\u001b\[\d\d?m/g;t.exports={customInspectSymbol:Symbol.for("nodejs.util.inspect.custom"),isError:function(t){return t instanceof Error},join:Array.prototype.join.call.bind(Array.prototype.join),removeColors:function(t){return String.prototype.replace.call(t,e,"")}}},581:(t,e,r)=>{function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}var o=r(364).getConstructorName;function i(t){for(var e=arguments.length,r=new Array(e>1?e-1:0),i=1;i<e;i++)r[i-1]=arguments[i];for(var a=0,c=r;a<c.length;a++){var l=c[a],u=globalThis[l];if(u&&t instanceof u)return!0}for(;t;){if("object"!==n(t))return!1;if(r.indexOf(o(t))>=0)return!0;t=Object.getPrototypeOf(t)}return!1}function a(t){return function(e){if(!i(e,t.name))return!1;try{t.prototype.valueOf.call(e)}catch(t){return!1}return!0}}"object"!==("undefined"==typeof globalThis?"undefined":n(globalThis))&&(Object.defineProperty(Object.prototype,"__magic__",{get:function(){return this},configurable:!0}),__magic__.globalThis=__magic__,delete Object.prototype.__magic__);var c=a(String),l=a(Number),u=a(Boolean),p=a(BigInt),f=a(Symbol);t.exports={isAsyncFunction:function(t){return"function"==typeof t&&Function.prototype.toString.call(t).startsWith("async")},isGeneratorFunction:function(t){return"function"==typeof t&&Function.prototype.toString.call(t).match(/^(async\s+)?function *\*/)},isAnyArrayBuffer:function(t){return i(t,"ArrayBuffer","SharedArrayBuffer")},isArrayBuffer:function(t){return i(t,"ArrayBuffer")},isArgumentsObject:function(t){if(null!==t&&"object"===n(t)&&!Array.isArray(t)&&"number"==typeof t.length&&t.length===(0|t.length)&&t.length>=0){var e=Object.getOwnPropertyDescriptor(t,"callee");return e&&!e.enumerable}return!1},isBoxedPrimitive:function(t){return l(t)||c(t)||u(t)||p(t)||f(t)},isDataView:function(t){return i(t,"DataView")},isExternal:function(t){return"object"===n(t)&&Object.isFrozen(t)&&null==Object.getPrototypeOf(t)},isMap:function(t){if(!i(t,"Map"))return!1;try{t.has()}catch(t){return!1}return!0},isMapIterator:function(t){return"[object Map Iterator]"===Object.prototype.toString.call(Object.getPrototypeOf(t))},isModuleNamespaceObject:function(t){return t&&"object"===n(t)&&"Module"===t[Symbol.toStringTag]},isNativeError:function(t){return t instanceof Error&&i(t,"Error","EvalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError","AggregateError")},isPromise:function(t){return i(t,"Promise")},isSet:function(t){if(!i(t,"Set"))return!1;try{t.has()}catch(t){return!1}return!0},isSetIterator:function(t){return"[object Set Iterator]"===Object.prototype.toString.call(Object.getPrototypeOf(t))},isWeakMap:function(t){return i(t,"WeakMap")},isWeakSet:function(t){return i(t,"WeakSet")},isRegExp:function(t){return i(t,"RegExp")},isDate:function(t){if(i(t,"Date"))try{return Date.prototype.getTime.call(t),!0}catch(t){}return!1},isTypedArray:function(t){return i(t,"Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Uint16Array","Int32Array","Uint32Array","Float32Array","Float64Array","BigInt64Array","BigUint64Array")},isStringObject:c,isNumberObject:l,isBooleanObject:u,isBigIntObject:p,isSymbolObject:f}},659:(t,e,r)=>{function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}var o=r(541).ArrayIsArray,i=r(186),a=i.hideStackFrames,c=i.codes.ERR_INVALID_ARG_TYPE,l=a((function(t,e,r){var i=null==r,a=!i&&r.allowArray,l=!i&&r.allowFunction;if((i||!r.nullable)&&null===t||!a&&o(t)||"object"!==n(t)&&(!l||"function"!=typeof t))throw new c(e,"Object",t)}));t.exports={validateObject:l,validateString:function(t,e){if("string"!=typeof t)throw new c(e,"string",t)}}},790:(t,e,r)=>{var n=r(541),o=n.StringPrototypeCharCodeAt,i=n.StringPrototypeLastIndexOf,a=n.StringPrototypeSlice,c=r(709),l=c.CHAR_DOT,u=c.CHAR_FORWARD_SLASH,p=r(659).validateString;function f(t){return t===u}t.exports={resolve:function(){for(var t="",e=!1,r=arguments.length-1;r>=-1&&!e;r--){var n=r>=0?r<0||arguments.length<=r?void 0:arguments[r]:"/";p(n,"path"),0!==n.length&&(t="".concat(n,"/").concat(t),e=o(n,0)===u)}return t=function(t,e,r,n){for(var c="",p=0,f=-1,y=0,s=0,g=0;g<=t.length;++g){if(g<t.length)s=o(t,g);else{if(n(s))break;s=u}if(n(s)){if(f===g-1||1===y);else if(2===y){if(c.length<2||2!==p||o(c,c.length-1)!==l||o(c,c.length-2)!==l){if(c.length>2){var d=i(c,r);-1===d?(c="",p=0):p=(c=a(c,0,d)).length-1-i(c,r),f=g,y=0;continue}if(0!==c.length){c="",p=0,f=g,y=0;continue}}e&&(c+=c.length>0?"".concat(r,".."):"..",p=2)}else c.length>0?c+="".concat(r).concat(a(t,f+1,g)):c=a(t,f+1,g),p=g-f-1;f=g,y=0}else s===l&&-1!==y?++y:y=-1}return c}(t,!e,"/",f),e?"/".concat(t):t.length>0?t:"."}}},541:(t,e,r)=>{function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}function o(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&u(t,e)}function i(t){var e=l();return function(){var r,o=p(t);if(e){var i=p(this).constructor;r=Reflect.construct(o,arguments,i)}else r=o.apply(this,arguments);return function(t,e){if(e&&("object"===n(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(this,r)}}function a(t){var e="function"==typeof Map?new Map:void 0;return a=function(t){if(null===t||(r=t,-1===Function.toString.call(r).indexOf("[native code]")))return t;var r;if("function"!=typeof t)throw new TypeError("Super expression must either be null or a function");if(void 0!==e){if(e.has(t))return e.get(t);e.set(t,n)}function n(){return c(t,arguments,p(this).constructor)}return n.prototype=Object.create(t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),u(n,t)},a(t)}function c(t,e,r){return c=l()?Reflect.construct.bind():function(t,e,r){var n=[null];n.push.apply(n,e);var o=new(Function.bind.apply(t,n));return r&&u(o,r.prototype),o},c.apply(null,arguments)}function l(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}function u(t,e){return u=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},u(t,e)}function p(t){return p=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},p(t)}function f(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function y(t,e){for(var r=0;r<e.length;r++){var o=e[r];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,(void 0,i=function(t,e){if("object"!==n(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var o=r.call(t,"string");if("object"!==n(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(o.key),"symbol"===n(i)?i:String(i)),o)}var i}function s(t,e,r){return e&&y(t.prototype,e),r&&y(t,r),Object.defineProperty(t,"prototype",{writable:!1}),t}var g=function(t,e){var r=function(r){function n(e){f(this,n),this._iterator=t(e)}return s(n,[{key:"next",value:function(){return e(this._iterator)}},{key:Symbol.iterator,value:function(){return this}}]),n}();return Object.setPrototypeOf(r.prototype,null),Object.freeze(r.prototype),Object.freeze(r),r};function d(t,e){return Function.prototype.call.bind(t.prototype.__lookupGetter__(e))}function b(t){return Function.prototype.call.bind(t)}var h=function(t,e){Array.prototype.forEach.call(Reflect.ownKeys(t),(function(r){Reflect.getOwnPropertyDescriptor(e,r)||Reflect.defineProperty(e,r,Reflect.getOwnPropertyDescriptor(t,r))}))},v=function(t,e){if(Symbol.iterator in t.prototype){var r,n=new t;Array.prototype.forEach.call(Reflect.ownKeys(t.prototype),(function(o){if(!Reflect.getOwnPropertyDescriptor(e.prototype,o)){var i=Reflect.getOwnPropertyDescriptor(t.prototype,o);if("function"==typeof i.value&&0===i.value.length&&Symbol.iterator in(Function.prototype.call.call(i.value,n)||{})){var a=b(i.value);null==r&&(r=b(a(n).next));var c=g(a,r);i.value=function(){return new c(this)}}Reflect.defineProperty(e.prototype,o,i)}}))}else h(t.prototype,e.prototype);return h(t,e),Object.setPrototypeOf(e.prototype,null),Object.freeze(e.prototype),Object.freeze(e),e},m=Function.prototype.call.bind(String.prototype[Symbol.iterator]),S=Reflect.getPrototypeOf(m(""));if(t.exports={makeSafe:v,internalBinding:function(t){if("config"===t)return{hasIntl:!1};throw new Error('unknown module: "'.concat(t,'"'))},Array,ArrayIsArray:Array.isArray,ArrayPrototypeFilter:Function.prototype.call.bind(Array.prototype.filter),ArrayPrototypeForEach:Function.prototype.call.bind(Array.prototype.forEach),ArrayPrototypeIncludes:Function.prototype.call.bind(Array.prototype.includes),ArrayPrototypeIndexOf:Function.prototype.call.bind(Array.prototype.indexOf),ArrayPrototypeJoin:Function.prototype.call.bind(Array.prototype.join),ArrayPrototypeMap:Function.prototype.call.bind(Array.prototype.map),ArrayPrototypePop:Function.prototype.call.bind(Array.prototype.pop),ArrayPrototypePush:Function.prototype.call.bind(Array.prototype.push),ArrayPrototypePushApply:Function.apply.bind(Array.prototype.push),ArrayPrototypeSlice:Function.prototype.call.bind(Array.prototype.slice),ArrayPrototypeSort:Function.prototype.call.bind(Array.prototype.sort),ArrayPrototypeSplice:Function.prototype.call.bind(Array.prototype.splice),ArrayPrototypeUnshift:Function.prototype.call.bind(Array.prototype.unshift),BigIntPrototypeValueOf:Function.prototype.call.bind(BigInt.prototype.valueOf),BooleanPrototypeValueOf:Function.prototype.call.bind(Boolean.prototype.valueOf),DatePrototypeGetTime:Function.prototype.call.bind(Date.prototype.getTime),DatePrototypeToISOString:Function.prototype.call.bind(Date.prototype.toISOString),DatePrototypeToString:Function.prototype.call.bind(Date.prototype.toString),ErrorCaptureStackTrace:function(t){var e=(new Error).stack;t.stack=e.replace(/.*\n.*/,"$1")},ErrorPrototypeToString:Function.prototype.call.bind(Error.prototype.toString),FunctionPrototypeBind:Function.prototype.call.bind(Function.prototype.bind),FunctionPrototypeCall:Function.prototype.call.bind(Function.prototype.call),FunctionPrototypeToString:Function.prototype.call.bind(Function.prototype.toString),globalThis:"undefined"==typeof globalThis?r.g:globalThis,JSONStringify:JSON.stringify,MapPrototypeGetSize:d(Map,"size"),MapPrototypeEntries:Function.prototype.call.bind(Map.prototype.entries),MathFloor:Math.floor,MathMax:Math.max,MathMin:Math.min,MathRound:Math.round,MathSqrt:Math.sqrt,MathTrunc:Math.trunc,Number,NumberIsFinite:Number.isFinite,NumberIsNaN:Number.isNaN,NumberParseFloat:Number.parseFloat,NumberParseInt:Number.parseInt,NumberPrototypeToString:Function.prototype.call.bind(Number.prototype.toString),NumberPrototypeValueOf:Function.prototype.call.bind(Number.prototype.valueOf),Object,ObjectAssign:Object.assign,ObjectCreate:Object.create,ObjectDefineProperty:Object.defineProperty,ObjectGetOwnPropertyDescriptor:Object.getOwnPropertyDescriptor,ObjectGetOwnPropertyNames:Object.getOwnPropertyNames,ObjectGetOwnPropertySymbols:Object.getOwnPropertySymbols,ObjectGetPrototypeOf:Object.getPrototypeOf,ObjectIs:Object.is,ObjectKeys:Object.keys,ObjectPrototypeHasOwnProperty:Function.prototype.call.bind(Object.prototype.hasOwnProperty),ObjectPrototypePropertyIsEnumerable:Function.prototype.call.bind(Object.prototype.propertyIsEnumerable),ObjectSeal:Object.seal,ObjectSetPrototypeOf:Object.setPrototypeOf,ReflectApply:Reflect.apply,ReflectOwnKeys:Reflect.ownKeys,RegExp,RegExpPrototypeExec:Function.prototype.call.bind(RegExp.prototype.exec),RegExpPrototypeSymbolReplace:Function.prototype.call.bind(RegExp.prototype[Symbol.replace]),RegExpPrototypeSymbolSplit:Function.prototype.call.bind(RegExp.prototype[Symbol.split]),RegExpPrototypeTest:Function.prototype.call.bind(RegExp.prototype.test),RegExpPrototypeToString:Function.prototype.call.bind(RegExp.prototype.toString),SafeStringIterator:g(m,Function.prototype.call.bind(S.next)),SafeMap:v(Map,function(t){o(r,t);var e=i(r);function r(t){return f(this,r),e.call(this,t)}return s(r)}(a(Map))),SafeSet:v(Set,function(t){o(r,t);var e=i(r);function r(t){return f(this,r),e.call(this,t)}return s(r)}(a(Set))),SetPrototypeGetSize:d(Set,"size"),SetPrototypeValues:Function.prototype.call.bind(Set.prototype.values),String,StringPrototypeCharCodeAt:Function.prototype.call.bind(String.prototype.charCodeAt),StringPrototypeCodePointAt:Function.prototype.call.bind(String.prototype.codePointAt),StringPrototypeEndsWith:Function.prototype.call.bind(String.prototype.endsWith),StringPrototypeIncludes:Function.prototype.call.bind(String.prototype.includes),StringPrototypeIndexOf:Function.prototype.call.bind(String.prototype.indexOf),StringPrototypeLastIndexOf:Function.prototype.call.bind(String.prototype.lastIndexOf),StringPrototypeNormalize:Function.prototype.call.bind(String.prototype.normalize),StringPrototypePadEnd:Function.prototype.call.bind(String.prototype.padEnd),StringPrototypePadStart:Function.prototype.call.bind(String.prototype.padStart),StringPrototypeRepeat:Function.prototype.call.bind(String.prototype.repeat),StringPrototypeReplace:Function.prototype.call.bind(String.prototype.replace),StringPrototypeReplaceAll:Function.prototype.call.bind(String.prototype.replaceAll),StringPrototypeSlice:Function.prototype.call.bind(String.prototype.slice),StringPrototypeSplit:Function.prototype.call.bind(String.prototype.split),StringPrototypeStartsWith:Function.prototype.call.bind(String.prototype.startsWith),StringPrototypeToLowerCase:Function.prototype.call.bind(String.prototype.toLowerCase),StringPrototypeTrim:Function.prototype.call.bind(String.prototype.trim),StringPrototypeValueOf:Function.prototype.call.bind(String.prototype.valueOf),SymbolPrototypeToString:Function.prototype.call.bind(Symbol.prototype.toString),SymbolPrototypeValueOf:Function.prototype.call.bind(Symbol.prototype.valueOf),SymbolIterator:Symbol.iterator,SymbolFor:Symbol.for,SymbolToStringTag:Symbol.toStringTag,TypedArrayPrototypeGetLength:("length",function(t){return t.constructor.prototype.__lookupGetter__("length").call(t)}),Uint8Array,uncurryThis:b},!String.prototype.replaceAll){var P=function(t){if(null==t)throw new TypeError("Can't call method on "+t);return t},x=function(t,e,r,n,o,i){var a=r+t.length,c=n.length,l=/\$([$&'`]|\d{1,2})/;return void 0!==o&&(o=Object(P(o)),l=/\$([$&'`]|\d{1,2}|<[^>]*>)/g),i.replace(l,(function(i,l){var u;switch(l.charAt(0)){case"$":return"$";case"&":return t;case"`":return e.slice(0,r);case"'":return e.slice(a);case"<":u=o[l.slice(1,-1)];break;default:var p=+l;if(0===p)return i;if(p>c){var f=Math.floor(p/10);return 0===f?i:f<=c?void 0===n[f-1]?l.charAt(1):n[f-1]+l.charAt(1):i}u=n[p-1]}return void 0===u?"":u}))};t.exports.StringPrototypeReplaceAll=function(t,e,r){var n,o,i=P(t),a=0,c=0,l="";if(null!=e){if(e instanceof RegExp&&!~e.flags.indexOf("g"))throw new TypeError("`.replaceAll` does not allow non-global regexes");if(n=e[Symbol.replace])return n.call(e,i,r)}var u=String(i),p=String(e),f="function"==typeof r;f||(r=String(r));var y=p.length,s=Math.max(1,y);for(a=u.indexOf(p,0);-1!==a;)o=f?String(r(p,a,u)):x(p,u,a,[],void 0,r),l+=u.slice(c,a)+o,c=a+y,a=u.indexOf(p,a+s);return c<u.length&&(l+=u.slice(c)),l}}},977:t=>{function e(t){return e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},e(t)}function r(t,r){for(var n=0;n<r.length;n++){var o=r[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,(void 0,i=function(t,r){if("object"!==e(t)||null===t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var o=n.call(t,"string");if("object"!==e(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(o.key),"symbol"===e(i)?i:String(i)),o)}var i}var n=new WeakMap,o=function(){function t(e,r){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t);var o=new Proxy(e,r);return n.set(o,[e,r]),o}var e,o;return e=t,o=[{key:"getProxyDetails",value:function(t){var e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],r=n.get(t);if(r)return e?r:r[0]}},{key:"revocable",value:function(t,e){var r=Proxy.revocable(t,e);n.set(r.proxy,[t,e]);var o=r.revoke;return r.revoke=function(){n.set(r.proxy,[null,null]),o()},r}}],null&&r(e.prototype,null),o&&r(e,o),Object.defineProperty(e,"prototype",{writable:!1}),t}();t.exports={getProxyDetails:o.getProxyDetails.bind(o),Proxy:o}},364:(t,e,r)=>{function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}function o(t,e){if(t){if("string"==typeof t)return i(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?i(t,e):void 0}}function i(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}var a=r(977),c=Symbol("kPending"),l=Symbol("kRejected");t.exports={constants:{kPending:c,kRejected:l,ALL_PROPERTIES:0,ONLY_ENUMERABLE:2},getOwnNonIndexProperties:function(t){for(var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:2,r=Object.getOwnPropertyDescriptors(t),n=[],i=0,a=Object.entries(r);i<a.length;i++){var c=(p=a[i],f=2,function(t){if(Array.isArray(t))return t}(p)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],l=!0,u=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);l=!0);}catch(t){u=!0,o=t}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(u)throw o}}return c}}(p,f)||o(p,f)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),l=c[0],u=c[1];if(!/^(0|[1-9][0-9]*)$/.test(l)||parseInt(l,10)>=Math.pow(2,32)-1){if(2===e&&!u.enumerable)continue;n.push(l)}}var p,f,y,s=function(t,e){var r="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!r){if(Array.isArray(t)||(r=o(t))){r&&(t=r);var n=0,i=function(){};return{s:i,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,c=!0,l=!1;return{s:function(){r=r.call(t)},n:function(){var t=r.next();return c=t.done,t},e:function(t){l=!0,a=t},f:function(){try{c||null==r.return||r.return()}finally{if(l)throw a}}}}(Object.getOwnPropertySymbols(t));try{for(s.s();!(y=s.n()).done;){var g=y.value,d=Object.getOwnPropertyDescriptor(t,g);(2!==e||d.enumerable)&&n.push(g)}}catch(t){s.e(t)}finally{s.f()}return n},getPromiseDetails:function(){return[c,void 0]},getProxyDetails:a.getProxyDetails,Proxy:a.Proxy,previewEntries:function(t){return[[],!1]},getConstructorName:function(t){if(!t||"object"!==n(t))throw new Error("Invalid object");if(t.constructor&&t.constructor.name)return t.constructor.name;var e=Object.prototype.toString.call(t).match(/^\[object ([^\]]+)\]/);return e?e[1]:"Object"},getExternalValue:function(){return BigInt(0)}}}},e={};function r(n){var o=e[n];if(void 0!==o)return o.exports;var i=e[n]={exports:{}};return t[n](i,i.exports,r),i.exports}return r.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),r(777)})()));
\ No newline at end of file
+var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
+
+function getDefaultExportFromCjs (x) {
+	return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, 'default') ? x['default'] : x;
+}
+
+var primordials = {exports: {}};
+
+// back-patch in primordials in user-land
+
+const createSafeIterator = (factory, next) => {
+  class SafeIterator {
+    constructor(iterable) {
+      this._iterator = factory(iterable);
+    }
+    next() {
+      return next(this._iterator);
+    }
+    [Symbol.iterator]() {
+      return this;
+    }
+  }
+  Object.setPrototypeOf(SafeIterator.prototype, null);
+  Object.freeze(SafeIterator.prototype);
+  Object.freeze(SafeIterator);
+  return SafeIterator;
+};
+
+function getGetter(cls, getter) {
+  // TODO: __lookupGetter__ is deprecated, but Object.getOwnPropertyDescriptor
+  // doesn't work on built-ins like Typed Arrays.
+  return Function.prototype.call.bind(cls.prototype.__lookupGetter__(getter));
+}
+
+function getterCaller(getter) {
+  return (val) => {
+    return val.constructor.prototype.__lookupGetter__(getter).call(val);
+  };
+}
+
+function uncurryThis(func) {
+  return Function.prototype.call.bind(func);
+}
+
+const copyProps = (src, dest) => {
+  Array.prototype.forEach.call(Reflect.ownKeys(src), (key) => {
+    if (!Reflect.getOwnPropertyDescriptor(dest, key)) {
+      Reflect.defineProperty(
+        dest,
+        key,
+        Reflect.getOwnPropertyDescriptor(src, key));
+    }
+  });
+};
+
+const makeSafe = (unsafe, safe) => {
+  if (Symbol.iterator in unsafe.prototype) {
+    const dummy = new unsafe();
+    let next; // We can reuse the same `next` method.
+
+    Array.prototype.forEach.call(Reflect.ownKeys(unsafe.prototype), (key) => {
+      if (!Reflect.getOwnPropertyDescriptor(safe.prototype, key)) {
+        const desc = Reflect.getOwnPropertyDescriptor(unsafe.prototype, key);
+        if (typeof desc.value === 'function' && desc.value.length === 0) {
+            const called = Function.prototype.call.call(desc.value, dummy) || {};
+            if (Symbol.iterator in (typeof called === "object" ? called : {})) {
+                const createIterator = uncurryThis(desc.value);
+                if (next == null) {
+                    next = uncurryThis(createIterator(dummy).next);
+                }
+                const SafeIterator = createSafeIterator(createIterator, next);
+                desc.value = function() {
+                    return new SafeIterator(this);
+                };
+            }
+        }
+        Reflect.defineProperty(safe.prototype, key, desc);
+      }
+    });
+  } else {
+    copyProps(unsafe.prototype, safe.prototype);
+  }
+  copyProps(unsafe, safe);
+
+  Object.setPrototypeOf(safe.prototype, null);
+  Object.freeze(safe.prototype);
+  Object.freeze(safe);
+  return safe;
+};
+
+const StringIterator =
+  Function.prototype.call.bind(String.prototype[Symbol.iterator]);
+const StringIteratorPrototype = Reflect.getPrototypeOf(StringIterator(''));
+
+function ErrorCaptureStackTrace(targetObject) {
+  const stack = new Error().stack;
+  // Remove the second line, which is this function
+  targetObject.stack = stack.replace(/.*\n.*/, '$1');
+}
+
+primordials.exports = {
+  makeSafe, // exported for testing
+  internalBinding(mod) {
+    if (mod === 'config') {
+      return {
+        hasIntl: false,
+      };
+    }
+    throw new Error(`unknown module: "${mod}"`);
+  },
+  Array,
+  ArrayIsArray: Array.isArray,
+  ArrayPrototypeFilter: Function.prototype.call.bind(Array.prototype.filter),
+  ArrayPrototypeForEach: Function.prototype.call.bind(Array.prototype.forEach),
+  ArrayPrototypeIncludes:
+    Function.prototype.call.bind(Array.prototype.includes),
+  ArrayPrototypeIndexOf: Function.prototype.call.bind(Array.prototype.indexOf),
+  ArrayPrototypeJoin: Function.prototype.call.bind(Array.prototype.join),
+  ArrayPrototypeMap: Function.prototype.call.bind(Array.prototype.map),
+  ArrayPrototypePop: Function.prototype.call.bind(Array.prototype.pop),
+  ArrayPrototypePush: Function.prototype.call.bind(Array.prototype.push),
+  ArrayPrototypePushApply: Function.apply.bind(Array.prototype.push),
+  ArrayPrototypeSlice: Function.prototype.call.bind(Array.prototype.slice),
+  ArrayPrototypeSort: Function.prototype.call.bind(Array.prototype.sort),
+  ArrayPrototypeSplice: Function.prototype.call.bind(Array.prototype.splice),
+  ArrayPrototypeUnshift: Function.prototype.call.bind(Array.prototype.unshift),
+  BigIntPrototypeValueOf:
+    Function.prototype.call.bind(BigInt.prototype.valueOf),
+  BooleanPrototypeValueOf:
+    Function.prototype.call.bind(Boolean.prototype.valueOf),
+  DatePrototypeGetTime: Function.prototype.call.bind(Date.prototype.getTime),
+  DatePrototypeToISOString:
+    Function.prototype.call.bind(Date.prototype.toISOString),
+  DatePrototypeToString:
+    Function.prototype.call.bind(Date.prototype.toString),
+  ErrorCaptureStackTrace,
+  ErrorPrototypeToString:
+    Function.prototype.call.bind(Error.prototype.toString),
+  FunctionPrototypeBind: Function.prototype.call.bind(Function.prototype.bind),
+  FunctionPrototypeCall:
+    Function.prototype.call.bind(Function.prototype.call),
+  FunctionPrototypeToString:
+    Function.prototype.call.bind(Function.prototype.toString),
+  globalThis: (typeof globalThis === 'undefined') ? commonjsGlobal : globalThis,
+  JSONStringify: JSON.stringify,
+  MapPrototypeGetSize: getGetter(Map, 'size'),
+  MapPrototypeEntries: Function.prototype.call.bind(Map.prototype.entries),
+  MathFloor: Math.floor,
+  MathMax: Math.max,
+  MathMin: Math.min,
+  MathRound: Math.round,
+  MathSqrt: Math.sqrt,
+  MathTrunc: Math.trunc,
+  Number,
+  NumberIsFinite: Number.isFinite,
+  NumberIsNaN: Number.isNaN,
+  NumberParseFloat: Number.parseFloat,
+  NumberParseInt: Number.parseInt,
+  NumberPrototypeToString: Function.prototype.call.bind(Number.prototype.toString),
+  NumberPrototypeValueOf:
+    Function.prototype.call.bind(Number.prototype.valueOf),
+  Object,
+  ObjectAssign: Object.assign,
+  ObjectCreate: Object.create,
+  ObjectDefineProperty: Object.defineProperty,
+  ObjectGetOwnPropertyDescriptor: Object.getOwnPropertyDescriptor,
+  ObjectGetOwnPropertyNames: Object.getOwnPropertyNames,
+  ObjectGetOwnPropertySymbols: Object.getOwnPropertySymbols,
+  ObjectGetPrototypeOf: Object.getPrototypeOf,
+  ObjectIs: Object.is,
+  ObjectKeys: Object.keys,
+  ObjectPrototypeHasOwnProperty:
+    Function.prototype.call.bind(Object.prototype.hasOwnProperty),
+  ObjectPrototypePropertyIsEnumerable:
+    Function.prototype.call.bind(Object.prototype.propertyIsEnumerable),
+  ObjectSeal: Object.seal,
+  ObjectSetPrototypeOf: Object.setPrototypeOf,
+  ReflectApply: Reflect.apply,
+  ReflectOwnKeys: Reflect.ownKeys,
+  RegExp,
+  RegExpPrototypeExec: Function.prototype.call.bind(RegExp.prototype.exec),
+  RegExpPrototypeSymbolReplace: Function.prototype.call.bind(RegExp.prototype[Symbol.replace]),
+  RegExpPrototypeSymbolSplit: Function.prototype.call.bind(RegExp.prototype[Symbol.split]),
+  RegExpPrototypeTest: Function.prototype.call.bind(RegExp.prototype.test),
+  RegExpPrototypeToString:
+    Function.prototype.call.bind(RegExp.prototype.toString),
+  SafeStringIterator: createSafeIterator(
+    StringIterator,
+    Function.prototype.call.bind(StringIteratorPrototype.next),
+  ),
+  SafeMap: makeSafe(
+    Map,
+    class SafeMap extends Map {
+      constructor(i) { super(i); } // eslint-disable-line no-useless-constructor
+    }),
+  SafeSet: makeSafe(
+    Set,
+    class SafeSet extends Set {
+      constructor(i) { super(i); } // eslint-disable-line no-useless-constructor
+    }),
+  SetPrototypeGetSize: getGetter(Set, 'size'),
+  SetPrototypeValues: Function.prototype.call.bind(Set.prototype.values),
+  String,
+  StringPrototypeCharCodeAt:
+    Function.prototype.call.bind(String.prototype.charCodeAt),
+  StringPrototypeCodePointAt:
+    Function.prototype.call.bind(String.prototype.codePointAt),
+  StringPrototypeEndsWith:
+    Function.prototype.call.bind(String.prototype.endsWith),
+  StringPrototypeIncludes:
+    Function.prototype.call.bind(String.prototype.includes),
+  StringPrototypeIndexOf:
+    Function.prototype.call.bind(String.prototype.indexOf),
+  StringPrototypeLastIndexOf:
+    Function.prototype.call.bind(String.prototype.lastIndexOf),
+  StringPrototypeNormalize:
+    Function.prototype.call.bind(String.prototype.normalize),
+  StringPrototypePadEnd:
+    Function.prototype.call.bind(String.prototype.padEnd),
+  StringPrototypePadStart:
+    Function.prototype.call.bind(String.prototype.padStart),
+  StringPrototypeRepeat: Function.prototype.call.bind(String.prototype.repeat),
+  StringPrototypeReplace:
+    Function.prototype.call.bind(String.prototype.replace),
+  StringPrototypeReplaceAll:
+    Function.prototype.call.bind(String.prototype.replaceAll),
+  StringPrototypeSlice: Function.prototype.call.bind(String.prototype.slice),
+  StringPrototypeSplit: Function.prototype.call.bind(String.prototype.split),
+  StringPrototypeStartsWith: Function.prototype.call.bind(String.prototype.startsWith),
+  StringPrototypeToLowerCase:
+    Function.prototype.call.bind(String.prototype.toLowerCase),
+  StringPrototypeTrim: Function.prototype.call.bind(String.prototype.trim),
+  StringPrototypeValueOf:
+    Function.prototype.call.bind(String.prototype.valueOf),
+  SymbolPrototypeToString:
+    Function.prototype.call.bind(Symbol.prototype.toString),
+  SymbolPrototypeValueOf:
+    Function.prototype.call.bind(Symbol.prototype.valueOf),
+  SymbolIterator: Symbol.iterator,
+  SymbolFor: Symbol.for,
+  SymbolToStringTag: Symbol.toStringTag,
+  TypedArrayPrototypeGetLength: getterCaller('length'),
+  Uint8Array,
+  uncurryThis,
+};
+
+// Node 14
+/* c8 ignore start */
+if (!String.prototype.replaceAll) {
+  // Lifted and simplified from core-js for the moment.  Will remove when we
+  // drop node 14 support.
+
+  function requireObjectCoercible(it) {
+    if (it == null) throw new TypeError("Can't call method on " + it);
+    return it;
+  }
+
+  function getSubstitution(matched, str, position, captures, namedCaptures, replacement) {
+    const tailPos = position + matched.length;
+    const m = captures.length;
+    let symbols = /\$([$&'`]|\d{1,2})/;
+    if (namedCaptures !== undefined) {
+      namedCaptures = Object(requireObjectCoercible(namedCaptures));
+      symbols = /\$([$&'`]|\d{1,2}|<[^>]*>)/g;
+    }
+    return replacement.replace(symbols, (match, ch) => {
+      let capture;
+      switch (ch.charAt(0)) {
+        case '$': return '$';
+        case '&': return matched;
+        case '`': return str.slice(0, position);
+        case "'": return str.slice(tailPos);
+        case '<':
+          capture = namedCaptures[ch.slice(1, -1)];
+          break;
+        default: { // \d\d?
+          const n = +ch;
+          if (n === 0) return match;
+          if (n > m) {
+            const f = Math.floor(n / 10);
+            if (f === 0) return match;
+            if (f <= m) return captures[f - 1] === undefined ? ch.charAt(1) : captures[f - 1] + ch.charAt(1);
+            return match;
+          }
+          capture = captures[n - 1];
+        }
+      }
+      return capture === undefined ? '' : capture;
+    });
+  }
+
+  primordials.exports.StringPrototypeReplaceAll = (str, searchValue, replaceValue) => {
+    const O = requireObjectCoercible(str);
+    let IS_REG_EXP, flags, replacer, replacement;
+    let position = 0;
+    let endOfLastMatch = 0;
+    let result = '';
+    if (searchValue != null) {
+      IS_REG_EXP = searchValue instanceof RegExp;
+      if (IS_REG_EXP) {
+        flags = searchValue.flags;
+        if (!~flags.indexOf('g')) {
+          throw new TypeError('`.replaceAll` does not allow non-global regexes');
+        }
+      }
+      replacer = searchValue[Symbol.replace];
+      if (replacer) {
+        return replacer.call(searchValue, O, replaceValue);
+      }
+    }
+    const string = String(O);
+    const searchString = String(searchValue);
+    const functionalReplace = (typeof replaceValue === 'function');
+    if (!functionalReplace) replaceValue = String(replaceValue);
+    const searchLength = searchString.length;
+    const advanceBy = Math.max(1, searchLength);
+    position = string.indexOf(searchString, 0);
+    while (position !== -1) {
+      replacement = functionalReplace ?
+        String(replaceValue(searchString, position, string)) :
+        getSubstitution(searchString, string, position, [], undefined, replaceValue);
+      result += string.slice(endOfLastMatch, position) + replacement;
+      endOfLastMatch = position + searchLength;
+      position = string.indexOf(searchString, position + advanceBy);
+    }
+    if (endOfLastMatch < string.length) {
+      result += string.slice(endOfLastMatch);
+    }
+    return result;
+  };
+}
+/* c8 ignore stop */
+
+var primordialsExports = primordials.exports;
+
+const ALL_PROXIES = new WeakMap();
+
+// Wrap Proxy's to remember their details.
+class Prxy {
+  constructor(target, handler) {
+    const p = new Proxy(target, handler);
+    ALL_PROXIES.set(p, [target, handler]);
+    // eslint-disable-next-line no-constructor-return
+    return p;
+  }
+  static getProxyDetails(obj, getFullProxy = true) {
+    const deets = ALL_PROXIES.get(obj);
+    if (!deets) {
+      return undefined;
+    }
+    if (getFullProxy) {
+      return deets;
+    }
+    return deets[0];
+  }
+  static revocable(target, handler) {
+    const p = Proxy.revocable(target, handler);
+    ALL_PROXIES.set(p.proxy, [target, handler]);
+    const revoke = p.revoke;
+    p.revoke = () => {
+      ALL_PROXIES.set(p.proxy, [null, null]);
+      revoke();
+    };
+    return p;
+  }
+}
+
+var proxy = {
+  getProxyDetails: Prxy.getProxyDetails.bind(Prxy),
+  Proxy: Prxy,
+};
+
+const prxy = proxy;
+const ALL_PROPERTIES = 0;
+const ONLY_ENUMERABLE = 2;
+const kPending = Symbol('kPending');
+const kRejected = Symbol('kRejected');
+
+function getOwnNonIndexProperties(a, filter = ONLY_ENUMERABLE) {
+  const desc = Object.getOwnPropertyDescriptors(a);
+  const ret = [];
+  for (const [k, v] of Object.entries(desc)) {
+    if (!/^(0|[1-9][0-9]*)$/.test(k) ||
+        (parseInt(k, 10) >= (2 ** 32 - 1))) { // Arrays are limited in size
+      if ((filter === ONLY_ENUMERABLE) && !v.enumerable) {
+        continue;
+      }
+      ret.push(k);
+    }
+  }
+  for (const s of Object.getOwnPropertySymbols(a)) {
+    const v = Object.getOwnPropertyDescriptor(a, s);
+    if ((filter === ONLY_ENUMERABLE) && !v.enumerable) {
+      continue;
+    }
+    ret.push(s);
+  }
+  return ret;
+}
+
+var util$1 = {
+  constants: {
+    kPending,
+    kRejected,
+    ALL_PROPERTIES,
+    ONLY_ENUMERABLE,
+  },
+  getOwnNonIndexProperties,
+  getPromiseDetails() { return [kPending, undefined]; },
+  getProxyDetails: prxy.getProxyDetails,
+  Proxy: prxy.Proxy,
+  previewEntries(val) {
+    return [[], false];
+  },
+  getConstructorName(val) {
+    if (!val || typeof val !== 'object') {
+      throw new Error('Invalid object');
+    }
+    if (val.constructor && val.constructor.name) {
+      return val.constructor.name;
+    }
+    const str = Object.prototype.toString.call(val);
+    // e.g. [object Boolean]
+    const m = str.match(/^\[object ([^\]]+)\]/);
+    if (m) {
+      return m[1];
+    }
+    return 'Object';
+  },
+  getExternalValue() { return BigInt(0); },
+};
+
+// eslint-disable-next-line no-control-regex
+const colorRegExp = /\u001b\[\d\d?m/g;
+
+var util = {
+  customInspectSymbol: Symbol.for('nodejs.util.inspect.custom'),
+  isError(e) {
+    return e instanceof Error;
+  },
+  join: Array.prototype.join.call.bind(Array.prototype.join),
+  removeColors(str) {
+    return String.prototype.replace.call(str, colorRegExp, '');
+  },
+};
+
+function assert(p) {
+  if (!p) {
+    throw new Error('Assertion failed');
+  }
+}
+
+assert.fail = function fail(message) {
+  throw new Error(message);
+};
+
+var assert_1 = assert;
+
+/* eslint node-core/documented-errors: "error" */
+
+var errors;
+var hasRequiredErrors;
+
+function requireErrors () {
+	if (hasRequiredErrors) return errors;
+	hasRequiredErrors = 1;
+
+	// The whole point behind this internal module is to allow Node.js to no
+	// longer be forced to treat every error message change as a semver-major
+	// change. The NodeError classes here all expose a `code` property whose
+	// value statically and permanently identifies the error. While the error
+	// message may change, the code should not.
+
+	const {
+	  ArrayIsArray,
+	  ArrayPrototypeIncludes,
+	  ArrayPrototypeIndexOf,
+	  ArrayPrototypeJoin,
+	  ArrayPrototypePop,
+	  ArrayPrototypePush,
+	  ArrayPrototypeSplice,
+	  ErrorCaptureStackTrace,
+	  ObjectDefineProperty,
+	  ReflectApply,
+	  RegExpPrototypeTest,
+	  SafeMap,
+	  StringPrototypeEndsWith,
+	  StringPrototypeIncludes,
+	  StringPrototypeSlice,
+	  StringPrototypeToLowerCase,
+	} = primordialsExports;
+
+	const messages = new SafeMap();
+	const codes = {};
+
+	const classRegExp = /^([A-Z][a-z0-9]*)+$/;
+	// Sorted by a rough estimate on most frequently used entries.
+	const kTypes = [
+	  'string',
+	  'function',
+	  'number',
+	  'object',
+	  // Accept 'Function' and 'Object' as alternative to the lower cased version.
+	  'Function',
+	  'Object',
+	  'boolean',
+	  'bigint',
+	  'symbol',
+	];
+
+	let userStackTraceLimit;
+	const nodeInternalPrefix = '__node_internal_';
+
+	// Lazily loaded
+	let assert;
+	let internalUtilInspect = null;
+	function lazyInternalUtilInspect() {
+	  if (!internalUtilInspect) {
+	    internalUtilInspect = requireInspect();
+	  }
+	  return internalUtilInspect;
+	}
+
+	const addCodeToName = hideStackFrames(function addCodeToName(err, name, code) {
+	  // Set the stack
+	  err = captureLargerStackTrace(err);
+	  // Add the error code to the name to include it in the stack trace.
+	  err.name = `${name} [${code}]`;
+	  // Access the stack to generate the error message including the error code
+	  // from the name.
+	  err.stack; // eslint-disable-line no-unused-expressions
+	  // Reset the name to the actual name.
+	  delete err.name;
+	});
+
+	function makeNodeErrorWithCode(Base, key) {
+	  return function NodeError(...args) {
+	    const limit = Error.stackTraceLimit;
+	    Error.stackTraceLimit = 0;
+	    const error = new Base();
+	    // Reset the limit and setting the name property.
+	    Error.stackTraceLimit = limit;
+	    const message = getMessage(key, args, error);
+	    ObjectDefineProperty(error, 'message', {
+	      value: message,
+	      enumerable: false,
+	      writable: true,
+	      configurable: true,
+	    });
+	    ObjectDefineProperty(error, 'toString', {
+	      value() {
+	        return `${this.name} [${key}]: ${this.message}`;
+	      },
+	      enumerable: false,
+	      writable: true,
+	      configurable: true,
+	    });
+	    addCodeToName(error, Base.name, key);
+	    error.code = key;
+	    return error;
+	  };
+	}
+
+	// This function removes unnecessary frames from Node.js core errors.
+	function hideStackFrames(fn) {
+	  // We rename the functions that will be hidden to cut off the stacktrace
+	  // at the outermost one
+	  const hidden = nodeInternalPrefix + fn.name;
+	  ObjectDefineProperty(fn, 'name', { value: hidden });
+	  return fn;
+	}
+
+	// Utility function for registering the error codes. Only used here. Exported
+	// *only* to allow for testing.
+	function E(sym, val, def) {
+	  // Special case for SystemError that formats the error message differently
+	  // The SystemErrors only have SystemError as their base classes.
+	  messages.set(sym, val);
+	  codes[sym] = makeNodeErrorWithCode(def, sym);
+	}
+
+	function getMessage(key, args, self) {
+	  const msg = messages.get(key);
+
+	  if (assert === undefined) assert = assert_1;
+
+	  assert(typeof msg === 'function');
+	  assert(
+	    msg.length <= args.length, // Default options do not count.
+	    `Code: ${key}; The provided arguments length (${args.length}) does not ` +
+	      `match the required ones (${msg.length}).`,
+	  );
+	  return ReflectApply(msg, self, args);
+	}
+
+	const captureLargerStackTrace = hideStackFrames(
+	  function captureLargerStackTrace(err) {
+	    userStackTraceLimit = Error.stackTraceLimit;
+	    Error.stackTraceLimit = Infinity;
+	    ErrorCaptureStackTrace(err);
+	    // Reset the limit
+	    Error.stackTraceLimit = userStackTraceLimit;
+
+	    return err;
+	  });
+
+	let maxStack_ErrorName;
+	let maxStack_ErrorMessage;
+	/**
+	 * Returns true if `err.name` and `err.message` are equal to engine-specific
+	 * values indicating max call stack size has been exceeded.
+	 * "Maximum call stack size exceeded" in V8.
+	 * @param {Error} err
+	 * @returns {boolean}
+	 */
+	function isStackOverflowError(err) {
+	  if (maxStack_ErrorMessage === undefined) {
+	    try {
+	      function overflowStack() { overflowStack(); }
+	      overflowStack();
+	    } catch (err) {
+	      maxStack_ErrorMessage = err.message;
+	      maxStack_ErrorName = err.name;
+	    }
+	  }
+
+	  return err && err.name === maxStack_ErrorName &&
+	         err.message === maxStack_ErrorMessage;
+	}
+
+	errors = {
+	  codes,
+	  hideStackFrames,
+	  isStackOverflowError,
+	};
+
+	E('ERR_INVALID_ARG_TYPE',
+	  (name, expected, actual) => {
+	    assert(typeof name === 'string', "'name' must be a string");
+	    if (!ArrayIsArray(expected)) {
+	      expected = [expected];
+	    }
+
+	    let msg = 'The ';
+	    if (StringPrototypeEndsWith(name, ' argument')) {
+	      // For cases like 'first argument'
+	      msg += `${name} `;
+	    } else {
+	      const type = StringPrototypeIncludes(name, '.') ? 'property' : 'argument';
+	      msg += `"${name}" ${type} `;
+	    }
+	    msg += 'must be ';
+
+	    const types = [];
+	    const instances = [];
+	    const other = [];
+
+	    for (const value of expected) {
+	      assert(typeof value === 'string',
+	             'All expected entries have to be of type string');
+	      if (ArrayPrototypeIncludes(kTypes, value)) {
+	        ArrayPrototypePush(types, StringPrototypeToLowerCase(value));
+	      } else if (RegExpPrototypeTest(classRegExp, value)) {
+	        ArrayPrototypePush(instances, value);
+	      } else {
+	        assert(value !== 'object',
+	               'The value "object" should be written as "Object"');
+	        ArrayPrototypePush(other, value);
+	      }
+	    }
+
+	    // Special handle `object` in case other instances are allowed to outline
+	    // the differences between each other.
+	    if (instances.length > 0) {
+	      const pos = ArrayPrototypeIndexOf(types, 'object');
+	      if (pos !== -1) {
+	        ArrayPrototypeSplice(types, pos, 1);
+	        ArrayPrototypePush(instances, 'Object');
+	      }
+	    }
+
+	    if (types.length > 0) {
+	      if (types.length > 2) {
+	        const last = ArrayPrototypePop(types);
+	        msg += `one of type ${ArrayPrototypeJoin(types, ', ')}, or ${last}`;
+	      } else if (types.length === 2) {
+	        msg += `one of type ${types[0]} or ${types[1]}`;
+	      } else {
+	        msg += `of type ${types[0]}`;
+	      }
+	      if (instances.length > 0 || other.length > 0)
+	        msg += ' or ';
+	    }
+
+	    if (instances.length > 0) {
+	      if (instances.length > 2) {
+	        const last = ArrayPrototypePop(instances);
+	        msg +=
+	          `an instance of ${ArrayPrototypeJoin(instances, ', ')}, or ${last}`;
+	      } else {
+	        msg += `an instance of ${instances[0]}`;
+	        if (instances.length === 2) {
+	          msg += ` or ${instances[1]}`;
+	        }
+	      }
+	      if (other.length > 0)
+	        msg += ' or ';
+	    }
+
+	    if (other.length > 0) {
+	      if (other.length > 2) {
+	        const last = ArrayPrototypePop(other);
+	        msg += `one of ${ArrayPrototypeJoin(other, ', ')}, or ${last}`;
+	      } else if (other.length === 2) {
+	        msg += `one of ${other[0]} or ${other[1]}`;
+	      } else {
+	        if (StringPrototypeToLowerCase(other[0]) !== other[0])
+	          msg += 'an ';
+	        msg += `${other[0]}`;
+	      }
+	    }
+
+	    if (actual == null) {
+	      msg += `. Received ${actual}`;
+	    } else if (typeof actual === 'function' && actual.name) {
+	      msg += `. Received function ${actual.name}`;
+	    } else if (typeof actual === 'object') {
+	      if (actual.constructor && actual.constructor.name) {
+	        msg += `. Received an instance of ${actual.constructor.name}`;
+	      } else {
+	        const inspected = lazyInternalUtilInspect()
+	          .inspect(actual, { depth: -1 });
+	        msg += `. Received ${inspected}`;
+	      }
+	    } else {
+	      let inspected = lazyInternalUtilInspect()
+	        .inspect(actual, { colors: false });
+	      if (inspected.length > 25)
+	        inspected = `${StringPrototypeSlice(inspected, 0, 25)}...`;
+	      msg += `. Received type ${typeof actual} (${inspected})`;
+	    }
+	    return msg;
+	  }, TypeError);
+	return errors;
+}
+
+const { getConstructorName } = util$1;
+
+// From https://mathiasbynens.be/notes/globalthis
+/* c8 ignore start */ // only needed for node 10
+(function() {
+  if (typeof globalThis === 'object') return;
+  Object.defineProperty(Object.prototype, '__magic__', {
+    get: function() {
+      return this;
+    },
+    configurable: true,
+  });
+  // eslint-disable-next-line no-undef
+  __magic__.globalThis = __magic__;
+  delete Object.prototype.__magic__;
+}());
+/* c8 ignore stop */
+
+function constructorNamed(val, ...name) {
+  // Pass in names rather than types, in case SharedArrayBuffer (e.g.) isn't
+  // in your browser
+  for (const n of name) {
+    const typ = globalThis[n];
+    if (typ) {
+      if (val instanceof typ) {
+        return true;
+      }
+    }
+  }
+  // instanceOf doesn't work across vm boundaries, so check the whole
+  // inheritance chain
+  while (val) {
+    if (typeof val !== 'object') {
+      return false;
+    }
+    if (name.indexOf(getConstructorName(val)) >= 0) {
+      return true;
+    }
+    val = Object.getPrototypeOf(val);
+  }
+  return false;
+}
+
+function checkBox(cls) {
+  return (val) => {
+    if (!constructorNamed(val, cls.name)) {
+      return false;
+    }
+    try {
+      cls.prototype.valueOf.call(val);
+    } catch {
+      return false;
+    }
+    return true;
+  };
+}
+
+const isStringObject = checkBox(String);
+const isNumberObject = checkBox(Number);
+const isBooleanObject = checkBox(Boolean);
+const isBigIntObject = checkBox(BigInt);
+const isSymbolObject = checkBox(Symbol);
+
+var types = {
+  isAsyncFunction(val) {
+    return (typeof val === 'function') &&
+      Function.prototype.toString.call(val).startsWith('async');
+  },
+  isGeneratorFunction(val) {
+    return (typeof val === 'function') &&
+      Function.prototype.toString.call(val).match(/^(async\s+)?function *\*/);
+  },
+  isAnyArrayBuffer(val) {
+    return constructorNamed(val, 'ArrayBuffer', 'SharedArrayBuffer');
+  },
+  isArrayBuffer(val) {
+    return constructorNamed(val, 'ArrayBuffer');
+  },
+  isArgumentsObject(val) {
+    const cond = (val !== null) &&
+      (typeof val === 'object') &&
+      !Array.isArray(val) &&
+      (typeof val.length === 'number') &&
+      (val.length === (val.length | 0)) &&
+      (val.length >= 0);
+    if (cond) {
+      const prop = Object.getOwnPropertyDescriptor(val, 'callee');
+      return prop && !prop.enumerable;
+    }
+    return false;
+  },
+  isBoxedPrimitive(val) {
+    return isNumberObject(val) ||
+      isStringObject(val) ||
+      isBooleanObject(val) ||
+      isBigIntObject(val) ||
+      isSymbolObject(val);
+  },
+  isDataView(val) {
+    return constructorNamed(val, 'DataView');
+  },
+  isExternal(val) {
+    return (typeof val === 'object') &&
+      (Object.isFrozen(val)) &&
+      (Object.getPrototypeOf(val) == null);
+  },
+  isMap(val) {
+    if (!constructorNamed(val, 'Map')) {
+      return false;
+    }
+    try {
+      val.has();
+    } catch {
+      return false;
+    }
+    return true;
+  },
+  isMapIterator(val) {
+    return Object.prototype.toString.call(Object.getPrototypeOf(val)) ===
+      '[object Map Iterator]';
+  },
+  isModuleNamespaceObject(val) {
+    // TODO: this is weak and easily faked
+    return val &&
+      (typeof val === 'object') &&
+      (val[Symbol.toStringTag] === 'Module');
+  },
+  isNativeError(val) {
+    return (val instanceof Error) && constructorNamed(
+      val,
+      'Error',
+      'EvalError',
+      'RangeError',
+      'ReferenceError',
+      'SyntaxError',
+      'TypeError',
+      'URIError',
+      'AggregateError');
+  },
+  isPromise(val) {
+    return constructorNamed(val, 'Promise');
+  },
+  isSet(val) {
+    if (!constructorNamed(val, 'Set')) {
+      return false;
+    }
+    try {
+      val.has();
+    } catch {
+      return false;
+    }
+    return true;
+  },
+  isSetIterator(val) {
+    return Object.prototype.toString.call(Object.getPrototypeOf(val)) ===
+      '[object Set Iterator]';
+  },
+  isWeakMap(val) {
+    return constructorNamed(val, 'WeakMap');
+  },
+  isWeakSet(val) {
+    return constructorNamed(val, 'WeakSet');
+  },
+  isRegExp(val) {
+    return constructorNamed(val, 'RegExp');
+  },
+  isDate(val) {
+    if (constructorNamed(val, 'Date')) {
+      try {
+        Date.prototype.getTime.call(val); // Throws for pseudo-dates
+        return true;
+      } catch {
+        // Ignored
+      }
+    }
+    return false;
+  },
+  isTypedArray(val) {
+    return constructorNamed(
+      val,
+      'Int8Array',
+      'Uint8Array',
+      'Uint8ClampedArray',
+      'Int16Array',
+      'Uint16Array',
+      'Int32Array',
+      'Uint32Array',
+      'Float32Array',
+      'Float64Array',
+      'BigInt64Array',
+      'BigUint64Array',
+    );
+  },
+  isStringObject,
+  isNumberObject,
+  isBooleanObject,
+  isBigIntObject,
+  isSymbolObject,
+};
+
+var realm = {};
+
+// This is a snapshot from node 18.11.0
+const builtinModules = [
+  '_http_agent',
+  '_http_client',
+  '_http_common',
+  '_http_incoming',
+  '_http_outgoing',
+  '_http_server',
+  '_stream_duplex',
+  '_stream_passthrough',
+  '_stream_readable',
+  '_stream_transform',
+  '_stream_wrap',
+  '_stream_writable',
+  '_tls_common',
+  '_tls_wrap',
+  'assert',
+  'assert/strict',
+  'async_hooks',
+  'buffer',
+  'child_process',
+  'cluster',
+  'console',
+  'constants',
+  'crypto',
+  'dgram',
+  'diagnostics_channel',
+  'dns',
+  'dns/promises',
+  'domain',
+  'events',
+  'fs',
+  'fs/promises',
+  'http',
+  'http2',
+  'https',
+  'inspector',
+  'module',
+  'Module',
+  'net',
+  'os',
+  'path',
+  'path/posix',
+  'path/win32',
+  'perf_hooks',
+  'process',
+  'punycode',
+  'querystring',
+  'readline',
+  'readline/promises',
+  'repl',
+  'stream',
+  'stream/consumers',
+  'stream/promises',
+  'stream/web',
+  'string_decoder',
+  'sys',
+  'timers',
+  'timers/promises',
+  'tls',
+  'trace_events',
+  'tty',
+  'url',
+  'util',
+  'util/types',
+  'v8',
+  'vm',
+  'wasi',
+  'worker_threads',
+  'zlib',
+];
+
+realm.BuiltinModule = {
+  exists(s) {
+    return s.startsWith('internal/') || builtinModules.indexOf(s) !== -1;
+  },
+};
+
+var validators;
+var hasRequiredValidators;
+
+function requireValidators () {
+	if (hasRequiredValidators) return validators;
+	hasRequiredValidators = 1;
+
+	const {
+	  ArrayIsArray,
+	} = primordialsExports;
+
+	const {
+	  hideStackFrames,
+	  codes: {
+	    ERR_INVALID_ARG_TYPE,
+	  },
+	} = requireErrors();
+
+	/**
+	 * @param {unknown} value
+	 * @param {string} name
+	 * @param {{
+	 *   allowArray?: boolean,
+	 *   allowFunction?: boolean,
+	 *   nullable?: boolean
+	 * }} [options]
+	 */
+	const validateObject = hideStackFrames(
+	  (value, name, options) => {
+	    const useDefaultOptions = options == null;
+	    const allowArray = useDefaultOptions ? false : options.allowArray;
+	    const allowFunction = useDefaultOptions ? false : options.allowFunction;
+	    const nullable = useDefaultOptions ? false : options.nullable;
+	    if ((!nullable && value === null) ||
+	        (!allowArray && ArrayIsArray(value)) ||
+	        (typeof value !== 'object' && (
+	          !allowFunction || typeof value !== 'function'
+	        ))) {
+	      throw new ERR_INVALID_ARG_TYPE(name, 'Object', value);
+	    }
+	  });
+
+	function validateString(value, name) {
+	  if (typeof value !== 'string')
+	    throw new ERR_INVALID_ARG_TYPE(name, 'string', value);
+	}
+
+	validators = {
+	  validateObject,
+	  validateString,
+	};
+	return validators;
+}
+
+var constants;
+var hasRequiredConstants;
+
+function requireConstants () {
+	if (hasRequiredConstants) return constants;
+	hasRequiredConstants = 1;
+
+	constants = {
+	  // Non-alphabetic chars.
+	  CHAR_DOT: 46, /* . */
+	  CHAR_FORWARD_SLASH: 47, /* / */
+	  CHAR_BACKWARD_SLASH: 92, /* \ */
+	};
+	return constants;
+}
+
+var path;
+var hasRequiredPath;
+
+function requirePath () {
+	if (hasRequiredPath) return path;
+	hasRequiredPath = 1;
+
+	const {
+	  StringPrototypeCharCodeAt,
+	  StringPrototypeLastIndexOf,
+	  StringPrototypeSlice,
+	} = primordialsExports;
+
+	const {
+	  CHAR_DOT,
+	  CHAR_FORWARD_SLASH,
+	} = requireConstants();
+	const {
+	  validateString,
+	} = requireValidators();
+
+	function posixCwd() {
+	  return '/'; // Fake for the web case
+	}
+
+	function isPosixPathSeparator(code) {
+	  return code === CHAR_FORWARD_SLASH;
+	}
+
+	// Resolves . and .. elements in a path with directory names
+	function normalizeString(path, allowAboveRoot, separator, isPathSeparator) {
+	  let res = '';
+	  let lastSegmentLength = 0;
+	  let lastSlash = -1;
+	  let dots = 0;
+	  let code = 0;
+	  for (let i = 0; i <= path.length; ++i) {
+	    if (i < path.length)
+	      code = StringPrototypeCharCodeAt(path, i);
+	    else if (isPathSeparator(code))
+	      break;
+	    else
+	      code = CHAR_FORWARD_SLASH;
+
+	    if (isPathSeparator(code)) {
+	      if (lastSlash === i - 1 || dots === 1) ; else if (dots === 2) {
+	        if (res.length < 2 || lastSegmentLength !== 2 ||
+	            StringPrototypeCharCodeAt(res, res.length - 1) !== CHAR_DOT ||
+	            StringPrototypeCharCodeAt(res, res.length - 2) !== CHAR_DOT) {
+	          if (res.length > 2) {
+	            const lastSlashIndex = StringPrototypeLastIndexOf(res, separator);
+	            if (lastSlashIndex === -1) {
+	              res = '';
+	              lastSegmentLength = 0;
+	            } else {
+	              res = StringPrototypeSlice(res, 0, lastSlashIndex);
+	              lastSegmentLength =
+	                res.length - 1 - StringPrototypeLastIndexOf(res, separator);
+	            }
+	            lastSlash = i;
+	            dots = 0;
+	            continue;
+	          } else if (res.length !== 0) {
+	            res = '';
+	            lastSegmentLength = 0;
+	            lastSlash = i;
+	            dots = 0;
+	            continue;
+	          }
+	        }
+	        if (allowAboveRoot) {
+	          res += res.length > 0 ? `${separator}..` : '..';
+	          lastSegmentLength = 2;
+	        }
+	      } else {
+	        if (res.length > 0)
+	          res += `${separator}${StringPrototypeSlice(path, lastSlash + 1, i)}`;
+	        else
+	          res = StringPrototypeSlice(path, lastSlash + 1, i);
+	        lastSegmentLength = i - lastSlash - 1;
+	      }
+	      lastSlash = i;
+	      dots = 0;
+	    } else if (code === CHAR_DOT && dots !== -1) {
+	      ++dots;
+	    } else {
+	      dots = -1;
+	    }
+	  }
+	  return res;
+	}
+
+	function resolve(...args) {
+	  let resolvedPath = '';
+	  let resolvedAbsolute = false;
+
+	  for (let i = args.length - 1; i >= -1 && !resolvedAbsolute; i--) {
+	    const path = i >= 0 ? args[i] : posixCwd();
+
+	    validateString(path, 'path');
+
+	    // Skip empty entries
+	    if (path.length === 0) {
+	      continue;
+	    }
+
+	    resolvedPath = `${path}/${resolvedPath}`;
+	    resolvedAbsolute =
+	      StringPrototypeCharCodeAt(path, 0) === CHAR_FORWARD_SLASH;
+	  }
+
+	  // At this point the path should be resolved to a full absolute path, but
+	  // handle relative paths to be safe (might happen when process.cwd() fails)
+
+	  // Normalize the path
+	  resolvedPath = normalizeString(resolvedPath, !resolvedAbsolute, '/',
+	                                 isPosixPathSeparator);
+
+	  if (resolvedAbsolute) {
+	    return `/${resolvedPath}`;
+	  }
+	  return resolvedPath.length > 0 ? resolvedPath : '.';
+	}
+
+	path = {
+	  resolve,
+	};
+	return path;
+}
+
+var url;
+var hasRequiredUrl;
+
+function requireUrl () {
+	if (hasRequiredUrl) return url;
+	hasRequiredUrl = 1;
+
+	// The main use case is browsers, and I rarely test on Windows, so all of the
+	// Windows-specific stuff is removed.
+
+	const {
+	  StringPrototypeCharCodeAt,
+	  StringPrototypeIncludes,
+	  StringPrototypeReplace,
+	} = primordialsExports;
+
+	const {
+	  CHAR_FORWARD_SLASH,
+	} = requireConstants();
+	const path = requirePath();
+
+	const percentRegEx = /%/g;
+	const backslashRegEx = /\\/g;
+	const newlineRegEx = /\n/g;
+	const carriageReturnRegEx = /\r/g;
+	const tabRegEx = /\t/g;
+
+	function encodePathChars(filepath) {
+	  if (StringPrototypeIncludes(filepath, '%'))
+	    filepath = StringPrototypeReplace(filepath, percentRegEx, '%25');
+	  // In posix, backslash is a valid character in paths:
+	  if (StringPrototypeIncludes(filepath, '\\'))
+	    filepath = StringPrototypeReplace(filepath, backslashRegEx, '%5C');
+	  if (StringPrototypeIncludes(filepath, '\n'))
+	    filepath = StringPrototypeReplace(filepath, newlineRegEx, '%0A');
+	  if (StringPrototypeIncludes(filepath, '\r'))
+	    filepath = StringPrototypeReplace(filepath, carriageReturnRegEx, '%0D');
+	  if (StringPrototypeIncludes(filepath, '\t'))
+	    filepath = StringPrototypeReplace(filepath, tabRegEx, '%09');
+	  return filepath;
+	}
+
+	function pathToFileURL(filepath) {
+	  const outURL = new URL('file://');
+
+	  let resolved = path.resolve(filepath);
+	  // path.resolve strips trailing slashes so we must add them back
+	  const filePathLast = StringPrototypeCharCodeAt(filepath,
+	                                                 filepath.length - 1);
+	  if ((filePathLast === CHAR_FORWARD_SLASH) &&
+	      resolved[resolved.length - 1] !== path.sep)
+	    resolved += '/';
+	  outURL.pathname = encodePathChars(resolved);
+
+	  return outURL;
+	}
+
+	url = {
+	  pathToFileURL,
+	};
+	return url;
+}
+
+var buffer = {};
+
+var hasRequiredBuffer;
+
+function requireBuffer () {
+	if (hasRequiredBuffer) return buffer;
+	hasRequiredBuffer = 1;
+
+	class Buffer {
+	  hexSlice(start = 0, end) {
+	    return Array.prototype.map.call(
+	      this.slice(start, end),
+	      (x) => ('00' + x.toString(16)).slice(-2))
+	      .join('');
+	  }
+	}
+
+	buffer.Buffer = Buffer;
+	return buffer;
+}
+
+var inspect_1;
+var hasRequiredInspect;
+
+function requireInspect () {
+	if (hasRequiredInspect) return inspect_1;
+	hasRequiredInspect = 1;
+
+	const primordials = primordialsExports;
+	const {
+	  internalBinding,
+	  Array,
+	  ArrayIsArray,
+	  ArrayPrototypeFilter,
+	  ArrayPrototypeForEach,
+	  ArrayPrototypeIncludes,
+	  ArrayPrototypeIndexOf,
+	  ArrayPrototypeJoin,
+	  ArrayPrototypeMap,
+	  ArrayPrototypePop,
+	  ArrayPrototypePush,
+	  ArrayPrototypePushApply,
+	  ArrayPrototypeSlice,
+	  ArrayPrototypeSplice,
+	  ArrayPrototypeSort,
+	  ArrayPrototypeUnshift,
+	  BigIntPrototypeValueOf,
+	  BooleanPrototypeValueOf,
+	  DatePrototypeGetTime,
+	  DatePrototypeToISOString,
+	  DatePrototypeToString,
+	  ErrorPrototypeToString,
+	  FunctionPrototypeBind,
+	  FunctionPrototypeCall,
+	  FunctionPrototypeToString,
+	  JSONStringify,
+	  MapPrototypeGetSize,
+	  MapPrototypeEntries,
+	  MathFloor,
+	  MathMax,
+	  MathMin,
+	  MathRound,
+	  MathSqrt,
+	  MathTrunc,
+	  Number,
+	  NumberIsFinite,
+	  NumberIsNaN,
+	  NumberParseFloat,
+	  NumberParseInt,
+	  NumberPrototypeToString,
+	  NumberPrototypeValueOf,
+	  Object,
+	  ObjectAssign,
+	  ObjectDefineProperty,
+	  ObjectGetOwnPropertyDescriptor,
+	  ObjectGetOwnPropertyNames,
+	  ObjectGetOwnPropertySymbols,
+	  ObjectGetPrototypeOf,
+	  ObjectIs,
+	  ObjectKeys,
+	  ObjectPrototypeHasOwnProperty,
+	  ObjectPrototypePropertyIsEnumerable,
+	  ObjectSeal,
+	  ObjectSetPrototypeOf,
+	  ReflectApply,
+	  ReflectOwnKeys,
+	  RegExp,
+	  RegExpPrototypeExec,
+	  RegExpPrototypeSymbolReplace,
+	  RegExpPrototypeSymbolSplit,
+	  RegExpPrototypeToString,
+	  SafeStringIterator,
+	  SafeMap,
+	  SafeSet,
+	  SetPrototypeGetSize,
+	  SetPrototypeValues,
+	  String,
+	  StringPrototypeCharCodeAt,
+	  StringPrototypeCodePointAt,
+	  StringPrototypeIncludes,
+	  StringPrototypeIndexOf,
+	  StringPrototypeLastIndexOf,
+	  StringPrototypeNormalize,
+	  StringPrototypePadEnd,
+	  StringPrototypePadStart,
+	  StringPrototypeRepeat,
+	  StringPrototypeReplaceAll,
+	  StringPrototypeSlice,
+	  StringPrototypeSplit,
+	  StringPrototypeEndsWith,
+	  StringPrototypeStartsWith,
+	  StringPrototypeToLowerCase,
+	  StringPrototypeTrim,
+	  StringPrototypeValueOf,
+	  SymbolPrototypeToString,
+	  SymbolPrototypeValueOf,
+	  SymbolIterator,
+	  SymbolToStringTag,
+	  TypedArrayPrototypeGetLength,
+	  TypedArrayPrototypeGetSymbolToStringTag,
+	  Uint8Array,
+	  globalThis,
+	  uncurryThis,
+	} = primordials;
+
+	const {
+	  constants: {
+	    ALL_PROPERTIES,
+	    ONLY_ENUMERABLE,
+	    kPending,
+	    kRejected,
+	  },
+	  getOwnNonIndexProperties,
+	  getPromiseDetails,
+	  getProxyDetails,
+	  previewEntries,
+	  getConstructorName: internalGetConstructorName,
+	  getExternalValue,
+	  Proxy,
+	} = util$1;
+
+	const {
+	  customInspectSymbol,
+	  isError,
+	  join,
+	  removeColors,
+	} = util;
+
+	const {
+	  isStackOverflowError,
+	} = requireErrors();
+
+	const {
+	  isAsyncFunction,
+	  isGeneratorFunction,
+	  isAnyArrayBuffer,
+	  isArrayBuffer,
+	  isArgumentsObject,
+	  isBoxedPrimitive,
+	  isDataView,
+	  isExternal,
+	  isMap,
+	  isMapIterator,
+	  isModuleNamespaceObject,
+	  isNativeError,
+	  isPromise,
+	  isSet,
+	  isSetIterator,
+	  isWeakMap,
+	  isWeakSet,
+	  isRegExp,
+	  isDate,
+	  isTypedArray,
+	  isStringObject,
+	  isNumberObject,
+	  isBooleanObject,
+	  isBigIntObject,
+	} = types;
+
+	const assert = assert_1;
+
+	const { BuiltinModule } = realm;
+	const {
+	  validateObject,
+	  validateString,
+	} = requireValidators();
+
+	let hexSlice;
+	let internalUrl;
+
+	function pathToFileUrlHref(filepath) {
+	  // Maintain node 14 compat
+	  // internalUrl ??= require('./internal/url');
+	  internalUrl = (internalUrl == null) ? requireUrl() : internalUrl;
+	  return internalUrl.pathToFileURL(filepath).href;
+	}
+
+	const builtInObjects = new SafeSet(
+	  ArrayPrototypeFilter(
+	    ObjectGetOwnPropertyNames(globalThis),
+	    (e) => RegExpPrototypeExec(/^[A-Z][a-zA-Z0-9]+$/, e) !== null,
+	  ),
+	);
+
+	// https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot
+	const isUndetectableObject = (v) => typeof v === 'undefined' && v !== undefined;
+
+	// These options must stay in sync with `getUserOptions`. So if any option will
+	// be added or removed, `getUserOptions` must also be updated accordingly.
+	const inspectDefaultOptions = ObjectSeal({
+	  showHidden: false,
+	  depth: 2,
+	  colors: false,
+	  customInspect: true,
+	  showProxy: false,
+	  maxArrayLength: 100,
+	  maxStringLength: 10000,
+	  breakLength: 80,
+	  compact: 3,
+	  sorted: false,
+	  getters: false,
+	  numericSeparator: false,
+	});
+
+	const kObjectType = 0;
+	const kArrayType = 1;
+	const kArrayExtrasType = 2;
+
+	/* eslint-disable no-control-regex */
+	// Work-arounds for Safari not implementing negative look-behinds.
+	// Remove all of this once Safari 16.4 is rolled out "enough".
+	let strEscapeSequencesRegExp,
+	  strEscapeSequencesReplacer,
+	  strEscapeSequencesRegExpSingle,
+	  strEscapeSequencesReplacerSingle,
+	  extractedSplitNewLines;
+	try {
+	  // Change from regex literals to RegExp constructors to avoid unrecoverable
+	  // syntax error at load time.
+	  strEscapeSequencesRegExp =
+	    // eslint-disable-next-line max-len
+	    new RegExp('[\\x00-\\x1f\\x27\\x5c\\x7f-\\x9f]|[\\ud800-\\udbff](?![\\udc00-\\udfff])|(?<![\\ud800-\\udbff])[\\udc00-\\udfff]');
+	  strEscapeSequencesReplacer =
+	    new RegExp(
+	      // eslint-disable-next-line max-len
+	      '[\x00-\\x1f\\x27\\x5c\\x7f-\\x9f]|[\\ud800-\\udbff](?![\\udc00-\\udfff])|(?<![\\ud800-\\udbff])[\\udc00-\\udfff]',
+	      'g',
+	    );
+	  strEscapeSequencesRegExpSingle =
+	    // eslint-disable-next-line max-len
+	    new RegExp('[\\x00-\\x1f\\x5c\\x7f-\\x9f]|[\\ud800-\\udbff](?![\\udc00-\\udfff])|(?<![\\ud800-\\udbff])[\\udc00-\\udfff]');
+	  strEscapeSequencesReplacerSingle =
+	    // eslint-disable-next-line max-len
+	    new RegExp('[\\x00-\\x1f\\x5c\\x7f-\\x9f]|[\\ud800-\\udbff](?![\\udc00-\\udfff])|(?<![\\ud800-\\udbff])[\\udc00-\\udfff]', 'g');
+	  const extractedNewLineRe = new RegExp('(?<=\\n)');
+	  extractedSplitNewLines = (value) => RegExpPrototypeSymbolSplit(extractedNewLineRe, value);
+	  /* c8 ignore start */
+	  // CI doesn't run in an elderly runtime
+	} catch {
+	  // These are from a previous version of node,
+	  // see commit 76372607a6743cc75eae50ca58657c9e8a654428
+	  // dated 2021-12-06
+	  strEscapeSequencesRegExp = /[\x00-\x1f\x27\x5c\x7f-\x9f]/;
+	  strEscapeSequencesReplacer = /[\x00-\x1f\x27\x5c\x7f-\x9f]/g;
+	  strEscapeSequencesRegExpSingle = /[\x00-\x1f\x5c\x7f-\x9f]/;
+	  strEscapeSequencesReplacerSingle = /[\x00-\x1f\x5c\x7f-\x9f]/g;
+	  extractedSplitNewLines = (value) => {
+	    const lines = RegExpPrototypeSymbolSplit(/\n/, value);
+	    const last = ArrayPrototypePop(lines);
+	    const nlLines = ArrayPrototypeMap(lines, (line) => line + '\n');
+	    if (last !== '') {
+	      nlLines.push(last);
+	    }
+	    return nlLines;
+	  };
+	}
+	/* c8 ignore stop */
+	/* eslint-enable no-control-regex */
+
+	const keyStrRegExp = /^[a-zA-Z_][a-zA-Z_0-9]*$/;
+	const numberRegExp = /^(0|[1-9][0-9]*)$/;
+
+	const coreModuleRegExp = /^ {4}at (?:[^/\\(]+ \(|)node:(.+):\d+:\d+\)?$/;
+	const nodeModulesRegExp = /[/\\]node_modules[/\\](.+?)(?=[/\\])/g;
+
+	const classRegExp = /^(\s+[^(]*?)\s*{/;
+	// eslint-disable-next-line node-core/no-unescaped-regexp-dot
+	const stripCommentsRegExp = /(\/\/.*?\n)|(\/\*(.|\n)*?\*\/)/g;
+
+	const kMinLineLength = 16;
+
+	// Constants to map the iterator state.
+	const kWeak = 0;
+	const kIterator = 1;
+	const kMapEntries = 2;
+
+	// Escaped control characters (plus the single quote and the backslash). Use
+	// empty strings to fill up unused entries.
+	const meta = [
+	  '\\x00', '\\x01', '\\x02', '\\x03', '\\x04', '\\x05', '\\x06', '\\x07', // x07
+	  '\\b', '\\t', '\\n', '\\x0B', '\\f', '\\r', '\\x0E', '\\x0F',           // x0F
+	  '\\x10', '\\x11', '\\x12', '\\x13', '\\x14', '\\x15', '\\x16', '\\x17', // x17
+	  '\\x18', '\\x19', '\\x1A', '\\x1B', '\\x1C', '\\x1D', '\\x1E', '\\x1F', // x1F
+	  '', '', '', '', '', '', '', "\\'", '', '', '', '', '', '', '', '',      // x2F
+	  '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '',         // x3F
+	  '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '',         // x4F
+	  '', '', '', '', '', '', '', '', '', '', '', '', '\\\\', '', '', '',     // x5F
+	  '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '',         // x6F
+	  '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '\\x7F',    // x7F
+	  '\\x80', '\\x81', '\\x82', '\\x83', '\\x84', '\\x85', '\\x86', '\\x87', // x87
+	  '\\x88', '\\x89', '\\x8A', '\\x8B', '\\x8C', '\\x8D', '\\x8E', '\\x8F', // x8F
+	  '\\x90', '\\x91', '\\x92', '\\x93', '\\x94', '\\x95', '\\x96', '\\x97', // x97
+	  '\\x98', '\\x99', '\\x9A', '\\x9B', '\\x9C', '\\x9D', '\\x9E', '\\x9F', // x9F
+	];
+
+	// Regex used for ansi escape code splitting
+	// Adopted from https://github.com/chalk/ansi-regex/blob/HEAD/index.js
+	// License: MIT, authors: @sindresorhus, Qix-, arjunmehta and LitoMore
+	// Matches all ansi escape code sequences in a string
+	const ansiPattern = '[\\u001B\\u009B][[\\]()#;?]*' +
+	  '(?:(?:(?:(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]+)*' +
+	  '|[a-zA-Z\\d]+(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]*)*)?\\u0007)' +
+	  '|(?:(?:\\d{1,4}(?:;\\d{0,4})*)?[\\dA-PR-TZcf-ntqry=><~]))';
+	const ansi = new RegExp(ansiPattern, 'g');
+
+	let getStringWidth;
+
+	function getUserOptions(ctx, isCrossContext) {
+	  const ret = {
+	    stylize: ctx.stylize,
+	    showHidden: ctx.showHidden,
+	    depth: ctx.depth,
+	    colors: ctx.colors,
+	    customInspect: ctx.customInspect,
+	    showProxy: ctx.showProxy,
+	    maxArrayLength: ctx.maxArrayLength,
+	    maxStringLength: ctx.maxStringLength,
+	    breakLength: ctx.breakLength,
+	    compact: ctx.compact,
+	    sorted: ctx.sorted,
+	    getters: ctx.getters,
+	    numericSeparator: ctx.numericSeparator,
+	    ...ctx.userOptions,
+	  };
+
+	  // Typically, the target value will be an instance of `Object`. If that is
+	  // *not* the case, the object may come from another vm.Context, and we want
+	  // to avoid passing it objects from this Context in that case, so we remove
+	  // the prototype from the returned object itself + the `stylize()` function,
+	  // and remove all other non-primitives, including non-primitive user options.
+	  if (isCrossContext) {
+	    ObjectSetPrototypeOf(ret, null);
+	    for (const key of ObjectKeys(ret)) {
+	      if ((typeof ret[key] === 'object' || typeof ret[key] === 'function') &&
+	          ret[key] !== null) {
+	        delete ret[key];
+	      }
+	    }
+	    ret.stylize = ObjectSetPrototypeOf((value, flavour) => {
+	      let stylized;
+	      try {
+	        stylized = `${ctx.stylize(value, flavour)}`;
+	      } catch {
+	        // Continue regardless of error.
+	      }
+
+	      if (typeof stylized !== 'string') return value;
+	      // `stylized` is a string as it should be, which is safe to pass along.
+	      return stylized;
+	    }, null);
+	  }
+
+	  return ret;
+	}
+
+	/**
+	 * Echos the value of any input. Tries to print the value out
+	 * in the best way possible given the different types.
+	 * @param {any} value The value to print out.
+	 * @param {object} opts Optional options object that alters the output.
+	 */
+	/* Legacy: value, showHidden, depth, colors */
+	function inspect(value, opts) {
+	  // Default options
+	  const ctx = {
+	    budget: {},
+	    indentationLvl: 0,
+	    seen: [],
+	    currentDepth: 0,
+	    stylize: stylizeNoColor,
+	    showHidden: inspectDefaultOptions.showHidden,
+	    depth: inspectDefaultOptions.depth,
+	    colors: inspectDefaultOptions.colors,
+	    customInspect: inspectDefaultOptions.customInspect,
+	    showProxy: inspectDefaultOptions.showProxy,
+	    maxArrayLength: inspectDefaultOptions.maxArrayLength,
+	    maxStringLength: inspectDefaultOptions.maxStringLength,
+	    breakLength: inspectDefaultOptions.breakLength,
+	    compact: inspectDefaultOptions.compact,
+	    sorted: inspectDefaultOptions.sorted,
+	    getters: inspectDefaultOptions.getters,
+	    numericSeparator: inspectDefaultOptions.numericSeparator,
+	  };
+	  if (arguments.length > 1) {
+	    // Legacy...
+	    if (arguments.length > 2) {
+	      if (arguments[2] !== undefined) {
+	        ctx.depth = arguments[2];
+	      }
+	      if (arguments.length > 3 && arguments[3] !== undefined) {
+	        ctx.colors = arguments[3];
+	      }
+	    }
+	    // Set user-specified options
+	    if (typeof opts === 'boolean') {
+	      ctx.showHidden = opts;
+	    } else if (opts) {
+	      const optKeys = ObjectKeys(opts);
+	      for (let i = 0; i < optKeys.length; ++i) {
+	        const key = optKeys[i];
+	        // TODO(BridgeAR): Find a solution what to do about stylize. Either make
+	        // this function public or add a new API with a similar or better
+	        // functionality.
+	        if (
+	          ObjectPrototypeHasOwnProperty(inspectDefaultOptions, key) ||
+	          key === 'stylize') {
+	          ctx[key] = opts[key];
+	        } else if (ctx.userOptions === undefined) {
+	          // This is required to pass through the actual user input.
+	          ctx.userOptions = opts;
+	        }
+	      }
+	    }
+	  }
+	  if (ctx.colors) ctx.stylize = stylizeWithColor;
+	  if (ctx.maxArrayLength === null) ctx.maxArrayLength = Infinity;
+	  if (ctx.maxStringLength === null) ctx.maxStringLength = Infinity;
+	  return formatValue(ctx, value, 0);
+	}
+	inspect.custom = customInspectSymbol;
+
+	ObjectDefineProperty(inspect, 'defaultOptions', {
+	  __proto__: null,
+	  get() {
+	    return inspectDefaultOptions;
+	  },
+	  set(options) {
+	    validateObject(options, 'options');
+	    return ObjectAssign(inspectDefaultOptions, options);
+	  },
+	});
+
+	// Set Graphics Rendition https://en.wikipedia.org/wiki/ANSI_escape_code#graphics
+	// Each color consists of an array with the color code as first entry and the
+	// reset code as second entry.
+	const defaultFG = 39;
+	const defaultBG = 49;
+	inspect.colors = {
+	  __proto__: null,
+	  reset: [0, 0],
+	  bold: [1, 22],
+	  dim: [2, 22], // Alias: faint
+	  italic: [3, 23],
+	  underline: [4, 24],
+	  blink: [5, 25],
+	  // Swap foreground and background colors
+	  inverse: [7, 27], // Alias: swapcolors, swapColors
+	  hidden: [8, 28], // Alias: conceal
+	  strikethrough: [9, 29], // Alias: strikeThrough, crossedout, crossedOut
+	  doubleunderline: [21, 24], // Alias: doubleUnderline
+	  black: [30, defaultFG],
+	  red: [31, defaultFG],
+	  green: [32, defaultFG],
+	  yellow: [33, defaultFG],
+	  blue: [34, defaultFG],
+	  magenta: [35, defaultFG],
+	  cyan: [36, defaultFG],
+	  white: [37, defaultFG],
+	  bgBlack: [40, defaultBG],
+	  bgRed: [41, defaultBG],
+	  bgGreen: [42, defaultBG],
+	  bgYellow: [43, defaultBG],
+	  bgBlue: [44, defaultBG],
+	  bgMagenta: [45, defaultBG],
+	  bgCyan: [46, defaultBG],
+	  bgWhite: [47, defaultBG],
+	  framed: [51, 54],
+	  overlined: [53, 55],
+	  gray: [90, defaultFG], // Alias: grey, blackBright
+	  redBright: [91, defaultFG],
+	  greenBright: [92, defaultFG],
+	  yellowBright: [93, defaultFG],
+	  blueBright: [94, defaultFG],
+	  magentaBright: [95, defaultFG],
+	  cyanBright: [96, defaultFG],
+	  whiteBright: [97, defaultFG],
+	  bgGray: [100, defaultBG], // Alias: bgGrey, bgBlackBright
+	  bgRedBright: [101, defaultBG],
+	  bgGreenBright: [102, defaultBG],
+	  bgYellowBright: [103, defaultBG],
+	  bgBlueBright: [104, defaultBG],
+	  bgMagentaBright: [105, defaultBG],
+	  bgCyanBright: [106, defaultBG],
+	  bgWhiteBright: [107, defaultBG],
+	};
+
+	function defineColorAlias(target, alias) {
+	  ObjectDefineProperty(inspect.colors, alias, {
+	    __proto__: null,
+	    get() {
+	      return this[target];
+	    },
+	    set(value) {
+	      this[target] = value;
+	    },
+	    configurable: true,
+	    enumerable: false,
+	  });
+	}
+
+	defineColorAlias('gray', 'grey');
+	defineColorAlias('gray', 'blackBright');
+	defineColorAlias('bgGray', 'bgGrey');
+	defineColorAlias('bgGray', 'bgBlackBright');
+	defineColorAlias('dim', 'faint');
+	defineColorAlias('strikethrough', 'crossedout');
+	defineColorAlias('strikethrough', 'strikeThrough');
+	defineColorAlias('strikethrough', 'crossedOut');
+	defineColorAlias('hidden', 'conceal');
+	defineColorAlias('inverse', 'swapColors');
+	defineColorAlias('inverse', 'swapcolors');
+	defineColorAlias('doubleunderline', 'doubleUnderline');
+
+	// TODO(BridgeAR): Add function style support for more complex styles.
+	// Don't use 'blue' not visible on cmd.exe
+	inspect.styles = ObjectAssign({ __proto__: null }, {
+	  special: 'cyan',
+	  number: 'yellow',
+	  bigint: 'yellow',
+	  boolean: 'yellow',
+	  undefined: 'grey',
+	  null: 'bold',
+	  string: 'green',
+	  symbol: 'green',
+	  date: 'magenta',
+	  // "name": intentionally not styling
+	  // TODO(BridgeAR): Highlight regular expressions properly.
+	  regexp: 'red',
+	  module: 'underline',
+	});
+
+	function addQuotes(str, quotes) {
+	  if (quotes === -1) {
+	    return `"${str}"`;
+	  }
+	  if (quotes === -2) {
+	    return `\`${str}\``;
+	  }
+	  return `'${str}'`;
+	}
+
+	function escapeFn(str) {
+	  const charCode = StringPrototypeCharCodeAt(str);
+	  return meta.length > charCode ? meta[charCode] : `\\u${NumberPrototypeToString(charCode, 16)}`;
+	}
+
+	// Escape control characters, single quotes and the backslash.
+	// This is similar to JSON stringify escaping.
+	function strEscape(str) {
+	  let escapeTest = strEscapeSequencesRegExp;
+	  let escapeReplace = strEscapeSequencesReplacer;
+	  let singleQuote = 39;
+
+	  // Check for double quotes. If not present, do not escape single quotes and
+	  // instead wrap the text in double quotes. If double quotes exist, check for
+	  // backticks. If they do not exist, use those as fallback instead of the
+	  // double quotes.
+	  if (StringPrototypeIncludes(str, "'")) {
+	    // This invalidates the charCode and therefore can not be matched for
+	    // anymore.
+	    if (!StringPrototypeIncludes(str, '"')) {
+	      singleQuote = -1;
+	    } else if (!StringPrototypeIncludes(str, '`') &&
+	               !StringPrototypeIncludes(str, '${')) {
+	      singleQuote = -2;
+	    }
+	    if (singleQuote !== 39) {
+	      escapeTest = strEscapeSequencesRegExpSingle;
+	      escapeReplace = strEscapeSequencesReplacerSingle;
+	    }
+	  }
+
+	  // Some magic numbers that worked out fine while benchmarking with v8 6.0
+	  if (str.length < 5000 && RegExpPrototypeExec(escapeTest, str) === null)
+	    return addQuotes(str, singleQuote);
+	  if (str.length > 100) {
+	    str = RegExpPrototypeSymbolReplace(escapeReplace, str, escapeFn);
+	    return addQuotes(str, singleQuote);
+	  }
+
+	  let result = '';
+	  let last = 0;
+	  for (let i = 0; i < str.length; i++) {
+	    const point = StringPrototypeCharCodeAt(str, i);
+	    if (point === singleQuote ||
+	        point === 92 ||
+	        point < 32 ||
+	        (point > 126 && point < 160)) {
+	      if (last === i) {
+	        result += meta[point];
+	      } else {
+	        result += `${StringPrototypeSlice(str, last, i)}${meta[point]}`;
+	      }
+	      last = i + 1;
+	    } else if (point >= 0xd800 && point <= 0xdfff) {
+	      if (point <= 0xdbff && i + 1 < str.length) {
+	        const point = StringPrototypeCharCodeAt(str, i + 1);
+	        if (point >= 0xdc00 && point <= 0xdfff) {
+	          i++;
+	          continue;
+	        }
+	      }
+	      result += `${StringPrototypeSlice(str, last, i)}\\u${NumberPrototypeToString(point, 16)}`;
+	      last = i + 1;
+	    }
+	  }
+
+	  if (last !== str.length) {
+	    result += StringPrototypeSlice(str, last);
+	  }
+	  return addQuotes(result, singleQuote);
+	}
+
+	function stylizeWithColor(str, styleType) {
+	  const style = inspect.styles[styleType];
+	  if (style !== undefined) {
+	    const color = inspect.colors[style];
+	    if (color !== undefined)
+	      return `\u001b[${color[0]}m${str}\u001b[${color[1]}m`;
+	  }
+	  return str;
+	}
+
+	function stylizeNoColor(str) {
+	  return str;
+	}
+
+	// Return a new empty array to push in the results of the default formatter.
+	function getEmptyFormatArray() {
+	  return [];
+	}
+
+	function isInstanceof(object, proto) {
+	  try {
+	    return object instanceof proto;
+	  } catch {
+	    return false;
+	  }
+	}
+
+	function getConstructorName(obj, ctx, recurseTimes, protoProps) {
+	  let firstProto;
+	  const tmp = obj;
+	  while (obj || isUndetectableObject(obj)) {
+	    const descriptor = ObjectGetOwnPropertyDescriptor(obj, 'constructor');
+	    if (descriptor !== undefined &&
+	        typeof descriptor.value === 'function' &&
+	        descriptor.value.name !== '' &&
+	        isInstanceof(tmp, descriptor.value)) {
+	      if (protoProps !== undefined &&
+	         (firstProto !== obj ||
+	         !builtInObjects.has(descriptor.value.name))) {
+	        addPrototypeProperties(
+	          ctx, tmp, firstProto || tmp, recurseTimes, protoProps);
+	      }
+	      return String(descriptor.value.name);
+	    }
+
+	    obj = ObjectGetPrototypeOf(obj);
+	    if (firstProto === undefined) {
+	      firstProto = obj;
+	    }
+	  }
+
+	  if (firstProto === null) {
+	    return null;
+	  }
+
+	  const res = internalGetConstructorName(tmp);
+
+	  if (recurseTimes > ctx.depth && ctx.depth !== null) {
+	    return `${res} <Complex prototype>`;
+	  }
+
+	  const protoConstr = getConstructorName(
+	    firstProto, ctx, recurseTimes + 1, protoProps);
+
+	  if (protoConstr === null) {
+	    return `${res} <${inspect(firstProto, {
+	      ...ctx,
+	      customInspect: false,
+	      depth: -1,
+	    })}>`;
+	  }
+
+	  return `${res} <${protoConstr}>`;
+	}
+
+	// This function has the side effect of adding prototype properties to the
+	// `output` argument (which is an array). This is intended to highlight user
+	// defined prototype properties.
+	function addPrototypeProperties(ctx, main, obj, recurseTimes, output) {
+	  let depth = 0;
+	  let keys;
+	  let keySet;
+	  do {
+	    if (depth !== 0 || main === obj) {
+	      obj = ObjectGetPrototypeOf(obj);
+	      // Stop as soon as a null prototype is encountered.
+	      if (obj === null) {
+	        return;
+	      }
+	      // Stop as soon as a built-in object type is detected.
+	      const descriptor = ObjectGetOwnPropertyDescriptor(obj, 'constructor');
+	      if (descriptor !== undefined &&
+	          typeof descriptor.value === 'function' &&
+	          builtInObjects.has(descriptor.value.name)) {
+	        return;
+	      }
+	    }
+
+	    if (depth === 0) {
+	      keySet = new SafeSet();
+	    } else {
+	      ArrayPrototypeForEach(keys, (key) => keySet.add(key));
+	    }
+	    // Get all own property names and symbols.
+	    keys = ReflectOwnKeys(obj);
+	    ArrayPrototypePush(ctx.seen, main);
+	    for (const key of keys) {
+	      // Ignore the `constructor` property and keys that exist on layers above.
+	      if (key === 'constructor' ||
+	          ObjectPrototypeHasOwnProperty(main, key) ||
+	          (depth !== 0 && keySet.has(key))) {
+	        continue;
+	      }
+	      const desc = ObjectGetOwnPropertyDescriptor(obj, key);
+	      if (typeof desc.value === 'function') {
+	        continue;
+	      }
+	      const value = formatProperty(
+	        ctx, obj, recurseTimes, key, kObjectType, desc, main);
+	      if (ctx.colors) {
+	        // Faint!
+	        ArrayPrototypePush(output, `\u001b[2m${value}\u001b[22m`);
+	      } else {
+	        ArrayPrototypePush(output, value);
+	      }
+	    }
+	    ArrayPrototypePop(ctx.seen);
+	  // Limit the inspection to up to three prototype layers. Using `recurseTimes`
+	  // is not a good choice here, because it's as if the properties are declared
+	  // on the current object from the users perspective.
+	  } while (++depth !== 3);
+	}
+
+	function getPrefix(constructor, tag, fallback, size = '') {
+	  if (constructor === null) {
+	    if (tag !== '' && fallback !== tag) {
+	      return `[${fallback}${size}: null prototype] [${tag}] `;
+	    }
+	    return `[${fallback}${size}: null prototype] `;
+	  }
+
+	  if (tag !== '' && constructor !== tag) {
+	    return `${constructor}${size} [${tag}] `;
+	  }
+	  return `${constructor}${size} `;
+	}
+
+	// Look up the keys of the object.
+	function getKeys(value, showHidden) {
+	  let keys;
+	  const symbols = ObjectGetOwnPropertySymbols(value);
+	  if (showHidden) {
+	    keys = ObjectGetOwnPropertyNames(value);
+	    if (symbols.length !== 0)
+	      ArrayPrototypePushApply(keys, symbols);
+	  } else {
+	    // This might throw if `value` is a Module Namespace Object from an
+	    // unevaluated module, but we don't want to perform the actual type
+	    // check because it's expensive.
+	    // TODO(devsnek): track https://github.com/tc39/ecma262/issues/1209
+	    // and modify this logic as needed.
+	    try {
+	      keys = ObjectKeys(value);
+	    } catch (err) {
+	      assert(isNativeError(err) && err.name === 'ReferenceError' &&
+	             isModuleNamespaceObject(value));
+	      keys = ObjectGetOwnPropertyNames(value);
+	    }
+	    if (symbols.length !== 0) {
+	      const filter = (key) => ObjectPrototypePropertyIsEnumerable(value, key);
+	      ArrayPrototypePushApply(keys, ArrayPrototypeFilter(symbols, filter));
+	    }
+	  }
+	  return keys;
+	}
+
+	function getCtxStyle(value, constructor, tag) {
+	  let fallback = '';
+	  if (constructor === null) {
+	    fallback = internalGetConstructorName(value);
+	    if (fallback === tag) {
+	      fallback = 'Object';
+	    }
+	  }
+	  return getPrefix(constructor, tag, fallback);
+	}
+
+	function formatProxy(ctx, proxy, recurseTimes) {
+	  if (recurseTimes > ctx.depth && ctx.depth !== null) {
+	    return ctx.stylize('Proxy [Array]', 'special');
+	  }
+	  recurseTimes += 1;
+	  ctx.indentationLvl += 2;
+	  const res = [
+	    formatValue(ctx, proxy[0], recurseTimes),
+	    formatValue(ctx, proxy[1], recurseTimes),
+	  ];
+	  ctx.indentationLvl -= 2;
+	  return reduceToSingleString(
+	    ctx, res, '', ['Proxy [', ']'], kArrayExtrasType, recurseTimes);
+	}
+
+	// Note: using `formatValue` directly requires the indentation level to be
+	// corrected by setting `ctx.indentationLvL += diff` and then to decrease the
+	// value afterwards again.
+	function formatValue(ctx, value, recurseTimes, typedArray) {
+	  // Primitive types cannot have properties.
+	  if (typeof value !== 'object' &&
+	      typeof value !== 'function' &&
+	      !isUndetectableObject(value)) {
+	    return formatPrimitive(ctx.stylize, value, ctx);
+	  }
+	  if (value === null) {
+	    return ctx.stylize('null', 'null');
+	  }
+
+	  // Memorize the context for custom inspection on proxies.
+	  const context = value;
+	  // Always check for proxies to prevent side effects and to prevent triggering
+	  // any proxy handlers.
+	  const proxy = getProxyDetails(value, !!ctx.showProxy);
+	  if (proxy !== undefined) {
+	    if (proxy === null || proxy[0] === null) {
+	      return ctx.stylize('<Revoked Proxy>', 'special');
+	    }
+	    if (ctx.showProxy) {
+	      return formatProxy(ctx, proxy, recurseTimes);
+	    }
+	    value = proxy;
+	  }
+
+	  // Provide a hook for user-specified inspect functions.
+	  // Check that value is an object with an inspect function on it.
+	  if (ctx.customInspect) {
+	    const maybeCustom = value[customInspectSymbol];
+	    if (typeof maybeCustom === 'function' &&
+	        // Filter out the util module, its inspect function is special.
+	        maybeCustom !== inspect &&
+	        // Also filter out any prototype objects using the circular check.
+	        !(value.constructor && value.constructor.prototype === value)) {
+	      // This makes sure the recurseTimes are reported as before while using
+	      // a counter internally.
+	      const depth = ctx.depth === null ? null : ctx.depth - recurseTimes;
+	      const isCrossContext =
+	        proxy !== undefined || !(context instanceof Object);
+	      const ret = FunctionPrototypeCall(
+	        maybeCustom,
+	        context,
+	        depth,
+	        getUserOptions(ctx, isCrossContext),
+	        inspect,
+	      );
+	      // If the custom inspection method returned `this`, don't go into
+	      // infinite recursion.
+	      if (ret !== context) {
+	        if (typeof ret !== 'string') {
+	          return formatValue(ctx, ret, recurseTimes);
+	        }
+	        return StringPrototypeReplaceAll(ret, '\n', `\n${StringPrototypeRepeat(' ', ctx.indentationLvl)}`);
+	      }
+	    }
+	  }
+
+	  // Using an array here is actually better for the average case than using
+	  // a Set. `seen` will only check for the depth and will never grow too large.
+	  if (ctx.seen.includes(value)) {
+	    let index = 1;
+	    if (ctx.circular === undefined) {
+	      ctx.circular = new SafeMap();
+	      ctx.circular.set(value, index);
+	    } else {
+	      index = ctx.circular.get(value);
+	      if (index === undefined) {
+	        index = ctx.circular.size + 1;
+	        ctx.circular.set(value, index);
+	      }
+	    }
+	    return ctx.stylize(`[Circular *${index}]`, 'special');
+	  }
+
+	  return formatRaw(ctx, value, recurseTimes, typedArray);
+	}
+
+	function formatRaw(ctx, value, recurseTimes, typedArray) {
+	  let keys;
+	  let protoProps;
+	  if (ctx.showHidden && (recurseTimes <= ctx.depth || ctx.depth === null)) {
+	    protoProps = [];
+	  }
+
+	  const constructor = getConstructorName(value, ctx, recurseTimes, protoProps);
+	  // Reset the variable to check for this later on.
+	  if (protoProps !== undefined && protoProps.length === 0) {
+	    protoProps = undefined;
+	  }
+
+	  let tag = value[SymbolToStringTag];
+	  // Only list the tag in case it's non-enumerable / not an own property.
+	  // Otherwise we'd print this twice.
+	  if (typeof tag !== 'string' ||
+	      (tag !== '' &&
+	      (ctx.showHidden ?
+	        ObjectPrototypeHasOwnProperty :
+	        ObjectPrototypePropertyIsEnumerable)(
+	        value, SymbolToStringTag,
+	      ))) {
+	    tag = '';
+	  }
+	  let base = '';
+	  let formatter = getEmptyFormatArray;
+	  let braces;
+	  let noIterator = true;
+	  let i = 0;
+	  const filter = ctx.showHidden ? ALL_PROPERTIES : ONLY_ENUMERABLE;
+
+	  let extrasType = kObjectType;
+
+	  // Iterators and the rest are split to reduce checks.
+	  // We have to check all values in case the constructor is set to null.
+	  // Otherwise it would not possible to identify all types properly.
+	  if (SymbolIterator in value || constructor === null) {
+	    noIterator = false;
+	    if (ArrayIsArray(value)) {
+	      // Only set the constructor for non ordinary ("Array [...]") arrays.
+	      const prefix = (constructor !== 'Array' || tag !== '') ?
+	        getPrefix(constructor, tag, 'Array', `(${value.length})`) :
+	        '';
+	      keys = getOwnNonIndexProperties(value, filter);
+	      braces = [`${prefix}[`, ']'];
+	      if (value.length === 0 && keys.length === 0 && protoProps === undefined)
+	        return `${braces[0]}]`;
+	      extrasType = kArrayExtrasType;
+	      formatter = formatArray;
+	    } else if (isSet(value)) {
+	      const size = SetPrototypeGetSize(value);
+	      const prefix = getPrefix(constructor, tag, 'Set', `(${size})`);
+	      keys = getKeys(value, ctx.showHidden);
+	      formatter = constructor !== null ?
+	        FunctionPrototypeBind(formatSet, null, value) :
+	        FunctionPrototypeBind(formatSet, null, SetPrototypeValues(value));
+	      if (size === 0 && keys.length === 0 && protoProps === undefined)
+	        return `${prefix}{}`;
+	      braces = [`${prefix}{`, '}'];
+	    } else if (isMap(value)) {
+	      const size = MapPrototypeGetSize(value);
+	      const prefix = getPrefix(constructor, tag, 'Map', `(${size})`);
+	      keys = getKeys(value, ctx.showHidden);
+	      formatter = constructor !== null ?
+	        FunctionPrototypeBind(formatMap, null, value) :
+	        FunctionPrototypeBind(formatMap, null, MapPrototypeEntries(value));
+	      if (size === 0 && keys.length === 0 && protoProps === undefined)
+	        return `${prefix}{}`;
+	      braces = [`${prefix}{`, '}'];
+	    } else if (isTypedArray(value)) {
+	      keys = getOwnNonIndexProperties(value, filter);
+	      let bound = value;
+	      let fallback = '';
+	      if (constructor === null) {
+	        fallback = TypedArrayPrototypeGetSymbolToStringTag(value);
+	        // Reconstruct the array information.
+	        bound = new primordials[fallback](value);
+	      }
+	      const size = TypedArrayPrototypeGetLength(value);
+	      const prefix = getPrefix(constructor, tag, fallback, `(${size})`);
+	      braces = [`${prefix}[`, ']'];
+	      if (value.length === 0 && keys.length === 0 && !ctx.showHidden)
+	        return `${braces[0]}]`;
+	      // Special handle the value. The original value is required below. The
+	      // bound function is required to reconstruct missing information.
+	      formatter = FunctionPrototypeBind(formatTypedArray, null, bound, size);
+	      extrasType = kArrayExtrasType;
+	    } else if (isMapIterator(value)) {
+	      keys = getKeys(value, ctx.showHidden);
+	      braces = getIteratorBraces('Map', tag);
+	      // Add braces to the formatter parameters.
+	      formatter = FunctionPrototypeBind(formatIterator, null, braces);
+	    } else if (isSetIterator(value)) {
+	      keys = getKeys(value, ctx.showHidden);
+	      braces = getIteratorBraces('Set', tag);
+	      // Add braces to the formatter parameters.
+	      formatter = FunctionPrototypeBind(formatIterator, null, braces);
+	    } else {
+	      noIterator = true;
+	    }
+	  }
+	  if (noIterator) {
+	    keys = getKeys(value, ctx.showHidden);
+	    braces = ['{', '}'];
+	    if (constructor === 'Object') {
+	      if (isArgumentsObject(value)) {
+	        braces[0] = '[Arguments] {';
+	      } else if (tag !== '') {
+	        braces[0] = `${getPrefix(constructor, tag, 'Object')}{`;
+	      }
+	      if (keys.length === 0 && protoProps === undefined) {
+	        return `${braces[0]}}`;
+	      }
+	    } else if (typeof value === 'function') {
+	      base = getFunctionBase(value, constructor, tag);
+	      if (keys.length === 0 && protoProps === undefined)
+	        return ctx.stylize(base, 'special');
+	    } else if (isRegExp(value)) {
+	      // Make RegExps say that they are RegExps
+	      base = RegExpPrototypeToString(
+	        constructor !== null ? value : new RegExp(value),
+	      );
+	      const prefix = getPrefix(constructor, tag, 'RegExp');
+	      if (prefix !== 'RegExp ')
+	        base = `${prefix}${base}`;
+	      if ((keys.length === 0 && protoProps === undefined) ||
+	          (recurseTimes > ctx.depth && ctx.depth !== null)) {
+	        return ctx.stylize(base, 'regexp');
+	      }
+	    } else if (isDate(value)) {
+	      // Make dates with properties first say the date
+	      base = NumberIsNaN(DatePrototypeGetTime(value)) ?
+	        DatePrototypeToString(value) :
+	        DatePrototypeToISOString(value);
+	      const prefix = getPrefix(constructor, tag, 'Date');
+	      if (prefix !== 'Date ')
+	        base = `${prefix}${base}`;
+	      if (keys.length === 0 && protoProps === undefined) {
+	        return ctx.stylize(base, 'date');
+	      }
+	    } else if (isError(value)) {
+	      base = formatError(value, constructor, tag, ctx, keys);
+	      if (keys.length === 0 && protoProps === undefined)
+	        return base;
+	    } else if (isAnyArrayBuffer(value)) {
+	      // Fast path for ArrayBuffer and SharedArrayBuffer.
+	      // Can't do the same for DataView because it has a non-primitive
+	      // .buffer property that we need to recurse for.
+	      const arrayType = isArrayBuffer(value) ? 'ArrayBuffer' :
+	        'SharedArrayBuffer';
+	      const prefix = getPrefix(constructor, tag, arrayType);
+	      if (typedArray === undefined) {
+	        formatter = formatArrayBuffer;
+	      } else if (keys.length === 0 && protoProps === undefined) {
+	        return prefix +
+	              `{ byteLength: ${formatNumber(ctx.stylize, value.byteLength, false)} }`;
+	      }
+	      braces[0] = `${prefix}{`;
+	      ArrayPrototypeUnshift(keys, 'byteLength');
+	    } else if (isDataView(value)) {
+	      braces[0] = `${getPrefix(constructor, tag, 'DataView')}{`;
+	      // .buffer goes last, it's not a primitive like the others.
+	      ArrayPrototypeUnshift(keys, 'byteLength', 'byteOffset', 'buffer');
+	    } else if (isPromise(value)) {
+	      braces[0] = `${getPrefix(constructor, tag, 'Promise')}{`;
+	      formatter = formatPromise;
+	    } else if (isWeakSet(value)) {
+	      braces[0] = `${getPrefix(constructor, tag, 'WeakSet')}{`;
+	      formatter = ctx.showHidden ? formatWeakSet : formatWeakCollection;
+	    } else if (isWeakMap(value)) {
+	      braces[0] = `${getPrefix(constructor, tag, 'WeakMap')}{`;
+	      formatter = ctx.showHidden ? formatWeakMap : formatWeakCollection;
+	    } else if (isModuleNamespaceObject(value)) {
+	      braces[0] = `${getPrefix(constructor, tag, 'Module')}{`;
+	      // Special handle keys for namespace objects.
+	      formatter = formatNamespaceObject.bind(null, keys);
+	    } else if (isBoxedPrimitive(value)) {
+	      base = getBoxedBase(value, ctx, keys, constructor, tag);
+	      if (keys.length === 0 && protoProps === undefined) {
+	        return base;
+	      }
+	    } else {
+	      if (keys.length === 0 && protoProps === undefined) {
+	        if (isExternal(value)) {
+	          const address = getExternalValue(value).toString(16);
+	          return ctx.stylize(`[External: ${address}]`, 'special');
+	        }
+	        return `${getCtxStyle(value, constructor, tag)}{}`;
+	      }
+	      braces[0] = `${getCtxStyle(value, constructor, tag)}{`;
+	    }
+	  }
+
+	  if (recurseTimes > ctx.depth && ctx.depth !== null) {
+	    let constructorName = StringPrototypeSlice(getCtxStyle(value, constructor, tag), 0, -1);
+	    if (constructor !== null)
+	      constructorName = `[${constructorName}]`;
+	    return ctx.stylize(constructorName, 'special');
+	  }
+	  recurseTimes += 1;
+
+	  ctx.seen.push(value);
+	  ctx.currentDepth = recurseTimes;
+	  let output;
+	  const indentationLvl = ctx.indentationLvl;
+	  try {
+	    output = formatter(ctx, value, recurseTimes);
+	    for (i = 0; i < keys.length; i++) {
+	      ArrayPrototypePush(
+	        output,
+	        formatProperty(ctx, value, recurseTimes, keys[i], extrasType),
+	      );
+	    }
+	    if (protoProps !== undefined) {
+	      ArrayPrototypePushApply(output, protoProps);
+	    }
+	  } catch (err) {
+	    const constructorName = StringPrototypeSlice(getCtxStyle(value, constructor, tag), 0, -1);
+	    return handleMaxCallStackSize(ctx, err, constructorName, indentationLvl);
+	  }
+	  if (ctx.circular !== undefined) {
+	    const index = ctx.circular.get(value);
+	    if (index !== undefined) {
+	      const reference = ctx.stylize(`<ref *${index}>`, 'special');
+	      // Add reference always to the very beginning of the output.
+	      if (ctx.compact !== true) {
+	        base = base === '' ? reference : `${reference} ${base}`;
+	      } else {
+	        braces[0] = `${reference} ${braces[0]}`;
+	      }
+	    }
+	  }
+	  ctx.seen.pop();
+
+	  if (ctx.sorted) {
+	    const comparator = ctx.sorted === true ? undefined : ctx.sorted;
+	    if (extrasType === kObjectType) {
+	      ArrayPrototypeSort(output, comparator);
+	    } else if (keys.length > 1) {
+	      const sorted = ArrayPrototypeSort(ArrayPrototypeSlice(output, output.length - keys.length), comparator);
+	      ArrayPrototypeUnshift(sorted, output, output.length - keys.length, keys.length);
+	      ReflectApply(ArrayPrototypeSplice, null, sorted);
+	    }
+	  }
+
+	  const res = reduceToSingleString(
+	    ctx, output, base, braces, extrasType, recurseTimes, value);
+	  const budget = ctx.budget[ctx.indentationLvl] || 0;
+	  const newLength = budget + res.length;
+	  ctx.budget[ctx.indentationLvl] = newLength;
+	  // If any indentationLvl exceeds this limit, limit further inspecting to the
+	  // minimum. Otherwise the recursive algorithm might continue inspecting the
+	  // object even though the maximum string size (~2 ** 28 on 32 bit systems and
+	  // ~2 ** 30 on 64 bit systems) exceeded. The actual output is not limited at
+	  // exactly 2 ** 27 but a bit higher. This depends on the object shape.
+	  // This limit also makes sure that huge objects don't block the event loop
+	  // significantly.
+	  if (newLength > 2 ** 27) {
+	    ctx.depth = -1;
+	  }
+	  return res;
+	}
+
+	function getIteratorBraces(type, tag) {
+	  if (tag !== `${type} Iterator`) {
+	    if (tag !== '')
+	      tag += '] [';
+	    tag += `${type} Iterator`;
+	  }
+	  return [`[${tag}] {`, '}'];
+	}
+
+	function getBoxedBase(value, ctx, keys, constructor, tag) {
+	  let fn;
+	  let type;
+	  if (isNumberObject(value)) {
+	    fn = NumberPrototypeValueOf;
+	    type = 'Number';
+	  } else if (isStringObject(value)) {
+	    fn = StringPrototypeValueOf;
+	    type = 'String';
+	    // For boxed Strings, we have to remove the 0-n indexed entries,
+	    // since they just noisy up the output and are redundant
+	    // Make boxed primitive Strings look like such
+	    keys.splice(0, value.length);
+	  } else if (isBooleanObject(value)) {
+	    fn = BooleanPrototypeValueOf;
+	    type = 'Boolean';
+	  } else if (isBigIntObject(value)) {
+	    fn = BigIntPrototypeValueOf;
+	    type = 'BigInt';
+	  } else {
+	    fn = SymbolPrototypeValueOf;
+	    type = 'Symbol';
+	  }
+	  let base = `[${type}`;
+	  if (type !== constructor) {
+	    if (constructor === null) {
+	      base += ' (null prototype)';
+	    } else {
+	      base += ` (${constructor})`;
+	    }
+	  }
+	  base += `: ${formatPrimitive(stylizeNoColor, fn(value), ctx)}]`;
+	  if (tag !== '' && tag !== constructor) {
+	    base += ` [${tag}]`;
+	  }
+	  if (keys.length !== 0 || ctx.stylize === stylizeNoColor)
+	    return base;
+	  return ctx.stylize(base, StringPrototypeToLowerCase(type));
+	}
+
+	function getClassBase(value, constructor, tag) {
+	  const hasName = ObjectPrototypeHasOwnProperty(value, 'name');
+	  const name = (hasName && value.name) || '(anonymous)';
+	  let base = `class ${name}`;
+	  if (constructor !== 'Function' && constructor !== null) {
+	    base += ` [${constructor}]`;
+	  }
+	  if (tag !== '' && constructor !== tag) {
+	    base += ` [${tag}]`;
+	  }
+	  if (constructor !== null) {
+	    const superName = ObjectGetPrototypeOf(value).name;
+	    if (superName) {
+	      base += ` extends ${superName}`;
+	    }
+	  } else {
+	    base += ' extends [null prototype]';
+	  }
+	  return `[${base}]`;
+	}
+
+	function getFunctionBase(value, constructor, tag) {
+	  const stringified = FunctionPrototypeToString(value);
+	  if (StringPrototypeStartsWith(stringified, 'class') && StringPrototypeEndsWith(stringified, '}')) {
+	    const slice = StringPrototypeSlice(stringified, 5, -1);
+	    const bracketIndex = StringPrototypeIndexOf(slice, '{');
+	    if (bracketIndex !== -1 &&
+	        (!StringPrototypeIncludes(StringPrototypeSlice(slice, 0, bracketIndex), '(') ||
+	        // Slow path to guarantee that it's indeed a class.
+	        RegExpPrototyp
Download .txt
gitextract_rflx3xp8/

├── .dockerignore
├── .editorconfig
├── .gitattributes
├── .github/
│   ├── FUNDING.yml
│   ├── publish.js
│   ├── renovate.json
│   └── workflows/
│       ├── asan.yml
│       ├── cleanup-cache.yml
│       ├── docker.yaml
│       ├── memory-test.yml
│       ├── release-crates.yml
│       ├── test-release.yaml
│       └── zig.yaml
├── .gitignore
├── .husky/
│   ├── .gitignore
│   └── pre-commit
├── .npmignore
├── .oxlintignore
├── .prettierignore
├── .yarn/
│   ├── patches/
│   │   ├── buffer-npm-6.0.3-cd90dfedfe.patch
│   │   └── node-inspect-extracted-npm-3.0.0-f661b6c334.patch
│   └── releases/
│       └── yarn-4.13.0.cjs
├── .yarnrc.yml
├── CLAUDE.md
├── CODE_OF_CONDUCT.md
├── Cargo.toml
├── LICENSE
├── SECURITY.md
├── alpine-zig.Dockerfile
├── alpine.Dockerfile
├── bench/
│   ├── Cargo.toml
│   ├── async.bench.ts
│   ├── buffer.bench.ts
│   ├── build.rs
│   ├── create-array.bench.ts
│   ├── get-array-from-js.bench.ts
│   ├── get-set-property.bench.ts
│   ├── noop.bench.ts
│   ├── package.json
│   ├── plus.bench.ts
│   ├── query.bench.ts
│   ├── src/
│   │   ├── async_compute.rs
│   │   ├── buffer.rs
│   │   ├── create_array.rs
│   │   ├── get_set_property.rs
│   │   ├── get_value_from_js.rs
│   │   ├── lib.rs
│   │   ├── noop.rs
│   │   ├── plus.rs
│   │   └── query.rs
│   ├── tsconfig.json
│   └── vite.config.ts
├── cli/
│   ├── .npmignore
│   ├── CHANGELOG.md
│   ├── LICENSE
│   ├── README.md
│   ├── cli.mjs
│   ├── codegen/
│   │   ├── commands.ts
│   │   └── index.ts
│   ├── docs/
│   │   ├── artifacts.md
│   │   ├── build.md
│   │   ├── create-npm-dirs.md
│   │   ├── new.md
│   │   ├── pre-publish.md
│   │   ├── rename.md
│   │   ├── universalize.md
│   │   └── version.md
│   ├── e2e/
│   │   └── cli.spec.ts
│   ├── package.json
│   ├── src/
│   │   ├── api/
│   │   │   ├── __tests__/
│   │   │   │   ├── build.spec.ts
│   │   │   │   ├── create-npm-dirs.spec.ts
│   │   │   │   └── new.spec.ts
│   │   │   ├── artifacts.ts
│   │   │   ├── build.ts
│   │   │   ├── create-npm-dirs.ts
│   │   │   ├── new.ts
│   │   │   ├── pre-publish.ts
│   │   │   ├── rename.ts
│   │   │   ├── templates/
│   │   │   │   ├── index.ts
│   │   │   │   ├── js-binding.ts
│   │   │   │   ├── load-wasi-template.ts
│   │   │   │   └── wasi-worker-template.ts
│   │   │   ├── universalize.ts
│   │   │   └── version.ts
│   │   ├── cli.ts
│   │   ├── commands/
│   │   │   ├── artifacts.ts
│   │   │   ├── build.ts
│   │   │   ├── cli-version.ts
│   │   │   ├── create-npm-dirs.ts
│   │   │   ├── help.ts
│   │   │   ├── new.ts
│   │   │   ├── pre-publish.ts
│   │   │   ├── rename.ts
│   │   │   ├── universalize.ts
│   │   │   └── version.ts
│   │   ├── def/
│   │   │   ├── artifacts.ts
│   │   │   ├── build.ts
│   │   │   ├── create-npm-dirs.ts
│   │   │   ├── new.ts
│   │   │   ├── pre-publish.ts
│   │   │   ├── rename.ts
│   │   │   ├── universalize.ts
│   │   │   └── version.ts
│   │   ├── index.ts
│   │   └── utils/
│   │       ├── __tests__/
│   │       │   ├── __fixtures__/
│   │       │   │   └── napi_type_def
│   │       │   ├── __snapshots__/
│   │       │   │   ├── config.spec.ts.md
│   │       │   │   ├── config.spec.ts.snap
│   │       │   │   ├── target.spec.ts.md
│   │       │   │   ├── target.spec.ts.snap
│   │       │   │   ├── typegen.spec.ts.md
│   │       │   │   ├── typegen.spec.ts.snap
│   │       │   │   ├── version.spec.ts.md
│   │       │   │   └── version.spec.ts.snap
│   │       │   ├── config.spec.ts
│   │       │   ├── target.spec.ts
│   │       │   ├── typegen.spec.ts
│   │       │   └── version.spec.ts
│   │       ├── cargo.ts
│   │       ├── config.ts
│   │       ├── index.ts
│   │       ├── log.ts
│   │       ├── metadata.ts
│   │       ├── misc.ts
│   │       ├── read-config.ts
│   │       ├── target.ts
│   │       ├── typegen.ts
│   │       └── version.ts
│   ├── tsconfig.json
│   └── tsdown.config.ts
├── crates/
│   ├── backend/
│   │   ├── CHANGELOG.md
│   │   ├── Cargo.toml
│   │   ├── README.md
│   │   └── src/
│   │       ├── ast.rs
│   │       ├── codegen/
│   │       │   ├── const.rs
│   │       │   ├── enum.rs
│   │       │   ├── fn.rs
│   │       │   ├── struct.rs
│   │       │   └── type.rs
│   │       ├── codegen.rs
│   │       ├── error.rs
│   │       ├── lib.rs
│   │       ├── typegen/
│   │       │   ├── const.rs
│   │       │   ├── enum.rs
│   │       │   ├── fn.rs
│   │       │   ├── struct.rs
│   │       │   └── type.rs
│   │       ├── typegen.rs
│   │       └── util.rs
│   ├── build/
│   │   ├── CHANGELOG.md
│   │   ├── Cargo.toml
│   │   ├── README.md
│   │   └── src/
│   │       ├── android.rs
│   │       ├── lib.rs
│   │       ├── wasi.rs
│   │       └── windows.rs
│   ├── macro/
│   │   ├── CHANGELOG.md
│   │   ├── Cargo.toml
│   │   ├── README.md
│   │   └── src/
│   │       ├── compat_macro.rs
│   │       ├── expand/
│   │       │   ├── napi.rs
│   │       │   ├── noop.rs
│   │       │   ├── typedef/
│   │       │   │   ├── noop.rs
│   │       │   │   └── type_def.rs
│   │       │   └── typedef.rs
│   │       ├── expand.rs
│   │       ├── lib.rs
│   │       └── parser/
│   │           ├── attrs.rs
│   │           └── mod.rs
│   ├── napi/
│   │   ├── CHANGELOG.md
│   │   ├── Cargo.toml
│   │   ├── README.md
│   │   ├── build.rs
│   │   └── src/
│   │       ├── async_cleanup_hook.rs
│   │       ├── async_work.rs
│   │       ├── bindgen_runtime/
│   │       │   ├── async_iterator.rs
│   │       │   ├── callback_info.rs
│   │       │   ├── env.rs
│   │       │   ├── error.rs
│   │       │   ├── iterator.rs
│   │       │   ├── js_values/
│   │       │   │   ├── array.rs
│   │       │   │   ├── arraybuffer.rs
│   │       │   │   ├── bigint.rs
│   │       │   │   ├── boolean.rs
│   │       │   │   ├── buffer.rs
│   │       │   │   ├── class.rs
│   │       │   │   ├── date.rs
│   │       │   │   ├── either.rs
│   │       │   │   ├── external.rs
│   │       │   │   ├── function.rs
│   │       │   │   ├── map.rs
│   │       │   │   ├── nil.rs
│   │       │   │   ├── number.rs
│   │       │   │   ├── object.rs
│   │       │   │   ├── promise.rs
│   │       │   │   ├── promise_raw.rs
│   │       │   │   ├── scope.rs
│   │       │   │   ├── serde.rs
│   │       │   │   ├── set.rs
│   │       │   │   ├── stream/
│   │       │   │   │   ├── read.rs
│   │       │   │   │   └── write.rs
│   │       │   │   ├── stream.rs
│   │       │   │   ├── string.rs
│   │       │   │   ├── symbol.rs
│   │       │   │   ├── task.rs
│   │       │   │   └── value_ref.rs
│   │       │   ├── js_values.rs
│   │       │   ├── mod.rs
│   │       │   └── module_register.rs
│   │       ├── call_context.rs
│   │       ├── cleanup_env.rs
│   │       ├── env.rs
│   │       ├── error.rs
│   │       ├── js_values/
│   │       │   ├── arraybuffer.rs
│   │       │   ├── bigint.rs
│   │       │   ├── boolean.rs
│   │       │   ├── buffer.rs
│   │       │   ├── date.rs
│   │       │   ├── de.rs
│   │       │   ├── deferred.rs
│   │       │   ├── either.rs
│   │       │   ├── external.rs
│   │       │   ├── function.rs
│   │       │   ├── global.rs
│   │       │   ├── mod.rs
│   │       │   ├── null.rs
│   │       │   ├── number.rs
│   │       │   ├── object.rs
│   │       │   ├── object_property.rs
│   │       │   ├── ser.rs
│   │       │   ├── string/
│   │       │   │   ├── latin1.rs
│   │       │   │   ├── mod.rs
│   │       │   │   ├── utf16.rs
│   │       │   │   └── utf8.rs
│   │       │   ├── symbol.rs
│   │       │   ├── tagged_object.rs
│   │       │   ├── undefined.rs
│   │       │   ├── unknown.rs
│   │       │   ├── value.rs
│   │       │   └── value_ref.rs
│   │       ├── lib.rs
│   │       ├── sendable_resolver.rs
│   │       ├── status.rs
│   │       ├── task.rs
│   │       ├── threadsafe_function.rs
│   │       ├── tokio_runtime.rs
│   │       ├── value_type.rs
│   │       └── version.rs
│   └── sys/
│       ├── CHANGELOG.md
│       ├── Cargo.toml
│       ├── LICENSE
│       ├── README.md
│       └── src/
│           ├── functions.rs
│           ├── lib.rs
│           └── types.rs
├── debian-aarch64.Dockerfile
├── debian-zig.Dockerfile
├── debian.Dockerfile
├── examples/
│   ├── binary/
│   │   ├── .gitignore
│   │   ├── Cargo.toml
│   │   ├── package.json
│   │   ├── src/
│   │   │   └── main.rs
│   │   └── tsconfig.json
│   ├── napi/
│   │   ├── .gitignore
│   │   ├── Cargo.toml
│   │   ├── __tests__/
│   │   │   ├── __snapshots__/
│   │   │   │   ├── typegen.spec.ts.md
│   │   │   │   ├── typegen.spec.ts.snap
│   │   │   │   ├── values.spec.ts.md
│   │   │   │   └── values.spec.ts.snap
│   │   │   ├── async-exit.js
│   │   │   ├── async-exit.spec.ts
│   │   │   ├── async-generator-gc.spec.ts
│   │   │   ├── bun-test.js
│   │   │   ├── error-msg.spec.ts
│   │   │   ├── generator.spec.ts
│   │   │   ├── hidden-property.spec.ts
│   │   │   ├── issue-3119-repro.spec.ts
│   │   │   ├── object-attr.spec.ts
│   │   │   ├── property-names.spec.ts
│   │   │   ├── strict.spec.ts
│   │   │   ├── test.framework.js
│   │   │   ├── tsfn-error.cjs
│   │   │   ├── unload.spec.js
│   │   │   ├── values.spec.ts
│   │   │   ├── worker-thread.spec.ts
│   │   │   └── worker.js
│   │   ├── browser/
│   │   │   └── values.spec.ts
│   │   ├── browser.js
│   │   ├── build.rs
│   │   ├── dts-header.d.ts
│   │   ├── electron-renderer/
│   │   │   ├── index.html
│   │   │   └── index.js
│   │   ├── electron.cjs
│   │   ├── example.wasi-browser.js
│   │   ├── example.wasi.cjs
│   │   ├── index.cjs
│   │   ├── index.d.cts
│   │   ├── index.html
│   │   ├── memory-test.ts
│   │   ├── package.json
│   │   ├── src/
│   │   │   ├── array.rs
│   │   │   ├── async.rs
│   │   │   ├── async_generator_repro.rs
│   │   │   ├── bigint.rs
│   │   │   ├── callback.rs
│   │   │   ├── class.rs
│   │   │   ├── class_factory.rs
│   │   │   ├── constructor.rs
│   │   │   ├── date.rs
│   │   │   ├── either.rs
│   │   │   ├── enum.rs
│   │   │   ├── env.rs
│   │   │   ├── error.rs
│   │   │   ├── external.rs
│   │   │   ├── fetch.rs
│   │   │   ├── fn_return_if_invalid.rs
│   │   │   ├── fn_strict.rs
│   │   │   ├── fn_ts_override.rs
│   │   │   ├── function.rs
│   │   │   ├── generator.rs
│   │   │   ├── js_mod.rs
│   │   │   ├── lib.rs
│   │   │   ├── lifetime.rs
│   │   │   ├── map.rs
│   │   │   ├── nullable.rs
│   │   │   ├── number.rs
│   │   │   ├── object.rs
│   │   │   ├── promise.rs
│   │   │   ├── reference.rs
│   │   │   ├── scope.rs
│   │   │   ├── serde.rs
│   │   │   ├── set.rs
│   │   │   ├── shared.rs
│   │   │   ├── stream.rs
│   │   │   ├── string.rs
│   │   │   ├── symbol.rs
│   │   │   ├── task.rs
│   │   │   ├── threadsafe_function.rs
│   │   │   ├── transparent.rs
│   │   │   ├── type.rs
│   │   │   ├── typed_array.rs
│   │   │   └── wasm.rs
│   │   ├── tests/
│   │   │   ├── README.md
│   │   │   ├── build_error_tests/
│   │   │   │   ├── assign_js_value_to_class.rs
│   │   │   │   ├── assign_js_value_to_class.stderr
│   │   │   │   ├── fn_outside_impl_factory.rs
│   │   │   │   ├── fn_outside_impl_factory.stderr
│   │   │   │   ├── mod.rs
│   │   │   │   ├── ts_arg_type_1.rs
│   │   │   │   ├── ts_arg_type_1.stderr
│   │   │   │   ├── ts_arg_type_2.rs
│   │   │   │   ├── ts_arg_type_2.stderr
│   │   │   │   ├── ts_arg_type_3.rs
│   │   │   │   ├── ts_arg_type_3.stderr
│   │   │   │   ├── ts_arg_type_4.rs
│   │   │   │   └── ts_arg_type_4.stderr
│   │   │   └── macro_tests.rs
│   │   ├── tsconfig.json
│   │   ├── vite-entry.js
│   │   ├── vite.config.js
│   │   ├── wasi-worker-browser.mjs
│   │   └── wasi-worker.mjs
│   ├── napi-cargo-test/
│   │   ├── CHANGELOG.md
│   │   ├── Cargo.toml
│   │   └── src/
│   │       └── lib.rs
│   ├── napi-compat-mode/
│   │   ├── Cargo.toml
│   │   ├── __tests__/
│   │   │   ├── __snapshots__/
│   │   │   │   ├── object.spec.ts.md
│   │   │   │   ├── object.spec.ts.snap
│   │   │   │   ├── string.spec.ts.md
│   │   │   │   └── string.spec.ts.snap
│   │   │   ├── array.spec.ts
│   │   │   ├── arraybuffer.spec.ts
│   │   │   ├── buffer.spec.ts
│   │   │   ├── class.spec.ts
│   │   │   ├── cleanup-env.spec.ts
│   │   │   ├── create-external.spec.ts
│   │   │   ├── either.spec.ts
│   │   │   ├── env.spec.ts
│   │   │   ├── function.spec.ts
│   │   │   ├── get-napi-version.spec.ts
│   │   │   ├── global.spec.ts
│   │   │   ├── js-value.spec.ts
│   │   │   ├── napi-version.ts
│   │   │   ├── napi4/
│   │   │   │   ├── deferred.spec.ts
│   │   │   │   ├── example.txt
│   │   │   │   ├── threadsafe_function.spec.ts
│   │   │   │   ├── tokio_readfile.spec.ts
│   │   │   │   ├── tokio_rt.spec.ts
│   │   │   │   ├── tsfn-dua-instance.js
│   │   │   │   ├── tsfn-throw.js
│   │   │   │   └── tsfn_error.spec.ts
│   │   │   ├── napi5/
│   │   │   │   └── date.spec.ts
│   │   │   ├── napi6/
│   │   │   │   ├── bigint.spec.ts
│   │   │   │   └── instance-data.spec.ts
│   │   │   ├── napi7/
│   │   │   │   └── arraybuffer.spec.ts
│   │   │   ├── napi8/
│   │   │   │   ├── async-cleanup.spec.ts
│   │   │   │   ├── object.spec.ts
│   │   │   │   ├── sub-process-removable.js
│   │   │   │   └── sub-process.js
│   │   │   ├── object.spec.ts
│   │   │   ├── serde/
│   │   │   │   ├── __snapshots__/
│   │   │   │   │   ├── ser.spec.ts.md
│   │   │   │   │   └── ser.spec.ts.snap
│   │   │   │   ├── de.spec.ts
│   │   │   │   ├── ser.spec.ts
│   │   │   │   ├── ser.spec.ts.md
│   │   │   │   ├── ser.spec.ts.snap
│   │   │   │   └── serde-json.spec.ts
│   │   │   ├── string.spec.ts
│   │   │   ├── symbol.spec.ts
│   │   │   └── throw.spec.ts
│   │   ├── browser.js
│   │   ├── build.rs
│   │   ├── index.wasi-browser.js
│   │   ├── index.wasi.cjs
│   │   ├── package.json
│   │   ├── src/
│   │   │   ├── array.rs
│   │   │   ├── arraybuffer.rs
│   │   │   ├── buffer.rs
│   │   │   ├── class.rs
│   │   │   ├── cleanup_env.rs
│   │   │   ├── either.rs
│   │   │   ├── env.rs
│   │   │   ├── error.rs
│   │   │   ├── external.rs
│   │   │   ├── function.rs
│   │   │   ├── global.rs
│   │   │   ├── lib.rs
│   │   │   ├── napi4/
│   │   │   │   ├── deferred.rs
│   │   │   │   ├── mod.rs
│   │   │   │   ├── tsfn.rs
│   │   │   │   └── tsfn_dua_instance.rs
│   │   │   ├── napi5/
│   │   │   │   ├── date.rs
│   │   │   │   └── mod.rs
│   │   │   ├── napi6/
│   │   │   │   ├── bigint.rs
│   │   │   │   ├── instance.rs
│   │   │   │   └── mod.rs
│   │   │   ├── napi7/
│   │   │   │   ├── buffer.rs
│   │   │   │   └── mod.rs
│   │   │   ├── napi8/
│   │   │   │   ├── async_cleanup.rs
│   │   │   │   ├── mod.rs
│   │   │   │   └── object.rs
│   │   │   ├── napi_version.rs
│   │   │   ├── object.rs
│   │   │   ├── serde.rs
│   │   │   ├── string.rs
│   │   │   ├── symbol.rs
│   │   │   └── tokio_rt/
│   │   │       ├── mod.rs
│   │   │       └── read_file.rs
│   │   ├── tsconfig.json
│   │   ├── wasi-worker-browser.mjs
│   │   └── wasi-worker.mjs
│   └── napi-shared/
│       ├── Cargo.toml
│       ├── build.rs
│       └── src/
│           └── lib.rs
├── lerna.json
├── memory-testing/
│   ├── Cargo.toml
│   ├── buffer.mjs
│   ├── build.rs
│   ├── index.mjs
│   ├── package.json
│   ├── reference.mjs
│   ├── returns-future.mjs
│   ├── serde.mjs
│   ├── src/
│   │   └── lib.rs
│   ├── test-util.mjs
│   ├── tokio-future.mjs
│   ├── tsconfig.json
│   ├── tsfn.mjs
│   └── util.mjs
├── oxlint.json
├── package.json
├── rustfmt.toml
├── triples/
│   ├── CHANGELOG.md
│   ├── LICENSE
│   ├── README.md
│   ├── generate-triple-list.ts
│   ├── index.cjs
│   ├── index.d.ts
│   ├── index.js
│   ├── package.json
│   ├── target-list
│   └── tsconfig.json
├── tsconfig.json
└── wasm-runtime/
    ├── CHANGELOG.md
    ├── assert.cjs
    ├── fs-proxy.js
    ├── fs-proxy.test.js
    ├── fs.js
    ├── package.json
    ├── rollup.config.js
    ├── runtime.cjs
    ├── runtime.js
    └── util.js
Download .txt
Showing preview only (865K chars total). Download the full file or copy to clipboard to get everything.
SYMBOL INDEX (9209 symbols across 280 files)

FILE: .yarn/releases/yarn-4.13.0.cjs
  function wc (line 4) | function wc(e,t){return Object.assign(new Error(`${e}: ${t}`),{code:e})}
  function Cje (line 4) | function Cje(e){return wc("EBUSY",e)}
  function wje (line 4) | function wje(e,t){return wc("ENOSYS",`${e}, ${t}`)}
  function Bje (line 4) | function Bje(e){return wc("EINVAL",`invalid argument, ${e}`)}
  function Go (line 4) | function Go(e){return wc("EBADF",`bad file descriptor, ${e}`)}
  function vje (line 4) | function vje(e){return wc("ENOENT",`no such file or directory, ${e}`)}
  function Sje (line 4) | function Sje(e){return wc("ENOTDIR",`not a directory, ${e}`)}
  function Dje (line 4) | function Dje(e){return wc("EISDIR",`illegal operation on a directory, ${...
  function bje (line 4) | function bje(e){return wc("EEXIST",`file already exists, ${e}`)}
  function Pje (line 4) | function Pje(e){return wc("EROFS",`read-only filesystem, ${e}`)}
  function xje (line 4) | function xje(e){return wc("ENOTEMPTY",`directory not empty, ${e}`)}
  function kje (line 4) | function kje(e){return wc("EOPNOTSUPP",`operation not supported, ${e}`)}
  function rU (line 4) | function rU(){return wc("ERR_DIR_CLOSED","Directory handle was closed")}
  function uX (line 4) | function uX(){return new oE}
  function Qje (line 4) | function Qje(){return ZP(uX())}
  function ZP (line 4) | function ZP(e){for(let t in e)if(Object.hasOwn(e,t)){let r=e[t];typeof r...
  function Rje (line 4) | function Rje(e){let t=new aE;for(let r in e)if(Object.hasOwn(e,r)){let s...
  function oU (line 4) | function oU(e,t){if(e.atimeMs!==t.atimeMs||e.birthtimeMs!==t.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 Lje (line 4) | function Lje(e){let t,r;if(t=e.match(Nje))e=t[1];else if(r=e.match(Oje))...
  function Mje (line 4) | function Mje(e){e=e.replace(/\\/g,"/");let t,r;return(t=e.match(Tje))?e=...
  function XP (line 4) | function XP(e,t){return e===fe?AX(t):lU(t)}
  function $P (line 4) | async function $P(e,t){let r="0123456789abcdef";await e.mkdirPromise(t.i...
  function pX (line 4) | async function pX(e,t,r,s,a){let n=e.pathUtils.normalize(t),c=r.pathUtil...
  function cU (line 4) | async function cU(e,t,r,s,a,n,c){let f=c.didParentExist?await hX(r,s):nu...
  function hX (line 4) | async function hX(e,t){try{return await e.lstatPromise(t)}catch{return n...
  function _je (line 4) | async function _je(e,t,r,s,a,n,c,f,p){if(a!==null&&!a.isDirectory())if(p...
  function Hje (line 4) | async function Hje(e,t,r,s,a,n,c,f,p,h){let E=await n.checksumFilePromis...
  function jje (line 4) | async function jje(e,t,r,s,a,n,c,f,p){if(a!==null)if(p.overwrite)e.push(...
  function Gje (line 4) | async function Gje(e,t,r,s,a,n,c,f,p){return p.linkStrategy?.type==="Har...
  function qje (line 4) | async function qje(e,t,r,s,a,n,c,f,p){if(a!==null)if(p.overwrite)e.push(...
  function ex (line 4) | function ex(e,t,r,s){let a=()=>{let n=r.shift();if(typeof n>"u")return n...
  method constructor (line 4) | constructor(t,r,s={}){this.path=t;this.nextDirent=r;this.opts=s;this.clo...
  method throwIfClosed (line 4) | throwIfClosed(){if(this.closed)throw rU()}
  method [Symbol.asyncIterator] (line 4) | async*[Symbol.asyncIterator](){try{let t;for(;(t=await this.read())!==nu...
  method read (line 4) | read(t){let r=this.readSync();return typeof t<"u"?t(null,r):Promise.reso...
  method readSync (line 4) | readSync(){return this.throwIfClosed(),this.nextDirent()}
  method close (line 4) | close(t){return this.closeSync(),typeof t<"u"?t(null):Promise.resolve()}
  method closeSync (line 4) | closeSync(){this.throwIfClosed(),this.opts.onClose?.(),this.closed=!0}
  function dX (line 4) | function dX(e,t){if(e!==t)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 e(r,s,a);return n.start(),n}
  method start (line 4) | start(){dX(this.status,"ready"),this.status="running",this.startTimeout=...
  method stop (line 4) | stop(){dX(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 lE (line 4) | function lE(e,t,r,s){let a,n,c,f;switch(typeof r){case"function":a=!1,n=...
  function gd (line 4) | function gd(e,t,r){let s=rx.get(e);if(typeof s>"u")return;let a=s.get(t)...
  function dd (line 4) | function dd(e){let t=rx.get(e);if(!(typeof t>"u"))for(let r of t.keys())...
  function Wje (line 4) | function Wje(e){let t=e.match(/\r?\n/g);if(t===null)return IX.EOL;let r=...
  function md (line 7) | function md(e,t){return t.replace(/\r?\n/g,Wje(e))}
  method constructor (line 7) | constructor(t){this.pathUtils=t}
  method genTraversePromise (line 7) | async*genTraversePromise(t,{stableSort:r=!1}={}){let s=[t];for(;s.length...
  method checksumFilePromise (line 7) | async checksumFilePromise(t,{algorithm:r="sha512"}={}){let s=await this....
  method removePromise (line 7) | async removePromise(t,{recursive:r=!0,maxRetries:s=5}={}){let a;try{a=aw...
  method removeSync (line 7) | removeSync(t,{recursive:r=!0}={}){let s;try{s=this.lstatSync(t)}catch(a)...
  method mkdirpPromise (line 7) | async mkdirpPromise(t,{chmod:r,utimes:s}={}){if(t=this.resolve(t),t===th...
  method mkdirpSync (line 7) | mkdirpSync(t,{chmod:r,utimes:s}={}){if(t=this.resolve(t),t===this.pathUt...
  method copyPromise (line 7) | async copyPromise(t,r,{baseFs:s=this,overwrite:a=!0,stableSort:n=!1,stab...
  method copySync (line 7) | copySync(t,r,{baseFs:s=this,overwrite:a=!0}={}){let n=s.lstatSync(r),c=t...
  method changeFilePromise (line 7) | async changeFilePromise(t,r,s={}){return Buffer.isBuffer(r)?this.changeF...
  method changeFileBufferPromise (line 7) | async changeFileBufferPromise(t,r,{mode:s}={}){let a=Buffer.alloc(0);try...
  method changeFileTextPromise (line 7) | async changeFileTextPromise(t,r,{automaticNewlines:s,mode:a}={}){let n="...
  method changeFileSync (line 7) | changeFileSync(t,r,s={}){return Buffer.isBuffer(r)?this.changeFileBuffer...
  method changeFileBufferSync (line 7) | changeFileBufferSync(t,r,{mode:s}={}){let a=Buffer.alloc(0);try{a=this.r...
  method changeFileTextSync (line 7) | changeFileTextSync(t,r,{automaticNewlines:s=!1,mode:a}={}){let n="";try{...
  method movePromise (line 7) | async movePromise(t,r){try{await this.renamePromise(t,r)}catch(s){if(s.c...
  method moveSync (line 7) | moveSync(t,r){try{this.renameSync(t,r)}catch(s){if(s.code==="EXDEV")this...
  method lockPromise (line 7) | async lockPromise(t,r){let s=`${t}.flock`,a=1e3/60,n=Date.now(),c=null,f...
  method readJsonPromise (line 7) | async readJsonPromise(t){let r=await this.readFilePromise(t,"utf8");try{...
  method readJsonSync (line 7) | readJsonSync(t){let r=this.readFileSync(t,"utf8");try{return JSON.parse(...
  method writeJsonPromise (line 7) | async writeJsonPromise(t,r,{compact:s=!1}={}){let a=s?0:2;return await t...
  method writeJsonSync (line 8) | writeJsonSync(t,r,{compact:s=!1}={}){let a=s?0:2;return this.writeFileSy...
  method preserveTimePromise (line 9) | async preserveTimePromise(t,r){let s=await this.lstatPromise(t),a=await ...
  method preserveTimeSync (line 9) | async preserveTimeSync(t,r){let s=this.lstatSync(t),a=r();typeof a<"u"&&...
  method constructor (line 9) | constructor(){super(K)}
  method getExtractHint (line 9) | getExtractHint(t){return this.baseFs.getExtractHint(t)}
  method resolve (line 9) | resolve(t){return this.mapFromBase(this.baseFs.resolve(this.mapToBase(t)))}
  method getRealPath (line 9) | getRealPath(){return this.mapFromBase(this.baseFs.getRealPath())}
  method openPromise (line 9) | async openPromise(t,r,s){return this.baseFs.openPromise(this.mapToBase(t...
  method openSync (line 9) | openSync(t,r,s){return this.baseFs.openSync(this.mapToBase(t),r,s)}
  method opendirPromise (line 9) | async opendirPromise(t,r){return Object.assign(await this.baseFs.opendir...
  method opendirSync (line 9) | opendirSync(t,r){return Object.assign(this.baseFs.opendirSync(this.mapTo...
  method readPromise (line 9) | async readPromise(t,r,s,a,n){return await this.baseFs.readPromise(t,r,s,...
  method readSync (line 9) | readSync(t,r,s,a,n){return this.baseFs.readSync(t,r,s,a,n)}
  method writePromise (line 9) | async writePromise(t,r,s,a,n){return typeof r=="string"?await this.baseF...
  method writeSync (line 9) | writeSync(t,r,s,a,n){return typeof r=="string"?this.baseFs.writeSync(t,r...
  method closePromise (line 9) | async closePromise(t){return this.baseFs.closePromise(t)}
  method closeSync (line 9) | closeSync(t){this.baseFs.closeSync(t)}
  method createReadStream (line 9) | createReadStream(t,r){return this.baseFs.createReadStream(t!==null?this....
  method createWriteStream (line 9) | createWriteStream(t,r){return this.baseFs.createWriteStream(t!==null?thi...
  method realpathPromise (line 9) | async realpathPromise(t){return this.mapFromBase(await this.baseFs.realp...
  method realpathSync (line 9) | realpathSync(t){return this.mapFromBase(this.baseFs.realpathSync(this.ma...
  method existsPromise (line 9) | async existsPromise(t){return this.baseFs.existsPromise(this.mapToBase(t))}
  method existsSync (line 9) | existsSync(t){return this.baseFs.existsSync(this.mapToBase(t))}
  method accessSync (line 9) | accessSync(t,r){return this.baseFs.accessSync(this.mapToBase(t),r)}
  method accessPromise (line 9) | async accessPromise(t,r){return this.baseFs.accessPromise(this.mapToBase...
  method statPromise (line 9) | async statPromise(t,r){return this.baseFs.statPromise(this.mapToBase(t),r)}
  method statSync (line 9) | statSync(t,r){return this.baseFs.statSync(this.mapToBase(t),r)}
  method fstatPromise (line 9) | async fstatPromise(t,r){return this.baseFs.fstatPromise(t,r)}
  method fstatSync (line 9) | fstatSync(t,r){return this.baseFs.fstatSync(t,r)}
  method lstatPromise (line 9) | lstatPromise(t,r){return this.baseFs.lstatPromise(this.mapToBase(t),r)}
  method lstatSync (line 9) | lstatSync(t,r){return this.baseFs.lstatSync(this.mapToBase(t),r)}
  method fchmodPromise (line 9) | async fchmodPromise(t,r){return this.baseFs.fchmodPromise(t,r)}
  method fchmodSync (line 9) | fchmodSync(t,r){return this.baseFs.fchmodSync(t,r)}
  method chmodPromise (line 9) | async chmodPromise(t,r){return this.baseFs.chmodPromise(this.mapToBase(t...
  method chmodSync (line 9) | chmodSync(t,r){return this.baseFs.chmodSync(this.mapToBase(t),r)}
  method fchownPromise (line 9) | async fchownPromise(t,r,s){return this.baseFs.fchownPromise(t,r,s)}
  method fchownSync (line 9) | fchownSync(t,r,s){return this.baseFs.fchownSync(t,r,s)}
  method chownPromise (line 9) | async chownPromise(t,r,s){return this.baseFs.chownPromise(this.mapToBase...
  method chownSync (line 9) | chownSync(t,r,s){return this.baseFs.chownSync(this.mapToBase(t),r,s)}
  method renamePromise (line 9) | async renamePromise(t,r){return this.baseFs.renamePromise(this.mapToBase...
  method renameSync (line 9) | renameSync(t,r){return this.baseFs.renameSync(this.mapToBase(t),this.map...
  method copyFilePromise (line 9) | async copyFilePromise(t,r,s=0){return this.baseFs.copyFilePromise(this.m...
  method copyFileSync (line 9) | copyFileSync(t,r,s=0){return this.baseFs.copyFileSync(this.mapToBase(t),...
  method appendFilePromise (line 9) | async appendFilePromise(t,r,s){return this.baseFs.appendFilePromise(this...
  method appendFileSync (line 9) | appendFileSync(t,r,s){return this.baseFs.appendFileSync(this.fsMapToBase...
  method writeFilePromise (line 9) | async writeFilePromise(t,r,s){return this.baseFs.writeFilePromise(this.f...
  method writeFileSync (line 9) | writeFileSync(t,r,s){return this.baseFs.writeFileSync(this.fsMapToBase(t...
  method unlinkPromise (line 9) | async unlinkPromise(t){return this.baseFs.unlinkPromise(this.mapToBase(t))}
  method unlinkSync (line 9) | unlinkSync(t){return this.baseFs.unlinkSync(this.mapToBase(t))}
  method utimesPromise (line 9) | async utimesPromise(t,r,s){return this.baseFs.utimesPromise(this.mapToBa...
  method utimesSync (line 9) | utimesSync(t,r,s){return this.baseFs.utimesSync(this.mapToBase(t),r,s)}
  method lutimesPromise (line 9) | async lutimesPromise(t,r,s){return this.baseFs.lutimesPromise(this.mapTo...
  method lutimesSync (line 9) | lutimesSync(t,r,s){return this.baseFs.lutimesSync(this.mapToBase(t),r,s)}
  method mkdirPromise (line 9) | async mkdirPromise(t,r){return this.baseFs.mkdirPromise(this.mapToBase(t...
  method mkdirSync (line 9) | mkdirSync(t,r){return this.baseFs.mkdirSync(this.mapToBase(t),r)}
  method rmdirPromise (line 9) | async rmdirPromise(t,r){return this.baseFs.rmdirPromise(this.mapToBase(t...
  method rmdirSync (line 9) | rmdirSync(t,r){return this.baseFs.rmdirSync(this.mapToBase(t),r)}
  method rmPromise (line 9) | async rmPromise(t,r){return this.baseFs.rmPromise(this.mapToBase(t),r)}
  method rmSync (line 9) | rmSync(t,r){return this.baseFs.rmSync(this.mapToBase(t),r)}
  method linkPromise (line 9) | async linkPromise(t,r){return this.baseFs.linkPromise(this.mapToBase(t),...
  method linkSync (line 9) | linkSync(t,r){return this.baseFs.linkSync(this.mapToBase(t),this.mapToBa...
  method symlinkPromise (line 9) | async symlinkPromise(t,r,s){let a=this.mapToBase(r);if(this.pathUtils.is...
  method symlinkSync (line 9) | symlinkSync(t,r,s){let a=this.mapToBase(r);if(this.pathUtils.isAbsolute(...
  method readFilePromise (line 9) | async readFilePromise(t,r){return this.baseFs.readFilePromise(this.fsMap...
  method readFileSync (line 9) | readFileSync(t,r){return this.baseFs.readFileSync(this.fsMapToBase(t),r)}
  method readdirPromise (line 9) | readdirPromise(t,r){return this.baseFs.readdirPromise(this.mapToBase(t),r)}
  method readdirSync (line 9) | readdirSync(t,r){return this.baseFs.readdirSync(this.mapToBase(t),r)}
  method readlinkPromise (line 9) | async readlinkPromise(t){return this.mapFromBase(await this.baseFs.readl...
  method readlinkSync (line 9) | readlinkSync(t){return this.mapFromBase(this.baseFs.readlinkSync(this.ma...
  method truncatePromise (line 9) | async truncatePromise(t,r){return this.baseFs.truncatePromise(this.mapTo...
  method truncateSync (line 9) | truncateSync(t,r){return this.baseFs.truncateSync(this.mapToBase(t),r)}
  method ftruncatePromise (line 9) | async ftruncatePromise(t,r){return this.baseFs.ftruncatePromise(t,r)}
  method ftruncateSync (line 9) | ftruncateSync(t,r){return this.baseFs.ftruncateSync(t,r)}
  method watch (line 9) | watch(t,r,s){return this.baseFs.watch(this.mapToBase(t),r,s)}
  method watchFile (line 9) | watchFile(t,r,s){return this.baseFs.watchFile(this.mapToBase(t),r,s)}
  method unwatchFile (line 9) | unwatchFile(t,r){return this.baseFs.unwatchFile(this.mapToBase(t),r)}
  method fsMapToBase (line 9) | fsMapToBase(t){return typeof t=="number"?t:this.mapToBase(t)}
  method constructor (line 9) | constructor(t,{baseFs:r,pathUtils:s}){super(s),this.target=t,this.baseFs=r}
  method getRealPath (line 9) | getRealPath(){return this.target}
  method getBaseFs (line 9) | getBaseFs(){return this.baseFs}
  method mapFromBase (line 9) | mapFromBase(t){return t}
  method mapToBase (line 9) | mapToBase(t){return t}
  function wX (line 9) | function wX(e){let t=e;return typeof e.path=="string"&&(t.path=fe.toPort...
  method constructor (line 9) | constructor(t=BX.default){super(),this.realFs=t}
  method getExtractHint (line 9) | getExtractHint(){return!1}
  method getRealPath (line 9) | getRealPath(){return vt.root}
  method resolve (line 9) | resolve(t){return K.resolve(t)}
  method openPromise (line 9) | async openPromise(t,r,s){return await new Promise((a,n)=>{this.realFs.op...
  method openSync (line 9) | openSync(t,r,s){return this.realFs.openSync(fe.fromPortablePath(t),r,s)}
  method opendirPromise (line 9) | async opendirPromise(t,r){return await new Promise((s,a)=>{typeof r<"u"?...
  method opendirSync (line 9) | opendirSync(t,r){let a=typeof r<"u"?this.realFs.opendirSync(fe.fromPorta...
  method readPromise (line 9) | async readPromise(t,r,s=0,a=0,n=-1){return await new Promise((c,f)=>{thi...
  method readSync (line 9) | readSync(t,r,s,a,n){return this.realFs.readSync(t,r,s,a,n)}
  method writePromise (line 9) | async writePromise(t,r,s,a,n){return await new Promise((c,f)=>typeof r==...
  method writeSync (line 9) | writeSync(t,r,s,a,n){return typeof r=="string"?this.realFs.writeSync(t,r...
  method closePromise (line 9) | async closePromise(t){await new Promise((r,s)=>{this.realFs.close(t,this...
  method closeSync (line 9) | closeSync(t){this.realFs.closeSync(t)}
  method createReadStream (line 9) | createReadStream(t,r){let s=t!==null?fe.fromPortablePath(t):t;return thi...
  method createWriteStream (line 9) | createWriteStream(t,r){let s=t!==null?fe.fromPortablePath(t):t;return th...
  method realpathPromise (line 9) | async realpathPromise(t){return await new Promise((r,s)=>{this.realFs.re...
  method realpathSync (line 9) | realpathSync(t){return fe.toPortablePath(this.realFs.realpathSync(fe.fro...
  method existsPromise (line 9) | async existsPromise(t){return await new Promise(r=>{this.realFs.exists(f...
  method accessSync (line 9) | accessSync(t,r){return this.realFs.accessSync(fe.fromPortablePath(t),r)}
  method accessPromise (line 9) | async accessPromise(t,r){return await new Promise((s,a)=>{this.realFs.ac...
  method existsSync (line 9) | existsSync(t){return this.realFs.existsSync(fe.fromPortablePath(t))}
  method statPromise (line 9) | async statPromise(t,r){return await new Promise((s,a)=>{r?this.realFs.st...
  method statSync (line 9) | statSync(t,r){return r?this.realFs.statSync(fe.fromPortablePath(t),r):th...
  method fstatPromise (line 9) | async fstatPromise(t,r){return await new Promise((s,a)=>{r?this.realFs.f...
  method fstatSync (line 9) | fstatSync(t,r){return r?this.realFs.fstatSync(t,r):this.realFs.fstatSync...
  method lstatPromise (line 9) | async lstatPromise(t,r){return await new Promise((s,a)=>{r?this.realFs.l...
  method lstatSync (line 9) | lstatSync(t,r){return r?this.realFs.lstatSync(fe.fromPortablePath(t),r):...
  method fchmodPromise (line 9) | async fchmodPromise(t,r){return await new Promise((s,a)=>{this.realFs.fc...
  method fchmodSync (line 9) | fchmodSync(t,r){return this.realFs.fchmodSync(t,r)}
  method chmodPromise (line 9) | async chmodPromise(t,r){return await new Promise((s,a)=>{this.realFs.chm...
  method chmodSync (line 9) | chmodSync(t,r){return this.realFs.chmodSync(fe.fromPortablePath(t),r)}
  method fchownPromise (line 9) | async fchownPromise(t,r,s){return await new Promise((a,n)=>{this.realFs....
  method fchownSync (line 9) | fchownSync(t,r,s){return this.realFs.fchownSync(t,r,s)}
  method chownPromise (line 9) | async chownPromise(t,r,s){return await new Promise((a,n)=>{this.realFs.c...
  method chownSync (line 9) | chownSync(t,r,s){return this.realFs.chownSync(fe.fromPortablePath(t),r,s)}
  method renamePromise (line 9) | async renamePromise(t,r){return await new Promise((s,a)=>{this.realFs.re...
  method renameSync (line 9) | renameSync(t,r){return this.realFs.renameSync(fe.fromPortablePath(t),fe....
  method copyFilePromise (line 9) | async copyFilePromise(t,r,s=0){return await new Promise((a,n)=>{this.rea...
  method copyFileSync (line 9) | copyFileSync(t,r,s=0){return this.realFs.copyFileSync(fe.fromPortablePat...
  method appendFilePromise (line 9) | async appendFilePromise(t,r,s){return await new Promise((a,n)=>{let c=ty...
  method appendFileSync (line 9) | appendFileSync(t,r,s){let a=typeof t=="string"?fe.fromPortablePath(t):t;...
  method writeFilePromise (line 9) | async writeFilePromise(t,r,s){return await new Promise((a,n)=>{let c=typ...
  method writeFileSync (line 9) | writeFileSync(t,r,s){let a=typeof t=="string"?fe.fromPortablePath(t):t;s...
  method unlinkPromise (line 9) | async unlinkPromise(t){return await new Promise((r,s)=>{this.realFs.unli...
  method unlinkSync (line 9) | unlinkSync(t){return this.realFs.unlinkSync(fe.fromPortablePath(t))}
  method utimesPromise (line 9) | async utimesPromise(t,r,s){return await new Promise((a,n)=>{this.realFs....
  method utimesSync (line 9) | utimesSync(t,r,s){this.realFs.utimesSync(fe.fromPortablePath(t),r,s)}
  method lutimesPromise (line 9) | async lutimesPromise(t,r,s){return await new Promise((a,n)=>{this.realFs...
  method lutimesSync (line 9) | lutimesSync(t,r,s){this.realFs.lutimesSync(fe.fromPortablePath(t),r,s)}
  method mkdirPromise (line 9) | async mkdirPromise(t,r){return await new Promise((s,a)=>{this.realFs.mkd...
  method mkdirSync (line 9) | mkdirSync(t,r){return this.realFs.mkdirSync(fe.fromPortablePath(t),r)}
  method rmdirPromise (line 9) | async rmdirPromise(t,r){return await new Promise((s,a)=>{r?this.realFs.r...
  method rmdirSync (line 9) | rmdirSync(t,r){return this.realFs.rmdirSync(fe.fromPortablePath(t),r)}
  method rmPromise (line 9) | async rmPromise(t,r){return await new Promise((s,a)=>{r?this.realFs.rm(f...
  method rmSync (line 9) | rmSync(t,r){return this.realFs.rmSync(fe.fromPortablePath(t),r)}
  method linkPromise (line 9) | async linkPromise(t,r){return await new Promise((s,a)=>{this.realFs.link...
  method linkSync (line 9) | linkSync(t,r){return this.realFs.linkSync(fe.fromPortablePath(t),fe.from...
  method symlinkPromise (line 9) | async symlinkPromise(t,r,s){return await new Promise((a,n)=>{this.realFs...
  method symlinkSync (line 9) | symlinkSync(t,r,s){return this.realFs.symlinkSync(fe.fromPortablePath(t....
  method readFilePromise (line 9) | async readFilePromise(t,r){return await new Promise((s,a)=>{let n=typeof...
  method readFileSync (line 9) | readFileSync(t,r){let s=typeof t=="string"?fe.fromPortablePath(t):t;retu...
  method readdirPromise (line 9) | async readdirPromise(t,r){return await new Promise((s,a)=>{r?r.recursive...
  method readdirSync (line 9) | readdirSync(t,r){return r?r.recursive&&process.platform==="win32"?r.with...
  method readlinkPromise (line 9) | async readlinkPromise(t){return await new Promise((r,s)=>{this.realFs.re...
  method readlinkSync (line 9) | readlinkSync(t){return fe.toPortablePath(this.realFs.readlinkSync(fe.fro...
  method truncatePromise (line 9) | async truncatePromise(t,r){return await new Promise((s,a)=>{this.realFs....
  method truncateSync (line 9) | truncateSync(t,r){return this.realFs.truncateSync(fe.fromPortablePath(t)...
  method ftruncatePromise (line 9) | async ftruncatePromise(t,r){return await new Promise((s,a)=>{this.realFs...
  method ftruncateSync (line 9) | ftruncateSync(t,r){return this.realFs.ftruncateSync(t,r)}
  method watch (line 9) | watch(t,r,s){return this.realFs.watch(fe.fromPortablePath(t),r,s)}
  method watchFile (line 9) | watchFile(t,r,s){return this.realFs.watchFile(fe.fromPortablePath(t),r,s)}
  method unwatchFile (line 9) | unwatchFile(t,r){return this.realFs.unwatchFile(fe.fromPortablePath(t),r)}
  method makeCallback (line 9) | makeCallback(t,r){return(s,a)=>{s?r(s):t(a)}}
  method constructor (line 9) | constructor(t,{baseFs:r=new Yn}={}){super(K),this.target=this.pathUtils....
  method getRealPath (line 9) | getRealPath(){return this.pathUtils.resolve(this.baseFs.getRealPath(),th...
  method resolve (line 9) | resolve(t){return this.pathUtils.isAbsolute(t)?K.normalize(t):this.baseF...
  method mapFromBase (line 9) | mapFromBase(t){return t}
  method mapToBase (line 9) | mapToBase(t){return this.pathUtils.isAbsolute(t)?t:this.pathUtils.join(t...
  method constructor (line 9) | constructor(t,{baseFs:r=new Yn}={}){super(K),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(t){let r=this.pathUtils.normalize(t);if(this.pathUtils.isAbsol...
  method mapFromBase (line 9) | mapFromBase(t){return this.pathUtils.resolve(SX,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(dd(this),this.mountInstances)for(let[r,{childFs:s}]of ...
  method discardAndClose (line 9) | discardAndClose(){if(dd(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&al)!==this.magic)return await this.ba...
  method readSync (line 9) | readSync(r,s,a,n,c){if((r&al)!==this.magic)return this.baseFs.readSync(r...
  method writePromise (line 9) | async writePromise(r,s,a,n,c){if((r&al)!==this.magic)return typeof s=="s...
  method writeSync (line 9) | writeSync(r,s,a,n,c){if((r&al)!==this.magic)return typeof s=="string"?th...
  method closePromise (line 9) | async closePromise(r){if((r&al)!==this.magic)return await this.baseFs.cl...
  method closeSync (line 9) | closeSync(r){if((r&al)!==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&al)!==this.magic)return this.baseFs.fstatP...
  method fstatSync (line 9) | fstatSync(r,s){if((r&al)!==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&al)!==this.magic)return this.baseFs.fchmo...
  method fchmodSync (line 9) | fchmodSync(r,s){if((r&al)!==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&al)!==this.magic)return this.baseFs.fch...
  method fchownSync (line 9) | fchownSync(r,s,a){if((r&al)!==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&Id.constants....
  method copyFileSync (line 9) | copyFileSync(r,s,a=0){let n=(c,f,p,h)=>{if(a&Id.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&al)!==this.magic)return this.baseFs.ft...
  method ftruncateSync (line 9) | ftruncateSync(r,s){if((r&al)!==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(K)}
  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(t){throw er()}
  method existsSync (line 9) | existsSync(t){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(t){throw er()}
  method fstatSync (line 9) | fstatSync(t){throw er()}
  method lstatPromise (line 9) | async lstatPromise(t){throw er()}
  method lstatSync (line 9) | lstatSync(t){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(t,r){throw er()}
  method ftruncateSync (line 9) | ftruncateSync(t,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(t){super(fe),this.baseFs=t}
  method mapFromBase (line 9) | mapFromBase(t){return fe.fromPortablePath(t)}
  method mapToBase (line 9) | mapToBase(t){return fe.toPortablePath(t)}
  method makeVirtualPath (line 9) | static makeVirtualPath(t,r,s){if(K.basename(t)!=="__virtual__")throw new...
  method resolveVirtual (line 9) | static resolveVirtual(t){let r=t.match(AU);if(!r||!r[3]&&r[5])return t;l...
  method constructor (line 9) | constructor({baseFs:t=new Yn}={}){super(K),this.baseFs=t}
  method getExtractHint (line 9) | getExtractHint(t){return this.baseFs.getExtractHint(t)}
  method getRealPath (line 9) | getRealPath(){return this.baseFs.getRealPath()}
  method realpathSync (line 9) | realpathSync(t){let r=t.match(AU);if(!r)return this.baseFs.realpathSync(...
  method realpathPromise (line 9) | async realpathPromise(t){let r=t.match(AU);if(!r)return await this.baseF...
  method mapToBase (line 9) | mapToBase(t){if(t==="")return t;if(this.pathUtils.isAbsolute(t))return e...
  method mapFromBase (line 9) | mapFromBase(t){return t}
  function Kje (line 9) | function Kje(e,t){return typeof pU.default.isUtf8<"u"?pU.default.isUtf8(...
  method constructor (line 9) | constructor(t){super(fe),this.baseFs=t}
  method mapFromBase (line 9) | mapFromBase(t){return t}
  method mapToBase (line 9) | mapToBase(t){if(typeof t=="string")return t;if(t instanceof URL)return(0...
  method constructor (line 9) | constructor(t,r){this[MX]=1;this[LX]=void 0;this[OX]=void 0;this[NX]=voi...
  method fd (line 9) | get fd(){return this[Ip]}
  method appendFile (line 9) | async appendFile(t,r){try{this[Qu](this.appendFile);let s=(typeof r=="st...
  method chown (line 9) | async chown(t,r){try{return this[Qu](this.chown),await this[qo].fchownPr...
  method chmod (line 9) | async chmod(t){try{return this[Qu](this.chmod),await this[qo].fchmodProm...
  method createReadStream (line 9) | createReadStream(t){return this[qo].createReadStream(null,{...t,fd:this....
  method createWriteStream (line 9) | createWriteStream(t){return this[qo].createWriteStream(null,{...t,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(t,r,s,a){try{this[Qu](this.read);let n,c;return ArrayBuffer.i...
  method readFile (line 9) | async readFile(t){try{this[Qu](this.readFile);let r=(typeof t=="string"?...
  method readLines (line 9) | readLines(t){return(0,UX.createInterface)({input:this.createReadStream(t...
  method stat (line 9) | async stat(t){try{return this[Qu](this.stat),await this[qo].fstatPromise...
  method truncate (line 9) | async truncate(t){try{return this[Qu](this.truncate),await this[qo].ftru...
  method utimes (line 9) | utimes(t,r){throw new Error("Method not implemented.")}
  method writeFile (line 9) | async writeFile(t,r){try{this[Qu](this.writeFile);let s=(typeof r=="stri...
  method write (line 9) | async write(...t){try{if(this[Qu](this.write),ArrayBuffer.isView(t[0])){...
  method writev (line 9) | async writev(t,r){try{this[Qu](this.writev);let s=0;if(typeof r<"u")for(...
  method readv (line 9) | readv(t,r){throw new Error("Method not implemented.")}
  method close (line 9) | close(){if(this[Ip]===-1)return Promise.resolve();if(this[e0])return thi...
  method [(qo,Ip,MX=uE,LX=e0,OX=sx,NX=ox,Qu)] (line 9) | [(qo,Ip,MX=uE,LX=e0,OX=sx,NX=ox,Qu)](t){if(this[Ip]===-1){let r=new Erro...
  method [Ru] (line 9) | [Ru](){if(this[uE]--,this[uE]===0){let t=this[Ip];this[Ip]=-1,this[qo].c...
  function QB (line 9) | function QB(e,t){t=new ix(t);let r=(s,a,n)=>{let c=s[a];s[a]=n,typeof c?...
  function ax (line 9) | function ax(e,t){let r=Object.create(e);return QB(r,t),r}
  function GX (line 9) | function GX(e){let t=Math.ceil(Math.random()*4294967296).toString(16).pa...
  function qX (line 9) | function qX(){if(hU)return hU;let e=fe.toPortablePath(WX.default.tmpdir(...
  method detachTemp (line 9) | detachTemp(e){Tu.delete(e)}
  method mktempSync (line 9) | mktempSync(e){let{tmpdir:t,realTmpdir:r}=qX();for(;;){let s=GX("xfs-");t...
  method mktempPromise (line 9) | async mktempPromise(e){let{tmpdir:t,realTmpdir:r}=qX();for(;;){let s=GX(...
  method rmtempPromise (line 9) | async rmtempPromise(){await Promise.all(Array.from(Tu.values()).map(asyn...
  method rmtempSync (line 9) | rmtempSync(){for(let e of Tu)try{le.removeSync(e),Tu.delete(e)}catch{}}
  function zje (line 9) | function zje(e,t){var r=t.pathExt!==void 0?t.pathExt:process.env.PATHEXT...
  function KX (line 9) | function KX(e,t,r){return!e.isSymbolicLink()&&!e.isFile()?!1:zje(t,r)}
  function JX (line 9) | function JX(e,t,r){YX.stat(e,function(s,a){r(s,s?!1:KX(a,e,t))})}
  function Zje (line 9) | function Zje(e,t){return KX(YX.statSync(e),e,t)}
  function $X (line 9) | function $X(e,t,r){XX.stat(e,function(s,a){r(s,s?!1:e$(a,t))})}
  function Xje (line 9) | function Xje(e,t){return e$(XX.statSync(e),t)}
  function e$ (line 9) | function e$(e,t){return e.isFile()&&$je(e,t)}
  function $je (line 9) | function $je(e,t){var r=e.mode,s=e.uid,a=e.gid,n=t.uid!==void 0?t.uid:pr...
  function gU (line 9) | function gU(e,t,r){if(typeof t=="function"&&(r=t,t={}),!r){if(typeof Pro...
  function e6e (line 9) | function e6e(e,t){try{return lx.sync(e,t||{})}catch(r){if(t&&t.ignoreErr...
  function g$ (line 9) | function g$(e,t){let r=e.options.env||process.env,s=process.cwd(),a=e.op...
  function s6e (line 9) | function s6e(e){return g$(e)||g$(e,!0)}
  function o6e (line 9) | function o6e(e){return e=e.replace(mU,"^$1"),e}
  function a6e (line 9) | function a6e(e,t){return e=`${e}`,e=e.replace(/(?=(\\+?)?)\1"/g,'$1$1\\"...
  function u6e (line 9) | function u6e(e){let r=Buffer.alloc(150),s;try{s=EU.openSync(e,"r"),EU.re...
  function d6e (line 9) | function d6e(e){e.file=S$(e);let t=e.file&&A6e(e.file);return t?(e.args....
  function m6e (line 9) | function m6e(e){if(!p6e)return e;let t=d6e(e),r=!h6e.test(t);if(e.option...
  function y6e (line 9) | function y6e(e,t,r){t&&!Array.isArray(t)&&(r=t,t=null),t=t?t.slice(0):[]...
  function CU (line 9) | function CU(e,t){return Object.assign(new Error(`${t} ${e.command} ENOEN...
  function E6e (line 9) | function E6e(e,t){if(!IU)return;let r=e.emit;e.emit=function(s,a){if(s==...
  function x$ (line 9) | function x$(e,t){return IU&&e===1&&!t.file?CU(t.original,"spawn"):null}
  function I6e (line 9) | function I6e(e,t){return IU&&e===1&&!t.file?CU(t.original,"spawnSync"):n...
  function T$ (line 9) | function T$(e,t,r){let s=wU(e,t,r),a=R$.spawn(s.command,s.args,s.options...
  function C6e (line 9) | function C6e(e,t,r){let s=wU(e,t,r),a=R$.spawnSync(s.command,s.args,s.op...
  function w6e (line 9) | function w6e(e,t){function r(){this.constructor=e}r.prototype=t.prototyp...
  function Cd (line 9) | function Cd(e,t,r,s){this.message=e,this.expected=t,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 B6e (line 9) | function B6e(e,t){t=t!==void 0?t:{};var r={},s={Start:Za},a=Za,n=functio...
  function ux (line 12) | function ux(e,t={isGlobPattern:()=>!1}){try{return(0,O$.parse)(e,t)}catc...
  function hE (line 12) | function hE(e,{endSemicolon:t=!1}={}){return e.map(({command:r,type:s},a...
  function fx (line 12) | function fx(e){return`${gE(e.chain)}${e.then?` ${SU(e.then)}`:""}`}
  function SU (line 12) | function SU(e){return`${e.type} ${fx(e.line)}`}
  function gE (line 12) | function gE(e){return`${bU(e)}${e.then?` ${DU(e.then)}`:""}`}
  function DU (line 12) | function DU(e){return`${e.type} ${gE(e.chain)}`}
  function bU (line 12) | function bU(e){switch(e.type){case"command":return`${e.envs.length>0?`${...
  function cx (line 12) | function cx(e){return`${e.name}=${e.args[0]?wd(e.args[0]):""}`}
  function PU (line 12) | function PU(e){switch(e.type){case"redirection":return TB(e);case"argume...
  function TB (line 12) | function TB(e){return`${e.subtype} ${e.args.map(t=>wd(t)).join(" ")}`}
  function wd (line 12) | function wd(e){return e.segments.map(t=>xU(t)).join("")}
  function xU (line 12) | function xU(e){let t=(s,a)=>a?`"${s}"`:s,r=s=>s===""?"''":s.match(/[()}<...
  function Ax (line 12) | function Ax(e){let t=a=>{switch(a){case"addition":return"+";case"subtrac...
  function D6e (line 13) | function D6e(e,t){function r(){this.constructor=e}r.prototype=t.prototyp...
  function Bd (line 13) | function Bd(e,t,r,s){this.message=e,this.expected=t,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 b6e (line 13) | function b6e(e,t){t=t!==void 0?t:{};var r={},s={resolution:ke},a=ke,n="/...
  function px (line 13) | function px(e){let t=e.match(/^\*{1,2}\/(.*)/);if(t)throw new Error(`The...
  function hx (line 13) | function hx(e){let t="";return e.from&&(t+=e.from.fullName,e.from.descri...
  function q$ (line 13) | function q$(e){return typeof e>"u"||e===null}
  function P6e (line 13) | function P6e(e){return typeof e=="object"&&e!==null}
  function x6e (line 13) | function x6e(e){return Array.isArray(e)?e:q$(e)?[]:[e]}
  function k6e (line 13) | function k6e(e,t){var r,s,a,n;if(t)for(n=Object.keys(t),r=0,s=n.length;r...
  function Q6e (line 13) | function Q6e(e,t){var r="",s;for(s=0;s<t;s+=1)r+=e;return r}
  function R6e (line 13) | function R6e(e){return e===0&&Number.NEGATIVE_INFINITY===1/e}
  function FB (line 13) | function FB(e,t){Error.call(this),this.name="YAMLException",this.reason=...
  function kU (line 13) | function kU(e,t,r,s,a){this.name=e,this.buffer=t,this.position=r,this.li...
  function N6e (line 17) | function N6e(e){var t={};return e!==null&&Object.keys(e).forEach(functio...
  function O6e (line 17) | function O6e(e,t){if(t=t||{},Object.keys(t).forEach(function(r){if(T6e.i...
  function QU (line 17) | function QU(e,t,r){var s=[];return e.include.forEach(function(a){r=QU(a,...
  function M6e (line 17) | function M6e(){var e={scalar:{},sequence:{},mapping:{},fallback:{}},t,r;...
  function mE (line 17) | function mE(e){this.include=e.include||[],this.implicit=e.implicit||[],t...
  function q6e (line 17) | function q6e(e){if(e===null)return!0;var t=e.length;return t===1&&e==="~...
  function W6e (line 17) | function W6e(){return null}
  function V6e (line 17) | function V6e(e){return e===null}
  function K6e (line 17) | function K6e(e){if(e===null)return!1;var t=e.length;return t===4&&(e==="...
  function J6e (line 17) | function J6e(e){return e==="true"||e==="True"||e==="TRUE"}
  function z6e (line 17) | function z6e(e){return Object.prototype.toString.call(e)==="[object Bool...
  function $6e (line 17) | function $6e(e){return 48<=e&&e<=57||65<=e&&e<=70||97<=e&&e<=102}
  function eGe (line 17) | function eGe(e){return 48<=e&&e<=55}
  function tGe (line 17) | function tGe(e){return 48<=e&&e<=57}
  function rGe (line 17) | function rGe(e){if(e===null)return!1;var t=e.length,r=0,s=!1,a;if(!t)ret...
  function nGe (line 17) | function nGe(e){var t=e,r=1,s,a,n=[];return t.indexOf("_")!==-1&&(t=t.re...
  function iGe (line 17) | function iGe(e){return Object.prototype.toString.call(e)==="[object Numb...
  function aGe (line 17) | function aGe(e){return!(e===null||!oGe.test(e)||e[e.length-1]==="_")}
  function lGe (line 17) | function lGe(e){var t,r,s,a;return t=e.replace(/_/g,"").toLowerCase(),r=...
  function uGe (line 17) | function uGe(e,t){var r;if(isNaN(e))switch(t){case"lowercase":return".na...
  function fGe (line 17) | function fGe(e){return Object.prototype.toString.call(e)==="[object Numb...
  function gGe (line 17) | function gGe(e){return e===null?!1:mee.exec(e)!==null||yee.exec(e)!==null}
  function dGe (line 17) | function dGe(e){var t,r,s,a,n,c,f,p=0,h=null,E,C,S;if(t=mee.exec(e),t===...
  function mGe (line 17) | function mGe(e){return e.toISOString()}
  function EGe (line 17) | function EGe(e){return e==="<<"||e===null}
  function CGe (line 18) | function CGe(e){if(e===null)return!1;var t,r,s=0,a=e.length,n=FU;for(r=0...
  function wGe (line 18) | function wGe(e){var t,r,s=e.replace(/[\r\n=]/g,""),a=s.length,n=FU,c=0,f...
  function BGe (line 18) | function BGe(e){var t="",r=0,s,a,n=e.length,c=FU;for(s=0;s<n;s++)s%3===0...
  function vGe (line 18) | function vGe(e){return bd&&bd.isBuffer(e)}
  function PGe (line 18) | function PGe(e){if(e===null)return!0;var t=[],r,s,a,n,c,f=e;for(r=0,s=f....
  function xGe (line 18) | function xGe(e){return e!==null?e:[]}
  function RGe (line 18) | function RGe(e){if(e===null)return!0;var t,r,s,a,n,c=e;for(n=new Array(c...
  function TGe (line 18) | function TGe(e){if(e===null)return[];var t,r,s,a,n,c=e;for(n=new Array(c...
  function OGe (line 18) | function OGe(e){if(e===null)return!0;var t,r=e;for(t in r)if(NGe.call(r,...
  function LGe (line 18) | function LGe(e){return e!==null?e:{}}
  function _Ge (line 18) | function _Ge(){return!0}
  function HGe (line 18) | function HGe(){}
  function jGe (line 18) | function jGe(){return""}
  function GGe (line 18) | function GGe(e){return typeof e>"u"}
  function WGe (line 18) | function WGe(e){if(e===null||e.length===0)return!1;var t=e,r=/\/([gim]*)...
  function VGe (line 18) | function VGe(e){var t=e,r=/\/([gim]*)$/.exec(e),s="";return t[0]==="/"&&...
  function YGe (line 18) | function YGe(e){var t="/"+e.source+"/";return e.global&&(t+="g"),e.multi...
  function KGe (line 18) | function KGe(e){return Object.prototype.toString.call(e)==="[object RegE...
  function zGe (line 18) | function zGe(e){if(e===null)return!1;try{var t="("+e+")",r=mx.parse(t,{r...
  function ZGe (line 18) | function ZGe(e){var t="("+e+")",r=mx.parse(t,{range:!0}),s=[],a;if(r.typ...
  function XGe (line 18) | function XGe(e){return e.toString()}
  function $Ge (line 18) | function $Ge(e){return Object.prototype.toString.call(e)==="[object Func...
  function Gee (line 18) | function Gee(e){return Object.prototype.toString.call(e)}
  function qf (line 18) | function qf(e){return e===10||e===13}
  function xd (line 18) | function xd(e){return e===9||e===32}
  function ll (line 18) | function ll(e){return e===9||e===32||e===10||e===13}
  function EE (line 18) | function EE(e){return e===44||e===91||e===93||e===123||e===125}
  function o5e (line 18) | function o5e(e){var t;return 48<=e&&e<=57?e-48:(t=e|32,97<=t&&t<=102?t-9...
  function a5e (line 18) | function a5e(e){return e===120?2:e===117?4:e===85?8:0}
  function l5e (line 18) | function l5e(e){return 48<=e&&e<=57?e-48:-1}
  function qee (line 18) | function qee(e){return e===48?"\0":e===97?"\x07":e===98?"\b":e===116||e=...
  function c5e (line 19) | function c5e(e){return e<=65535?String.fromCharCode(e):String.fromCharCo...
  function u5e (line 19) | function u5e(e,t){this.input=e,this.filename=t.filename||null,this.schem...
  function rte (line 19) | function rte(e,t){return new Kee(t,new e5e(e.filename,e.input,e.position...
  function Tr (line 19) | function Tr(e,t){throw rte(e,t)}
  function Ix (line 19) | function Ix(e,t){e.onWarning&&e.onWarning.call(null,rte(e,t))}
  function t0 (line 19) | function t0(e,t,r,s){var a,n,c,f;if(t<r){if(f=e.input.slice(t,r),s)for(a...
  function Vee (line 19) | function Vee(e,t,r,s){var a,n,c,f;for(Cp.isObject(r)||Tr(e,"cannot merge...
  function IE (line 19) | function IE(e,t,r,s,a,n,c,f){var p,h;if(Array.isArray(a))for(a=Array.pro...
  function OU (line 19) | function OU(e){var t;t=e.input.charCodeAt(e.position),t===10?e.position+...
  function ls (line 19) | function ls(e,t,r){for(var s=0,a=e.input.charCodeAt(e.position);a!==0;){...
  function Cx (line 19) | function Cx(e){var t=e.position,r;return r=e.input.charCodeAt(t),!!((r==...
  function LU (line 19) | function LU(e,t){t===1?e.result+=" ":t>1&&(e.result+=Cp.repeat(`
  function f5e (line 20) | function f5e(e,t,r){var s,a,n,c,f,p,h,E,C=e.kind,S=e.result,x;if(x=e.inp...
  function A5e (line 20) | function A5e(e,t){var r,s,a;if(r=e.input.charCodeAt(e.position),r!==39)r...
  function p5e (line 20) | function p5e(e,t){var r,s,a,n,c,f;if(f=e.input.charCodeAt(e.position),f!...
  function h5e (line 20) | function h5e(e,t){var r=!0,s,a=e.tag,n,c=e.anchor,f,p,h,E,C,S={},x,I,T,O...
  function g5e (line 20) | function g5e(e,t){var r,s,a=NU,n=!1,c=!1,f=t,p=0,h=!1,E,C;if(C=e.input.c...
  function Yee (line 26) | function Yee(e,t){var r,s=e.tag,a=e.anchor,n=[],c,f=!1,p;for(e.anchor!==...
  function d5e (line 26) | function d5e(e,t,r){var s,a,n,c,f=e.tag,p=e.anchor,h={},E={},C=null,S=nu...
  function m5e (line 26) | function m5e(e){var t,r=!1,s=!1,a,n,c;if(c=e.input.charCodeAt(e.position...
  function y5e (line 26) | function y5e(e){var t,r;if(r=e.input.charCodeAt(e.position),r!==38)retur...
  function E5e (line 26) | function E5e(e){var t,r,s;if(s=e.input.charCodeAt(e.position),s!==42)ret...
  function CE (line 26) | function CE(e,t,r,s,a){var n,c,f,p=1,h=!1,E=!1,C,S,x,I,T;if(e.listener!=...
  function I5e (line 26) | function I5e(e){var t=e.position,r,s,a,n=!1,c;for(e.version=null,e.check...
  function nte (line 26) | function nte(e,t){e=String(e),t=t||{},e.length!==0&&(e.charCodeAt(e.leng...
  function ite (line 27) | function ite(e,t,r){t!==null&&typeof t=="object"&&typeof r>"u"&&(r=t,t=n...
  function ste (line 27) | function ste(e,t){var r=nte(e,t);if(r.length!==0){if(r.length===1)return...
  function C5e (line 27) | function C5e(e,t,r){return typeof t=="object"&&t!==null&&typeof r>"u"&&(...
  function w5e (line 27) | function w5e(e,t){return ste(e,Cp.extend({schema:Jee},t))}
  function j5e (line 27) | function j5e(e,t){var r,s,a,n,c,f,p;if(t===null)return{};for(r={},s=Obje...
  function ate (line 27) | function ate(e){var t,r,s;if(t=e.toString(16).toUpperCase(),e<=255)r="x"...
  function G5e (line 27) | function G5e(e){this.schema=e.schema||B5e,this.indent=Math.max(1,e.inden...
  function lte (line 27) | function lte(e,t){for(var r=MB.repeat(" ",t),s=0,a=-1,n="",c,f=e.length;...
  function MU (line 29) | function MU(e,t){return`
  function q5e (line 30) | function q5e(e,t){var r,s,a;for(r=0,s=e.implicitTypes.length;r<s;r+=1)if...
  function _U (line 30) | function _U(e){return e===b5e||e===S5e}
  function wE (line 30) | function wE(e){return 32<=e&&e<=126||161<=e&&e<=55295&&e!==8232&&e!==823...
  function W5e (line 30) | function W5e(e){return wE(e)&&!_U(e)&&e!==65279&&e!==D5e&&e!==LB}
  function cte (line 30) | function cte(e,t){return wE(e)&&e!==65279&&e!==mte&&e!==Ete&&e!==Ite&&e!...
  function V5e (line 30) | function V5e(e){return wE(e)&&e!==65279&&!_U(e)&&e!==F5e&&e!==L5e&&e!==y...
  function Bte (line 30) | function Bte(e){var t=/^\n* /;return t.test(e)}
  function Y5e (line 30) | function Y5e(e,t,r,s,a){var n,c,f,p=!1,h=!1,E=s!==-1,C=-1,S=V5e(e.charCo...
  function K5e (line 30) | function K5e(e,t,r,s){e.dump=function(){if(t.length===0)return"''";if(!e...
  function ute (line 30) | function ute(e,t){var r=Bte(e)?String(t):"",s=e[e.length-1]===`
  function fte (line 34) | function fte(e){return e[e.length-1]===`
  function J5e (line 35) | function J5e(e,t){for(var r=/(\n+)([^\n]*)/g,s=function(){var h=e.indexOf(`
  function Ate (line 38) | function Ate(e,t){if(e===""||e[0]===" ")return e;for(var r=/ [^ ]/g,s,a=...
  function z5e (line 41) | function z5e(e){for(var t="",r,s,a,n=0;n<e.length;n++){if(r=e.charCodeAt...
  function Z5e (line 41) | function Z5e(e,t,r){var s="",a=e.tag,n,c;for(n=0,c=r.length;n<c;n+=1)kd(...
  function X5e (line 41) | function X5e(e,t,r,s){var a="",n=e.tag,c,f;for(c=0,f=r.length;c<f;c+=1)k...
  function $5e (line 41) | function $5e(e,t,r){var s="",a=e.tag,n=Object.keys(r),c,f,p,h,E;for(c=0,...
  function eqe (line 41) | function eqe(e,t,r,s){var a="",n=e.tag,c=Object.keys(r),f,p,h,E,C,S;if(e...
  function pte (line 41) | function pte(e,t,r){var s,a,n,c,f,p;for(a=r?e.explicitTypes:e.implicitTy...
  function kd (line 41) | function kd(e,t,r,s,a,n){e.tag=null,e.dump=r,pte(e,r,!1)||pte(e,r,!0);va...
  function tqe (line 41) | function tqe(e,t){var r=[],s=[],a,n;for(UU(e,r,s),a=0,n=s.length;a<n;a+=...
  function UU (line 41) | function UU(e,t,r){var s,a,n;if(e!==null&&typeof e=="object")if(a=t.inde...
  function Pte (line 41) | function Pte(e,t){t=t||{};var r=new G5e(t);return r.noRefs||tqe(e,r),kd(...
  function rqe (line 42) | function rqe(e,t){return Pte(e,MB.extend({schema:v5e},t))}
  function vx (line 42) | function vx(e){return function(){throw new Error("Function "+e+" is depr...
  function iqe (line 42) | function iqe(e,t){function r(){this.constructor=e}r.prototype=t.prototyp...
  function Qd (line 42) | function Qd(e,t,r,s){this.message=e,this.expected=t,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 sqe (line 42) | function sqe(e,t){t=t!==void 0?t:{};var r={},s={Start:cc},a=cc,n=functio...
  function Lte (line 51) | function Lte(e){return e.match(oqe)?e:JSON.stringify(e)}
  function Ute (line 51) | function Ute(e){return typeof e>"u"?!0:typeof e=="object"&&e!==null&&!Ar...
  function jU (line 51) | function jU(e,t,r){if(e===null)return`null
  function cl (line 61) | function cl(e){try{let t=jU(e,0,!1);return t!==`
  function aqe (line 62) | function aqe(e){return e.endsWith(`
  function cqe (line 64) | function cqe(e){if(lqe.test(e))return aqe(e);let t=(0,Dx.safeLoad)(e,{sc...
  function cs (line 64) | function cs(e){return cqe(e)}
  method constructor (line 64) | constructor(t){this.data=t}
  function qte (line 64) | function qte(e){return typeof e=="string"?!!xs[e]:"env"in e?xs[e.env]&&x...
  method constructor (line 64) | constructor(t){super(t),this.clipanion={type:"usage"},this.name="UsageEr...
  method constructor (line 64) | constructor(t,r){if(super(),this.input=t,this.candidates=r,this.clipanio...
  method constructor (line 75) | constructor(t,r){super(),this.input=t,this.usages=r,this.clipanion={type...
  function Aqe (line 80) | function Aqe(e){let t=e.split(`
  function Vo (line 82) | function Vo(e,{format:t,paragraphs:r}){return e=e.replace(/\r\n?/g,`
  function wa (line 90) | function wa(e){return{...e,[HB]:!0}}
  function Wf (line 90) | function Wf(e,t){return typeof e>"u"?[e,t]:typeof e=="object"&&e!==null&...
  function Qx (line 90) | function Qx(e,{mergeName:t=!1}={}){let r=e.match(/^([^:]+): (.*)$/m);if(...
  function jB (line 90) | function jB(e,t){return t.length===1?new st(`${e}${Qx(t[0],{mergeName:!0...
  function Fd (line 92) | function Fd(e,t,r){if(typeof r>"u")return t;let s=[],a=[],n=f=>{let p=t;...
  function ii (line 92) | function ii(e){return e===null?"null":e===void 0?"undefined":e===""?"an ...
  function vE (line 92) | function vE(e,t){if(e.length===0)return"nothing";if(e.length===1)return ...
  function n0 (line 92) | function n0(e,t){var r,s,a;return typeof t=="number"?`${(r=e?.p)!==null&...
  function zU (line 92) | function zU(e,t,r){return e===1?t:r}
  function mr (line 92) | function mr({errors:e,p:t}={},r){return e?.push(`${t??"."}: ${r}`),!1}
  function yqe (line 92) | function yqe(e,t){return r=>{e[t]=r}}
  function Yf (line 92) | function Yf(e,t){return r=>{let s=e[t];return e[t]=r,Yf(e,t).bind(null,s)}}
  function GB (line 92) | function GB(e,t,r){let s=()=>(e(r()),a),a=()=>(e(t),s);return s}
  function ZU (line 92) | function ZU(){return Wr({test:(e,t)=>!0})}
  function zte (line 92) | function zte(e){return Wr({test:(t,r)=>t!==e?mr(r,`Expected ${ii(e)} (go...
  function SE (line 92) | function SE(){return Wr({test:(e,t)=>typeof e!="string"?mr(t,`Expected a...
  function ks (line 92) | function ks(e){let t=Array.isArray(e)?e:Object.values(e),r=t.every(a=>ty...
  function Iqe (line 92) | function Iqe(){return Wr({test:(e,t)=>{var r;if(typeof e!="boolean"){if(...
  function XU (line 92) | function XU(){return Wr({test:(e,t)=>{var r;if(typeof e!="number"){if(ty...
  function Cqe (line 92) | function Cqe(e){return Wr({test:(t,r)=>{var s;if(typeof r?.coercions>"u"...
  function wqe (line 92) | function wqe(){return Wr({test:(e,t)=>{var r;if(!(e instanceof Date)){if...
  function Rx (line 92) | function Rx(e,{delimiter:t}={}){return Wr({test:(r,s)=>{var a;let n=r;if...
  function Bqe (line 92) | function Bqe(e,{delimiter:t}={}){let r=Rx(e,{delimiter:t});return Wr({te...
  function vqe (line 92) | function vqe(e,t){let r=Rx(Tx([e,t])),s=Fx(t,{keys:e});return Wr({test:(...
  function Tx (line 92) | function Tx(e,{delimiter:t}={}){let r=$te(e.length);return Wr({test:(s,a...
  function Fx (line 92) | function Fx(e,{keys:t=null}={}){let r=Rx(Tx([t??SE(),e]));return Wr({tes...
  function Sqe (line 92) | function Sqe(e,t={}){return Fx(e,t)}
  function Zte (line 92) | function Zte(e,{extra:t=null}={}){let r=Object.keys(e),s=Wr({test:(a,n)=...
  function Dqe (line 92) | function Dqe(e){return Zte(e,{extra:Fx(ZU())})}
  function Xte (line 92) | function Xte(e){return()=>e}
  function Wr (line 92) | function Wr({test:e}){return Xte(e)()}
  function Pqe (line 92) | function Pqe(e,t){if(!t(e))throw new i0}
  function xqe (line 92) | function xqe(e,t){let r=[];if(!t(e,{errors:r}))throw new i0({errors:r})}
  function kqe (line 92) | function kqe(e,t){}
  function Qqe (line 92) | function Qqe(e,t,{coerce:r=!1,errors:s,throw:a}={}){let n=s?[]:void 0;if...
  function Rqe (line 92) | function Rqe(e,t){let r=Tx(e);return(...s)=>{if(!r(s))throw new i0;retur...
  function Tqe (line 92) | function Tqe(e){return Wr({test:(t,r)=>t.length>=e?!0:mr(r,`Expected to ...
  function Fqe (line 92) | function Fqe(e){return Wr({test:(t,r)=>t.length<=e?!0:mr(r,`Expected to ...
  function $te (line 92) | function $te(e){return Wr({test:(t,r)=>t.length!==e?mr(r,`Expected to ha...
  function Nqe (line 92) | function Nqe({map:e}={}){return Wr({test:(t,r)=>{let s=new Set,a=new Set...
  function Oqe (line 92) | function Oqe(){return Wr({test:(e,t)=>e<=0?!0:mr(t,`Expected to be negat...
  function Lqe (line 92) | function Lqe(){return Wr({test:(e,t)=>e>=0?!0:mr(t,`Expected to be posit...
  function e_ (line 92) | function e_(e){return Wr({test:(t,r)=>t>=e?!0:mr(r,`Expected to be at le...
  function Mqe (line 92) | function Mqe(e){return Wr({test:(t,r)=>t<=e?!0:mr(r,`Expected to be at m...
  function Uqe (line 92) | function Uqe(e,t){return Wr({test:(r,s)=>r>=e&&r<=t?!0:mr(s,`Expected to...
  function _qe (line 92) | function _qe(e,t){return Wr({test:(r,s)=>r>=e&&r<t?!0:mr(s,`Expected to ...
  function t_ (line 92) | function t_({unsafe:e=!1}={}){return Wr({test:(t,r)=>t!==Math.round(t)?m...
  function qB (line 92) | function qB(e){return Wr({test:(t,r)=>e.test(t)?!0:mr(r,`Expected to mat...
  function Hqe (line 92) | function Hqe(){return Wr({test:(e,t)=>e!==e.toLowerCase()?mr(t,`Expected...
  function jqe (line 92) | function jqe(){return Wr({test:(e,t)=>e!==e.toUpperCase()?mr(t,`Expected...
  function Gqe (line 92) | function Gqe(){return Wr({test:(e,t)=>mqe.test(e)?!0:mr(t,`Expected to b...
  function qqe (line 92) | function qqe(){return Wr({test:(e,t)=>Jte.test(e)?!0:mr(t,`Expected to b...
  function Wqe (line 92) | function Wqe({alpha:e=!1}){return Wr({test:(t,r)=>(e?hqe.test(t):gqe.tes...
  function Vqe (line 92) | function Vqe(){return Wr({test:(e,t)=>dqe.test(e)?!0:mr(t,`Expected to b...
  function Yqe (line 92) | function Yqe(e=ZU()){return Wr({test:(t,r)=>{let s;try{s=JSON.parse(t)}c...
  function Nx (line 92) | function Nx(e,...t){let r=Array.isArray(t[0])?t[0]:t;return Wr({test:(s,...
  function WB (line 92) | function WB(e,...t){let r=Array.isArray(t[0])?t[0]:t;return Nx(e,r)}
  function Kqe (line 92) | function Kqe(e){return Wr({test:(t,r)=>typeof t>"u"?!0:e(t,r)})}
  function Jqe (line 92) | function Jqe(e){return Wr({test:(t,r)=>t===null?!0:e(t,r)})}
  function zqe (line 92) | function zqe(e,t){var r;let s=new Set(e),a=VB[(r=t?.missingIf)!==null&&r...
  function r_ (line 92) | function r_(e,t){var r;let s=new Set(e),a=VB[(r=t?.missingIf)!==null&&r!...
  function Zqe (line 92) | function Zqe(e,t){var r;let s=new Set(e),a=VB[(r=t?.missingIf)!==null&&r...
  function Xqe (line 92) | function Xqe(e,t){var r;let s=new Set(e),a=VB[(r=t?.missingIf)!==null&&r...
  function YB (line 92) | function YB(e,t,r,s){var a,n;let c=new Set((a=s?.ignore)!==null&&a!==voi...
  method constructor (line 92) | constructor({errors:t}={}){let r="Type mismatch";if(t&&t.length>0){r+=`
  method constructor (line 94) | constructor(){this.help=!1}
  method Usage (line 94) | static Usage(t){return t}
  method catch (line 94) | async catch(t){throw t}
  method validateAndExecute (line 94) | async validateAndExecute(){let r=this.constructor.schema;if(Array.isArra...
  function fl (line 94) | function fl(e){VU&&console.log(e)}
  function tre (line 94) | function tre(){let e={nodes:[]};for(let t=0;t<In.CustomNode;++t)e.nodes....
  function e9e (line 94) | function e9e(e){let t=tre(),r=[],s=t.nodes.length;for(let a of e){r.push...
  function Fu (line 94) | function Fu(e,t){return e.nodes.push(t),e.nodes.length-1}
  function t9e (line 94) | function t9e(e){let t=new Set,r=s=>{if(t.has(s))return;t.add(s);let a=e....
  function r9e (line 94) | function r9e(e,{prefix:t=""}={}){if(VU){fl(`${t}Nodes are:`);for(let r=0...
  function n9e (line 94) | function n9e(e,t,r=!1){fl(`Running a vm on ${JSON.stringify(t)}`);let s=...
  function i9e (line 94) | function i9e(e,t,{endToken:r=ni.EndOfInput}={}){let s=n9e(e,[...t,r]);re...
  function s9e (line 94) | function s9e(e){let t=0;for(let{state:r}of e)r.path.length>t&&(t=r.path....
  function o9e (line 94) | function o9e(e,t){let r=t.filter(S=>S.selectedIndex!==null),s=r.filter(S...
  function a9e (line 94) | function a9e(e){let t=[],r=[];for(let s of e)s.selectedIndex===Td?r.push...
  function rre (line 94) | function rre(e,t,...r){return t===void 0?Array.from(e):rre(e.filter((s,a...
  function Wl (line 94) | function Wl(){return{dynamics:[],shortcuts:[],statics:{}}}
  function nre (line 94) | function nre(e){return e===In.SuccessNode||e===In.ErrorNode}
  function n_ (line 94) | function n_(e,t=0){return{to:nre(e.to)?e.to:e.to>=In.CustomNode?e.to+t-I...
  function l9e (line 94) | function l9e(e,t=0){let r=Wl();for(let[s,a]of e.dynamics)r.dynamics.push...
  function qs (line 94) | function qs(e,t,r,s,a){e.nodes[t].dynamics.push([r,{to:s,reducer:a}])}
  function DE (line 94) | function DE(e,t,r,s){e.nodes[t].shortcuts.push({to:r,reducer:s})}
  function Ba (line 94) | function Ba(e,t,r,s,a){(Object.prototype.hasOwnProperty.call(e.nodes[t]....
  function Ox (line 94) | function Ox(e,t,r,s,a){if(Array.isArray(t)){let[n,...c]=t;return e[n](r,...
  method constructor (line 94) | constructor(t,r){this.allOptionNames=new Map,this.arity={leading:[],trai...
  method addPath (line 94) | addPath(t){this.paths.push(t)}
  method setArity (line 94) | setArity({leading:t=this.arity.leading,trailing:r=this.arity.trailing,ex...
  method addPositional (line 94) | addPositional({name:t="arg",required:r=!0}={}){if(!r&&this.arity.extra==...
  method addRest (line 94) | addRest({name:t="arg",required:r=0}={}){if(this.arity.extra===Vl)throw n...
  method addProxy (line 94) | addProxy({required:t=0}={}){this.addRest({required:t}),this.arity.proxy=!0}
  method addOption (line 94) | addOption({names:t,description:r,arity:s=0,hidden:a=!1,required:n=!1,all...
  method setContext (line 94) | setContext(t){this.context=t}
  method usage (line 94) | usage({detailed:t=!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(t,r){qs(t,r,["isOption","--"],r,"inhibateOptions"),qs(t,...
  method constructor (line 94) | constructor({binaryName:t="..."}={}){this.builders=[],this.opts={binaryN...
  method build (line 94) | static build(t,r={}){return new e(r).commands(t).compile()}
  method getBuilderByIndex (line 94) | getBuilderByIndex(t){if(!(t>=0&&t<this.builders.length))throw new Error(...
  method commands (line 94) | commands(t){for(let r of t)r(this.command());return this}
  method command (line 94) | command(){let t=new s_(this.builders.length,this.opts);return this.build...
  method compile (line 94) | compile(){let t=[],r=[];for(let a of this.builders){let{machine:n,contex...
  function sre (line 94) | function sre(){return Ux.default&&"getColorDepth"in Ux.default.WriteStre...
  function ore (line 94) | function ore(e){let t=ire;if(typeof t>"u"){if(e.stdout===process.stdout&...
  method constructor (line 94) | constructor(t){super(),this.contexts=t,this.commands=[]}
  method from (line 94) | static from(t,r){let s=new e(r);s.path=t.path;for(let a of t.options)swi...
  method execute (line 94) | async execute(){let t=this.commands;if(typeof this.index<"u"&&this.index...
  function fre (line 98) | async function fre(...e){let{resolvedOptions:t,resolvedCommandClasses:r,...
  function Are (line 98) | async function Are(...e){let{resolvedOptions:t,resolvedCommandClasses:r,...
  function pre (line 98) | function pre(e){let t,r,s,a;switch(typeof process<"u"&&typeof process.ar...
  function ure (line 98) | function ure(e){return e()}
  method constructor (line 98) | constructor({binaryLabel:t,binaryName:r="...",binaryVersion:s,enableCapt...
  method from (line 98) | static from(t,r={}){let s=new e(r),a=Array.isArray(t)?t:[t];for(let n of...
  method register (line 98) | register(t){var r;let s=new Map,a=new t;for(let p in a){let h=a[p];typeo...
  method process (line 98) | process(t,r){let{input:s,context:a,partial:n}=typeof t=="object"&&Array....
  method run (line 98) | async run(t,r){var s,a;let n,c={...e.defaultContext,...r},f=(s=this.enab...
  method runExit (line 98) | async runExit(t,r){process.exitCode=await this.run(t,r)}
  method definition (line 98) | definition(t,{colored:r=!1}={}){if(!t.usage)return null;let{usage:s}=thi...
  method definitions (line 98) | definitions({colored:t=!1}={}){let r=[];for(let s of this.registrations....
  method usage (line 98) | usage(t=null,{colored:r,detailed:s=!1,prefix:a="$ "}={}){var n;if(t===nu...
  method error (line 124) | error(t,r){var s,{colored:a,command:n=(s=t[cre])!==null&&s!==void 0?s:nu...
  method format (line 127) | format(t){var r;return((r=t??this.enableColors)!==null&&r!==void 0?r:e.d...
  method getUsageByRegistration (line 127) | getUsageByRegistration(t,r){let s=this.registrations.get(t);if(typeof s>...
  method getUsageByIndex (line 127) | getUsageByIndex(t,r){return this.builder.getBuilderByIndex(t).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(e={}){return wa({definition(t,r){var s;t.addProxy({name:(s=e...
  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 t;this.context.stdout.write(`${(t=this.cli.binaryVer...
  function Ire (line 130) | function Ire(e,t,r){let[s,a]=Wf(t,r??{}),{arity:n=1}=a,c=e.split(","),f=...
  function wre (line 130) | function wre(e,t,r){let[s,a]=Wf(t,r??{}),n=e.split(","),c=new Set(n);ret...
  function vre (line 130) | function vre(e,t,r){let[s,a]=Wf(t,r??{}),n=e.split(","),c=new Set(n);ret...
  function Dre (line 130) | function Dre(e={}){return wa({definition(t,r){var s;t.addRest({name:(s=e...
  function u9e (line 130) | function u9e(e,t,r){let[s,a]=Wf(t,r??{}),{arity:n=1}=a,c=e.split(","),f=...
  function f9e (line 130) | function f9e(e={}){let{required:t=!0}=e;return wa({definition(r,s){var a...
  function Pre (line 130) | function Pre(e,...t){return typeof e=="string"?u9e(e,...t):f9e(e)}
  function m9e (line 130) | function m9e(e){let t={},r=e.toString();r=r.replace(/\r\n?/mg,`
  function y9e (line 132) | function y9e(e){let t=Fre(e),r=Ws.configDotenv({path:t});if(!r.parsed)th...
  function E9e (line 132) | function E9e(e){console.log(`[dotenv@${u_}][INFO] ${e}`)}
  function I9e (line 132) | function I9e(e){console.log(`[dotenv@${u_}][WARN] ${e}`)}
  function l_ (line 132) | function l_(e){console.log(`[dotenv@${u_}][DEBUG] ${e}`)}
  function Tre (line 132) | function Tre(e){return e&&e.DOTENV_KEY&&e.DOTENV_KEY.length>0?e.DOTENV_K...
  function C9e (line 132) | function C9e(e,t){let r;try{r=new URL(t)}catch(f){throw f.code==="ERR_IN...
  function Fre (line 132) | function Fre(e){let t=c_.resolve(process.cwd(),".env");return e&&e.path&...
  function w9e (line 132) | function w9e(e){return e[0]==="~"?c_.join(p9e.homedir(),e.slice(1)):e}
  function B9e (line 132) | function B9e(e){E9e("Loading env from encrypted .env.vault");let t=Ws._p...
  function v9e (line 132) | function v9e(e){let t=c_.resolve(process.cwd(),".env"),r="utf8",s=!!(e&&...
  function S9e (line 132) | function S9e(e){let t=Fre(e);return Tre(e).length===0?Ws.configDotenv(e)...
  function D9e (line 132) | function D9e(e,t){let r=Buffer.from(t.slice(-64),"hex"),s=Buffer.from(e,...
  function b9e (line 132) | function b9e(e,t,r={}){let s=!!(r&&r.debug),a=!!(r&&r.override);if(typeo...
  function Kf (line 132) | function Kf(e){return`YN${e.toString(10).padStart(4,"0")}`}
  function jx (line 132) | function jx(e){let t=Number(e.slice(2));if(typeof Br[t]>"u")throw new Er...
  method constructor (line 132) | constructor(t,r){if(r=Y9e(r),t instanceof e){if(t.loose===!!r.loose&&t.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(t){if(Wx("SemVer.compare",this.version,this.options,t),!(t insta...
  method compareMain (line 132) | compareMain(t){return t instanceof e||(t=new e(t,this.options)),PE(this....
  method comparePre (line 132) | comparePre(t){if(t instanceof e||(t=new e(t,this.options)),this.prerelea...
  method compareBuild (line 132) | compareBuild(t){t instanceof e||(t=new e(t,this.options));let r=0;do{let...
  method inc (line 132) | inc(t,r,s){switch(t){case"premajor":this.prerelease.length=0,this.patch=...
  function On (line 132) | function On(e){var t=this;if(t instanceof On||(t=new On),t.tail=null,t.h...
  function HWe (line 132) | function HWe(e,t,r){var s=t===e.head?new Ld(r,null,t,e):new Ld(r,t,t.nex...
  function jWe (line 132) | function jWe(e,t){e.tail=new Ld(t,e.tail,null,e),e.head||(e.head=e.tail)...
  function GWe (line 132) | function GWe(e,t){e.head=new Ld(t,null,e.head,e),e.tail||(e.tail=e.head)...
  function Ld (line 132) | function Ld(e,t,r,s){if(!(this instanceof Ld))return new Ld(e,t,r,s);thi...
  method constructor (line 132) | constructor(t){if(typeof t=="number"&&(t={max:t}),t||(t={}),t.max&&(type...
  method max (line 132) | set max(t){if(typeof t!="number"||t<0)throw new TypeError("max must be a...
  method max (line 132) | get max(){return this[Md]}
  method allowStale (line 132) | set allowStale(t){this[n2]=!!t}
  method allowStale (line 132) | get allowStale(){return this[n2]}
  method maxAge (line 132) | set maxAge(t){if(typeof t!="number")throw new TypeError("maxAge must be ...
  method maxAge (line 132) | get maxAge(){return this[Ud]}
  method lengthCalculator (line 132) | set lengthCalculator(t){typeof t!="function"&&(t=E_),t!==this[xE]&&(this...
  method lengthCalculator (line 132) | get lengthCalculator(){return this[xE]}
  method length (line 132) | get length(){return this[Dp]}
  method itemCount (line 132) | get itemCount(){return this[Vs].length}
  method rforEach (line 132) | rforEach(t,r){r=r||this;for(let s=this[Vs].tail;s!==null;){let a=s.prev;...
  method forEach (line 132) | forEach(t,r){r=r||this;for(let s=this[Vs].head;s!==null;){let a=s.next;j...
  method keys (line 132) | keys(){return this[Vs].toArray().map(t=>t.key)}
  method values (line 132) | values(){return this[Vs].toArray().map(t=>t.value)}
  method reset (line 132) | reset(){this[Sp]&&this[Vs]&&this[Vs].length&&this[Vs].forEach(t=>this[Sp...
  method dump (line 132) | dump(){return this[Vs].map(t=>$x(this,t)?!1:{k:t.key,v:t.value,e:t.now+(...
  method dumpLru (line 132) | dumpLru(){return this[Vs]}
  method set (line 132) | set(t,r,s){if(s=s||this[Ud],s&&typeof s!="number")throw new TypeError("m...
  method has (line 132) | has(t){if(!this[Nu].has(t))return!1;let r=this[Nu].get(t).value;return!$...
  method get (line 132) | get(t){return I_(this,t,!0)}
  method peek (line 132) | peek(t){return I_(this,t,!1)}
  method pop (line 132) | pop(){let t=this[Vs].tail;return t?(kE(this,t),t.value):null}
  method del (line 132) | del(t){kE(this,this[Nu].get(t))}
  method load (line 132) | load(t){this.reset();let r=Date.now();for(let s=t.length-1;s>=0;s--){let...
  method prune (line 132) | prune(){this[Nu].forEach((t,r)=>I_(this,r,!1))}
  method constructor (line 132) | constructor(t,r,s,a,n){this.key=t,this.value=r,this.length=s,this.now=a,...
  method constructor (line 132) | constructor(t,r){if(r=VWe(r),t instanceof e)return t.loose===!!r.loose&&...
  method format (line 132) | format(){return this.range=this.set.map(t=>t.join(" ").trim()).join("||"...
  method toString (line 132) | toString(){return this.range}
  method parseRange (line 132) | parseRange(t){let s=((this.options.includePrerelease&&ZWe)|(this.options...
  method intersects (line 132) | intersects(t,r){if(!(t instanceof e))throw new TypeError("a Range is req...
  method test (line 132) | test(t){if(!t)return!1;if(typeof t=="string")try{t=new YWe(t,this.option...
  method ANY (line 132) | static get ANY(){return s2}
  method constructor (line 132) | constructor(t,r){if(r=zne(r),t instanceof e){if(t.loose===!!r.loose)retu...
  method parse (line 132) | parse(t){let r=this.options.loose?Zne[Xne.COMPARATORLOOSE]:Zne[Xne.COMPA...
  method toString (line 132) | toString(){return this.value}
  method test (line 132) | test(t){if(D_("Comparator.test",t,this.options.loose),this.semver===s2||...
  method intersects (line 132) | intersects(t,r){if(!(t instanceof e))throw new TypeError("a Comparator i...
  function DYe (line 132) | function DYe(e,t){function r(){this.constructor=e}r.prototype=t.prototyp...
  function _d (line 132) | function _d(e,t,r,s){this.message=e,this.expected=t,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 bYe (line 132) | function bYe(e,t){t=t!==void 0?t:{};var r={},s={Expression:y},a=y,n="|",...
  function xYe (line 134) | function xYe(e,t){return(e[0]-t[0])**2+(e[1]-t[1])**2+(e[2]-t[2])**2}
  function kYe (line 134) | function kYe(){let e={},t=Object.keys(rk);for(let r=t.length,s=0;s<r;s++...
  function QYe (line 134) | function QYe(e){let t=kYe(),r=[e];for(t[e].distance=0;r.length;){let s=r...
  function RYe (line 134) | function RYe(e,t){return function(r){return t(e(r))}}
  function TYe (line 134) | function TYe(e,t){let r=[t[e].parent,e],s=rk[t[e].parent][e],a=t[e].pare...
  function OYe (line 134) | function OYe(e){let t=function(...r){let s=r[0];return s==null?s:(s.leng...
  function LYe (line 134) | function LYe(e){let t=function(...r){let s=r[0];if(s==null)return s;s.le...
  function MYe (line 134) | function MYe(){let e=new Map,t={modifier:{reset:[0,0],bold:[1,22],dim:[2...
  function O_ (line 134) | function O_(e){return e===0?!1:{level:e,hasBasic:!0,has256:e>=2,has16m:e...
  function L_ (line 134) | function L_(e,t){if(o0===0)return 0;if(Dc("color=16m")||Dc("color=full")...
  function _Ye (line 134) | function _Ye(e){let t=L_(e,e&&e.isTTY);return O_(t)}
  function ase (line 138) | function ase(e){let t=e[0]==="u",r=e[1]==="{";return t&&!r&&e.length===5...
  function YYe (line 138) | function YYe(e,t){let r=[],s=t.trim().split(/\s*,\s*/g),a;for(let n of s...
  function KYe (line 138) | function KYe(e){sse.lastIndex=0;let t=[],r;for(;(r=sse.exec(e))!==null;)...
  function ose (line 138) | function ose(e,t){let r={};for(let a of t)for(let n of a.styles)r[n[0]]=...
  method constructor (line 138) | constructor(t){return Ase(t)}
  function ok (line 138) | function ok(e){return Ase(e)}
  method get (line 138) | get(){let r=ak(this,j_(t.open,t.close,this._styler),this._isEmpty);retur...
  method get (line 138) | get(){let e=ak(this,this._styler,!0);return Object.defineProperty(this,"...
  method get (line 138) | get(){let{level:t}=this;return function(...r){let s=j_(c2.color[fse[t]][...
  method get (line 138) | get(){let{level:r}=this;return function(...s){let a=j_(c2.bgColor[fse[r]...
  method get (line 138) | get(){return this._generator.level}
  method set (line 138) | set(e){this._generator.level=e}
  function $Ye (line 139) | function $Ye(e,t,r){let s=G_(e,t,"-",!1,r)||[],a=G_(t,e,"",!1,r)||[],n=G...
  function e7e (line 139) | function e7e(e,t){let r=1,s=1,a=Bse(e,r),n=new Set([t]);for(;e<=a&&a<=t;...
  function t7e (line 139) | function t7e(e,t,r){if(e===t)return{pattern:e,count:[],digits:0};let s=r...
  function Cse (line 139) | function Cse(e,t,r,s){let a=e7e(e,t),n=[],c=e,f;for(let p=0;p<a.length;p...
  function G_ (line 139) | function G_(e,t,r,s,a){let n=[];for(let c of e){let{string:f}=c;!s&&!wse...
  function r7e (line 139) | function r7e(e,t){let r=[];for(let s=0;s<e.length;s++)r.push([e[s],t[s]]...
  function n7e (line 139) | function n7e(e,t){return e>t?1:t>e?-1:0}
  function wse (line 139) | function wse(e,t,r){return e.some(s=>s[t]===r)}
  function Bse (line 139) | function Bse(e,t){return Number(String(e).slice(0,-t)+"9".repeat(t))}
  function vse (line 139) | function vse(e,t){return e-e%Math.pow(10,t)}
  function Sse (line 139) | function Sse(e){let[t=0,r=""]=e;return r||t>1?`{${t+(r?","+r:"")}}`:""}
  function i7e (line 139) | function i7e(e,t,r){return`[${e}${t-e===1?"":"-"}${t}]`}
  function Dse (line 139) | function Dse(e){return/^-?(0+)\d/.test(e)}
  function s7e (line 139) | function s7e(e,t,r){if(!t.isPadded)return e;let s=Math.abs(t.maxLen-Stri...
  method extglobChars (line 140) | extglobChars(e){return{"!":{type:"negate",open:"(?:(?!(?:",close:`))${e....
  method globChars (line 140) | globChars(e){return e===!0?q7e:roe}
  function Doe (line 140) | function Doe(e){return Number.isSafeInteger(e)&&e>=0}
  function Poe (line 140) | function Poe(e){return e!=null&&typeof e!="function"&&Doe(e.length)}
  function Pc (line 140) | function Pc(e){return e==="__proto__"}
  function ME (line 140) | function ME(e){switch(typeof e){case"number":case"symbol":return!1;case"...
  function UE (line 140) | function UE(e){return typeof e=="string"||typeof e=="symbol"?e:Object.is...
  function Ou (line 140) | function Ou(e){let t=[],r=e.length;if(r===0)return t;let s=0,a="",n="",c...
  function ba (line 140) | function ba(e,t,r){if(e==null)return r;switch(typeof t){case"string":{if...
  function hKe (line 140) | function hKe(e,t,r){if(t.length===0)return r;let s=e;for(let a=0;a<t.len...
  function s4 (line 140) | function s4(e){return e!==null&&(typeof e=="object"||typeof e=="function")}
  function HE (line 140) | function HE(e){return e==null||typeof e!="object"&&typeof e!="function"}
  function Ik (line 140) | function Ik(e,t){return e===t||Number.isNaN(e)&&Number.isNaN(t)}
  function Gd (line 140) | function Gd(e){return Object.getOwnPropertySymbols(e).filter(t=>Object.p...
  function qd (line 140) | function qd(e){return e==null?e===void 0?"[object Undefined]":"[object N...
  function VE (line 140) | function VE(e){return ArrayBuffer.isView(e)&&!(e instanceof DataView)}
  function Noe (line 140) | function Noe(e,t){return l0(e,void 0,e,new Map,t)}
  function l0 (line 140) | function l0(e,t,r,s=new Map,a=void 0){let n=a?.(e,t,r,s);if(n!=null)retu...
  function a0 (line 140) | function a0(e,t,r=e,s,a){let n=[...Object.keys(t),...Gd(t)];for(let c=0;...
  function gKe (line 140) | function gKe(e){switch(qd(e)){case Wd:case Pk:case xk:case kk:case qE:ca...
  function Ooe (line 140) | function Ooe(e){return l0(e,void 0,e,new Map,void 0)}
  function Moe (line 140) | function Moe(e,t){return Noe(e,(r,s,a,n)=>{let c=t?.(r,s,a,n);if(c!=null...
  function c0 (line 140) | function c0(e){return Moe(e)}
  function jk (line 140) | function jk(e,t=Number.MAX_SAFE_INTEGER){switch(typeof e){case"number":r...
  function g2 (line 140) | function g2(e){return e!==null&&typeof e=="object"&&qd(e)==="[object Arg...
  function d2 (line 140) | function d2(e,t){let r;if(Array.isArray(t)?r=t:typeof t=="string"&&ME(t)...
  function A4 (line 140) | function A4(e){return typeof e=="object"&&e!==null}
  function Hoe (line 140) | function Hoe(e){return typeof e=="symbol"||e instanceof Symbol}
  function Goe (line 140) | function Goe(e,t){return Array.isArray(e)?!1:typeof e=="number"||typeof ...
  function u0 (line 140) | function u0(e,t){if(e==null)return!0;switch(typeof t){case"symbol":case"...
  function Woe (line 140) | function Woe(e,t){let r=ba(e,t.slice(0,-1),e),s=t[t.length-1];if(r?.[s]=...
  function Voe (line 140) | function Voe(e){return e==null}
  function zoe (line 140) | function zoe(e,t,r,s){if(e==null&&!s4(e))return e;let a=Goe(t,e)?[t]:Arr...
  function Vd (line 140) | function Vd(e,t,r){return zoe(e,t,()=>r,()=>{})}
  function Xoe (line 140) | function Xoe(e,t=0,r={}){typeof r!="object"&&(r={});let s=null,a=null,n=...
  function g4 (line 140) | function g4(e,t=0,r={}){let{leading:s=!0,trailing:a=!0}=r;return Xoe(e,t...
  function d4 (line 140) | function d4(e){if(e==null)return"";if(typeof e=="string")return e;if(Arr...
  function m4 (line 140) | function m4(e){if(!e||typeof e!="object")return!1;let t=Object.getProtot...
  function nae (line 140) | function nae(e,t,r){return m2(e,t,void 0,void 0,void 0,void 0,r)}
  function m2 (line 140) | function m2(e,t,r,s,a,n,c){let f=c(e,t,r,s,a,n);if(f!==void 0)return f;i...
  function y2 (line 140) | function y2(e,t,r,s){if(Object.is(e,t))return!0;let a=qd(e),n=qd(t);if(a...
  function sae (line 140) | function sae(){}
  function y4 (line 140) | function y4(e,t){return nae(e,t,sae)}
  function lae (line 140) | function lae(e){return VE(e)}
  function uae (line 140) | function uae(e){if(typeof e!="object"||e==null)return!1;if(Object.getPro...
  function Aae (line 140) | function Aae(e){if(HE(e))return e;if(Array.isArray(e)||VE(e)||e instance...
  function E4 (line 140) | function E4(e,...t){let r=t.slice(0,-1),s=t[t.length-1],a=e;for(let n=0;...
  function Gk (line 140) | function Gk(e,t,r,s){if(HE(e)&&(e=Object(e)),t==null||typeof t!="object"...
  function I4 (line 140) | function I4(e,...t){if(e==null)return{};let r=Ooe(e);for(let s=0;s<t.len...
  function Yd (line 140) | function Yd(e,...t){if(Voe(e))return{};let r={};for(let s=0;s<t.length;s...
  function mae (line 140) | function mae(e){return e.charAt(0).toUpperCase()+e.slice(1).toLowerCase()}
  function E2 (line 140) | function E2(e){return mae(d4(e))}
  function EKe (line 140) | function EKe(e){return!!(Bae.default.valid(e)&&e.match(/^[^-]+(-rc\.[0-9...
  function qk (line 140) | function qk(e,{one:t,more:r,zero:s=r}){return e===0?s:e===1?t:r}
  function IKe (line 140) | function IKe(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}
  function CKe (line 140) | function CKe(e){}
  function b4 (line 140) | function b4(e){throw new Error(`Assertion failed: Unexpected object '${e...
  function wKe (line 140) | function wKe(e,t){let r=Object.values(e);if(!r.includes(t))throw new st(...
  function zl (line 140) | function zl(e,t){let r=[];for(let s of e){let a=t(s);a!==vae&&r.push(a)}...
  function f0 (line 140) | function f0(e,t){for(let r of e){let s=t(r);if(s!==Sae)return s}}
  function C4 (line 140) | function C4(e){return typeof e=="object"&&e!==null}
  function Lu (line 140) | async function Lu(e){let t=await Promise.allSettled(e),r=[];for(let s of...
  function Wk (line 140) | function Wk(e){if(e instanceof Map&&(e=Object.fromEntries(e)),C4(e))for(...
  function Zl (line 140) | function Zl(e,t,r){let s=e.get(t);return typeof s>"u"&&e.set(t,s=r()),s}
  function C2 (line 140) | function C2(e,t){let r=e.get(t);return typeof r>"u"&&e.set(t,r=[]),r}
  function Pp (line 140) | function Pp(e,t){let r=e.get(t);return typeof r>"u"&&e.set(t,r=new Set),r}
  function P4 (line 140) | function P4(e,t){let r=e.get(t);return typeof r>"u"&&e.set(t,r=new Map),r}
  function BKe (line 140) | async function BKe(e,t){if(t==null)return await e();try{return await e()...
  function YE (line 140) | async function YE(e,t){try{return await e()}catch(r){throw r.message=t(r...
  function x4 (line 140) | function x4(e,t){try{return e()}catch(r){throw r.message=t(r.message),r}}
  function KE (line 140) | async function KE(e){return await new Promise((t,r)=>{let s=[];e.on("err...
  function Dae (line 140) | function Dae(){let e,t;return{promise:new Promise((s,a)=>{e=s,t=a}),reso...
  function bae (line 140) | function bae(e){return I2(fe.fromPortablePath(e))}
  function Pae (line 140) | function Pae(path){let physicalPath=fe.fromPortablePath(path),currentCac...
  function vKe (line 140) | function vKe(e){let t=Iae.get(e),r=le.statSync(e);if(t?.mtime===r.mtimeM...
  function xp (line 140) | function xp(e,{cachingStrategy:t=2}={}){switch(t){case 0:return Pae(e);c...
  function Ys (line 140) | function Ys(e,t){let r=Array.from(e);Array.isArray(t)||(t=[t]);let s=[];...
  function SKe (line 140) | function SKe(e){return e.length===0?null:e.map(t=>`(${Cae.default.makeRe...
  function Vk (line 140) | function Vk(e,{env:t}){let r="",s=0,a=0,n=e.matchAll(/\\(?<escaped>[\\$}...
  function w2 (line 140) | function w2(e){switch(e){case"true":case"1":case 1:case!0:return!0;case"...
  function kae (line 140) | function kae(e){return typeof e>"u"?e:w2(e)}
  function k4 (line 140) | function k4(e){try{return kae(e)}catch{return null}}
  function DKe (line 140) | function DKe(e){return!!(fe.isAbsolute(e)||e.match(/^(\.{1,2}|~)\//))}
  function Qae (line 140) | function Qae(e,...t){let r=c=>({value:c}),s=r(e),a=t.map(c=>r(c)),{value...
  function bKe (line 140) | function bKe(...e){return Qae({},...e)}
  function PKe (line 140) | function PKe(e,t){let r=Object.create(null);for(let s of e){let a=s[t];r...
  function JE (line 140) | function JE(e){return typeof e=="string"?Number.parseInt(e,10):e}
  function Yk (line 140) | function Yk(e,t){let r=xKe.exec(e)?.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(t){this.deferred=new Map;this.promises=new Map;this.limit=(0...
  method set (line 140) | set(t,r){let s=this.deferred.get(t);typeof s>"u"&&this.deferred.set(t,s=...
  method reduce (line 140) | reduce(t,r){let s=this.promises.get(t)??Promise.resolve();this.set(t,()=...
  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 Tae (line 140) | function Tae(e){let t=["KiB","MiB","GiB","TiB"],r=t.length;for(;r>1&&e<1...
  function Kk (line 140) | function Kk(e,t){if(Array.isArray(t))return t.length===0?si(e,"[]",gt.CO...
  function Mu (line 140) | function Mu(e,t){return[t,e]}
  function Kd (line 140) | function Kd(e,t,r){return e.get("enableColors")&&r&2&&(t=v2.default.bold...
  function si (line 140) | function si(e,t,r){if(!e.get("enableColors"))return t;let s=kKe.get(r);i...
  function XE (line 140) | function XE(e,t,r){return e.get("enableHyperlinks")?QKe?`\x1B]8;;${r}\x1...
  function jt (line 140) | function jt(e,t,r){if(t===null)return si(e,"null",gt.NULL);if(Object.has...
  function O4 (line 140) | function O4(e,t,r,{separator:s=", "}={}){return[...t].map(a=>jt(e,a,r))....
  function Jd (line 140) | function Jd(e,t){if(e===null)return null;if(Object.hasOwn(Jk,t))return J...
  function RKe (line 140) | function RKe(e,t,[r,s]){return e?Jd(r,s):jt(t,r,s)}
  function L4 (line 140) | function L4(e){return{Check:si(e,"\u2713","green"),Cross:si(e,"\u2718","...
  function Zf (line 140) | function Zf(e,{label:t,value:[r,s]}){return`${jt(e,t,gt.CODE)}: ${jt(e,r...
  function Xk (line 140) | function Xk(e,t,r){let s=[],a=[...t],n=r;for(;a.length>0;){let h=a[0],E=...
  function S2 (line 140) | function S2(e,{configuration:t}){let r=t.get("logFilters"),s=new Map,a=n...
  function TKe (line 140) | function TKe(e){return e.reduce((t,r)=>[].concat(t,r),[])}
  function FKe (line 140) | function FKe(e,t){let r=[[]],s=0;for(let a of e)t(a)?(s++,r[s]=[]):r[s]....
  function NKe (line 140) | function NKe(e){return e.code==="ENOENT"}
  method constructor (line 140) | constructor(t,r){this.name=t,this.isBlockDevice=r.isBlockDevice.bind(r),...
  function OKe (line 140) | function OKe(e,t){return new _4(e,t)}
  function qKe (line 140) | function qKe(e){return e.replace(/\\/g,"/")}
  function WKe (line 140) | function WKe(e,t){return MKe.resolve(e,t)}
  function VKe (line 140) | function VKe(e){if(e.charAt(0)==="."){let t=e.charAt(1);if(t==="/"||t===...
  function H4 (line 140) | function H4(e){return e.replace(HKe,"\\$2")}
  function j4 (line 140) | function j4(e){return e.replace(_Ke,"\\$2")}
  function Uae (line 140) | function Uae(e){return H4(e).replace(jKe,"//$1").replace(GKe,"/")}
  function _ae (line 140) | function _ae(e){return j4(e)}
  function zae (line 140) | function zae(e,t={}){return!Zae(e,t)}
  function Zae (line 140) | function Zae(e,t={}){return e===""?!1:!!(t.caseSensitiveMatch===!1||e.in...
  function AJe (line 140) | function AJe(e){let t=e.indexOf("{");if(t===-1)return!1;let r=e.indexOf(...
  function pJe (line 140) | function pJe(e){return rQ(e)?e.slice(1):e}
  function hJe (line 140) | function hJe(e){return"!"+e}
  function rQ (line 140) | function rQ(e){return e.startsWith("!")&&e[1]!=="("}
  function Xae (line 140) | function Xae(e){return!rQ(e)}
  function gJe (line 140) | function gJe(e){return e.filter(rQ)}
  function dJe (line 140) | function dJe(e){return e.filter(Xae)}
  function mJe (line 140) | function mJe(e){return e.filter(t=>!W4(t))}
  function yJe (line 140) | function yJe(e){return e.filter(W4)}
  function W4 (line 140) | function W4(e){return e.startsWith("..")||e.startsWith("./..")}
  function EJe (line 140) | function EJe(e){return iJe(e,{flipBackslashes:!1})}
  function IJe (line 140) | function IJe(e){return e.includes(Jae)}
  function $ae (line 140) | function $ae(e){return e.endsWith("/"+Jae)}
  function CJe (line 140) | function CJe(e){let t=nJe.basename(e);return $ae(e)||zae(t)}
  function wJe (line 140) | function wJe(e){return e.reduce((t,r)=>t.concat(ele(r)),[])}
  function ele (line 140) | function ele(e){let t=q4.braces(e,{expand:!0,nodupes:!0,keepEscaping:!0}...
  function BJe (line 140) | function BJe(e,t){let{parts:r}=q4.scan(e,Object.assign(Object.assign({},...
  function tle (line 140) | function tle(e,t){return q4.makeRe(e,t)}
  function vJe (line 140) | function vJe(e,t){return e.map(r=>tle(r,t))}
  function SJe (line 140) | function SJe(e,t){return t.some(r=>r.test(e))}
  function DJe (line 140) | function DJe(e){return e.replace(fJe,"/")}
  function xJe (line 140) | function xJe(){let e=[],t=PJe.call(arguments),r=!1,s=t[t.length-1];s&&!A...
  function ile (line 140) | function ile(e,t){if(Array.isArray(e))for(let r=0,s=e.length;r<s;r++)e[r...
  function QJe (line 140) | function QJe(e){let t=kJe(e);return e.forEach(r=>{r.once("error",s=>t.em...
  function ale (line 140) | function ale(e){e.forEach(t=>t.emit("close"))}
  function RJe (line 140) | function RJe(e){return typeof e=="string"}
  function TJe (line 140) | function TJe(e){return e===""}
  function HJe (line 140) | function HJe(e,t){let r=ule(e,t),s=ule(t.ignore,t),a=fle(r),n=Ale(r,s),c...
  function ule (line 140) | function ule(e,t){let r=e;return t.braceExpansion&&(r=Uu.pattern.expandP...
  function V4 (line 140) | function V4(e,t,r){let s=[],a=Uu.pattern.getPatternsOutsideCurrentDirect...
  function fle (line 140) | function fle(e){return Uu.pattern.getPositivePatterns(e)}
  function Ale (line 140) | function Ale(e,t){return Uu.pattern.getNegativePatterns(e).concat(t).map...
  function Y4 (line 140) | function Y4(e){let t={};return e.reduce((r,s)=>{let a=Uu.pattern.getBase...
  function K4 (line 140) | function K4(e,t,r){return Object.keys(e).map(s=>J4(s,e[s],t,r))}
  function J4 (line 140) | function J4(e,t,r,s){return{dynamic:s,positive:t,negative:r,base:e,patte...
  function jJe (line 140) | function jJe(e,t,r){t.fs.lstat(e,(s,a)=>{if(s!==null){hle(r,s);return}if...
  function hle (line 140) | function hle(e,t){e(t)}
  function z4 (line 140) | function z4(e,t){e(null,t)}
  function GJe (line 140) | function GJe(e,t){let r=t.fs.lstatSync(e);if(!r.isSymbolicLink()||!t.fol...
  function qJe (line 140) | function qJe(e){return e===void 0?A0.FILE_SYSTEM_ADAPTER:Object.assign(O...
  method constructor (line 140) | constructor(t={}){this._options=t,this.followSymbolicLink=this._getValue...
  method _getValue (line 140) | _getValue(t,r){return t??r}
  function YJe (line 140) | function YJe(e,t,r){if(typeof t=="function"){Ele.read(e,e3(),t);return}E...
  function KJe (line 140) | function KJe(e,t){let r=e3(t);return VJe.read(e,r)}
  function e3 (line 140) | function e3(e={}){return e instanceof $4.default?e:new $4.default(e)}
  function zJe (line 140) | function zJe(e,t){let r,s,a,n=!0;Array.isArray(e)?(r=[],s=e.length):(a=O...
  method constructor (line 140) | constructor(t,r){this.name=t,this.isBlockDevice=r.isBlockDevice.bind(r),...
  function tze (line 140) | function tze(e,t){return new r3(e,t)}
  function nze (line 140) | function nze(e,t,r){return e.endsWith(r)?e+t:e+r+t}
  function oze (line 140) | function oze(e,t,r){if(!t.stats&&sze.IS_SUPPORT_READDIR_WITH_FILE_TYPES)...
  function Qle (line 140) | function Qle(e,t,r){t.fs.readdir(e,{withFileTypes:!0},(s,a)=>{if(s!==nul...
  function aze (line 140) | function aze(e,t){return r=>{if(!e.dirent.isSymbolicLink()){r(null,e);re...
  function Rle (line 140) | function Rle(e,t,r){t.fs.readdir(e,(s,a)=>{if(s!==null){AQ(r,s);return}l...
  function AQ (line 140) | function AQ(e,t){e(t)}
  function s3 (line 140) | function s3(e,t){e(null,t)}
  function uze (line 140) | function uze(e,t){return!t.stats&&cze.IS_SUPPORT_READDIR_WITH_FILE_TYPES...
  function Ole (line 140) | function Ole(e,t){return t.fs.readdirSync(e,{withFileTypes:!0}).map(s=>{...
  function Lle (line 140) | function Lle(e,t){return t.fs.readdirSync(e).map(s=>{let a=Nle.joinPathS...
  function fze (line 140) | function fze(e){return e===void 0?d0.FILE_SYSTEM_ADAPTER:Object.assign(O...
  method constructor (line 140) | constructor(t={}){this._options=t,this.followSymbolicLinks=this._getValu...
  method _getValue (line 140) | _getValue(t,r){return t??r}
  function dze (line 140) | function dze(e,t,r){if(typeof t=="function"){Hle.read(e,c3(),t);return}H...
  function mze (line 140) | function mze(e,t){let r=c3(t);return gze.read(e,r)}
  function c3 (line 140) | function c3(e={}){return e instanceof l3.default?e:new l3.default(e)}
  function yze (line 140) | function yze(e){var t=new e,r=t;function s(){var n=t;return n.next?t=n.n...
  function qle (line 140) | function qle(e,t,r){if(typeof e=="function"&&(r=t,t=e,e=null),!(r>=1))th...
  function Qc (line 140) | function Qc(){}
  function Ize (line 140) | function Ize(){this.value=null,this.callback=Qc,this.next=null,this.rele...
  function Cze (line 140) | function Cze(e,t,r){typeof e=="function"&&(r=t,t=e,e=null);function s(E,...
  function wze (line 140) | function wze(e,t){return e.errorFilter===null?!0:!e.errorFilter(t)}
  function Bze (line 140) | function Bze(e,t){return e===null||e(t)}
  function vze (line 140) | function vze(e,t){return e.split(/[/\\]/).join(t)}
  function Sze (line 140) | function Sze(e,t,r){return e===""?t:e.endsWith(r)?e+t:e+r+t}
  method constructor (line 140) | constructor(t,r){this._root=t,this._settings=r,this._root=Dze.replacePat...
  method constructor (line 140) | constructor(t,r){super(t,r),this._settings=r,this._scandir=Pze.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(t){this._emitter.on("entry",t)}
  method onError (line 140) | onError(t){this._emitter.once("error",t)}
  method onEnd (line 140) | onEnd(t){this._emitter.once("end",t)}
  method _pushToQueue (line 140) | _pushToQueue(t,r){let s={directory:t,base:r};this._queue.push(s,a=>{a!==...
  method _worker (line 140) | _worker(t,r){this._scandir(t.directory,this._settings.fsScandirSettings,...
  method _handleError (line 140) | _handleError(t){this._isDestroyed||!gQ.isFatalError(this._settings,t)||(...
  method _handleEntry (line 140) | _handleEntry(t,r){if(this._isDestroyed||this._isFatalError)return;let s=...
  method _emitEntry (line 140) | _emitEntry(t){this._emitter.emit("entry",t)}
  method constructor (line 140) | constructor(t,r){this._root=t,this._settings=r,this._reader=new Qze.defa...
  method read (line 140) | read(t){this._reader.onError(r=>{Rze(t,r)}),this._reader.onEntry(r=>{thi...
  function Rze (line 140) | function Rze(e,t){e(t)}
  function Tze (line 140) | function Tze(e,t){e(null,t)}
  method constructor (line 140) | constructor(t,r){this._root=t,this._settings=r,this._reader=new Nze.defa...
  method read (line 140) | read(){return this._reader.onError(t=>{this._stream.emit("error",t)}),th...
  method constructor (line 140) | constructor(){super(...arguments),this._scandir=Oze.scandirSync,this._st...
  method read (line 140) | read(){return this._pushToQueue(this._root,this._settings.basePath),this...
  method _pushToQueue (line 140) | _pushToQueue(t,r){this._queue.add({directory:t,base:r})}
  method _handleQueue (line 140) | _handleQueue(){for(let t of this._queue.values())this._handleDirectory(t...
  method _handleDirectory (line 140) | _handleDirectory(t,r){try{let s=this._scandir(t,this._settings.fsScandir...
  method _handleError (line 140) | _handleError(t){if(dQ.isFatalError(this._settings,t))throw t}
  method _handleEntry (line 140) | _handleEntry(t,r){let s=t.path;r!==void 0&&(t.path=dQ.joinPathSegments(r...
  method _pushToStorage (line 140) | _pushToStorage(t){this._storage.push(t)}
  method constructor (line 140) | constructor(t,r){this._root=t,this._settings=r,this._reader=new Mze.defa...
  method read (line 140) | read(){return this._reader.read()}
  method constructor (line 140) | constructor(t={}){this._options=t,this.basePath=this._getValue(this._opt...
  method _getValue (line 140) | _getValue(t,r){return t??r}
  function Gze (line 140) | function Gze(e,t,r){if(typeof t=="function"){new Zle.default(e,mQ()).rea...
  function qze (line 140) | function qze(e,t){let r=mQ(t);return new jze.default(e,r).read()}
  function Wze (line 140) | function Wze(e,t){let r=mQ(t);return new Hze.default(e,r).read()}
  function mQ (line 140) | function mQ(e={}){return e instanceof b3.default?e:new b3.default(e)}
  method constructor (line 140) | constructor(t){this._settings=t,this._fsStatSettings=new Yze.Settings({f...
  method _getFullEntryPath (line 140) | _getFullEntryPath(t){return Vze.resolve(this._settings.cwd,t)}
  method _makeEntry (line 140) | _makeEntry(t,r){let s={name:r,path:r,dirent:Xle.fs.createDirentFromStats...
  method _isFatalError (line 140) | _isFatalError(t){return!Xle.errno.isEnoentCodeError(t)&&!this._settings....
  method constructor (line 140) | constructor(){super(...arguments),this._walkStream=zze.walkStream,this._...
  method dynamic (line 140) | dynamic(t,r){return this._walkStream(t,r)}
  method static (line 140) | static(t,r){let s=t.map(this._getFullEntryPath,this),a=new Kze.PassThrou...
  method _getEntry (line 140) | _getEntry(t,r,s){return this._getStat(t).then(a=>this._makeEntry(a,r)).c...
  method _getStat (line 140) | _getStat(t){return new Promise((r,s)=>{this._stat(t,this._fsStatSettings...
  method constructor (line 140) | constructor(){super(...arguments),this._walkAsync=Xze.walk,this._readerS...
  method dynamic (line 140) | dynamic(t,r){return new Promise((s,a)=>{this._walkAsync(t,r,(n,c)=>{n===...
  method static (line 140) | async static(t,r){let s=[],a=this._readerStream.static(t,r);return new P...
  method constructor (line 140) | constructor(t,r,s){this._patterns=t,this._settings=r,this._micromatchOpt...
  method _fillStorage (line 140) | _fillStorage(){for(let t of this._patterns){let r=this._getPatternSegmen...
  method _getPatternSegments (line 140) | _getPatternSegments(t){return b2.pattern.getPatternParts(t,this._microma...
  method _splitSegmentsIntoSections (line 140) | _splitSegmentsIntoSections(t){return b2.array.splitWhen(t,r=>r.dynamic&&...
  method match (line 140) | match(t){let r=t.split("/"),s=r.length,a=this._storage.filter(n=>!n.comp...
  method constructor (line 140) | constructor(t,r){this._settings=t,this._micromatchOptions=r}
  method getFilter (line 140) | getFilter(t,r,s){let a=this._getMatcher(r),n=this._getNegativePatternsRe...
  method _getMatcher (line 140) | _getMatcher(t){return new rZe.default(t,this._settings,this._micromatchO...
  method _getNegativePatternsRe (line 140) | _getNegativePatternsRe(t){let r=t.filter(IQ.pattern.isAffectDepthOfReadi...
  method _filter (line 140) | _filter(t,r,s,a){if(this._isSkippedByDeep(t,r.path)||this._isSkippedSymb...
  method _isSkippedByDeep (line 140) | _isSkippedByDeep(t,r){return this._settings.deep===1/0?!1:this._getEntry...
  method _getEntryLevel (line 140) | _getEntryLevel(t,r){let s=r.split("/").length;if(t==="")return s;let a=t...
  method _isSkippedSymbolicLink (line 140) | _isSkippedSymbolicLink(t){return!this._settings.followSymbolicLinks&&t.d...
  method _isSkippedByPositivePatterns (line 140) | _isSkippedByPositivePatterns(t,r){return!this._settings.baseNameMatch&&!...
  method _isSkippedByNegativePatterns (line 140) | _isSkippedByNegativePatterns(t,r){return!IQ.pattern.matchAny(t,r)}
  method constructor (line 140) | constructor(t,r){this._settings=t,this._micromatchOptions=r,this.index=n...
  method getFilter (line 140) | getFilter(t,r){let s=Zd.pattern.convertPatternsToRe(t,this._micromatchOp...
  method _filter (line 140) | _filter(t,r,s){let a=Zd.path.removeLeadingDotSegment(t.path);if(this._se...
  method _isDuplicateEntry (line 140) | _isDuplicateEntry(t){return this.index.has(t)}
  method _createIndexRecord (line 140) | _createIndexRecord(t){this.index.set(t,void 0)}
  method _onlyFileFilter (line 140) | _onlyFileFilter(t){return this._settings.onlyFiles&&!t.dirent.isFile()}
  method _onlyDirectoryFilter (line 140) | _onlyDirectoryFilter(t){return this._settings.onlyDirectories&&!t.dirent...
  method _isSkippedByAbsoluteNegativePatterns (line 140) | _isSkippedByAbsoluteNegativePatterns(t,r){if(!this._settings.absolute)re...
  method _isMatchToPatterns (line 140) | _isMatchToPatterns(t,r,s){let a=Zd.pattern.matchAny(t,r);return!a&&s?Zd....
  method constructor (line 140) | constructor(t){this._settings=t}
  method getFilter (line 140) | getFilter(){return t=>this._isNonFatalError(t)}
  method _isNonFatalError (line 140) | _isNonFatalError(t){return nZe.errno.isEnoentCodeError(t)||this._setting...
  method constructor (line 140) | constructor(t){this._settings=t}
  method getTransformer (line 140) | getTransformer(){return t=>this._transform(t)}
  method _transform (line 140) | _transform(t){let r=t.path;return this._settings.absolute&&(r=sce.path.m...
  method constructor (line 140) | constructor(t){this._settings=t,this.errorFilter=new aZe.default(this._s...
  method _getRootDirectory (line 140) | _getRootDirectory(t){return iZe.resolve(this._settings.cwd,t.base)}
  method _getReaderOptions (line 140) | _getReaderOptions(t){let r=t.base==="."?"":t.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 cZe.default(this._set...
  method read (line 140) | async read(t){let r=this._getRootDirectory(t),s=this._getReaderOptions(t...
  method api (line 140) | api(t,r,s){return r.dynamic?this._reader.dynamic(t,s):this._reader.stati...
  method constructor (line 140) | constructor(){super(...arguments),this._reader=new AZe.default(this._set...
  method read (line 140) | read(t){let r=this._getRootDirectory(t),s=this._getReaderOptions(t),a=th...
  method api (line 140) | api(t,r,s){return r.dynamic?this._reader.dynamic(t,s):this._reader.stati...
  method constructor (line 140) | constructor(){super(...arguments),this._walkSync=gZe.walkSync,this._stat...
  method dynamic (line 140) | dynamic(t,r){return this._walkSync(t,r)}
  method static (line 140) | static(t,r){let s=[];for(let a of t){let n=this._getFullEntryPath(a),c=t...
  method _getEntry (line 140) | _getEntry(t,r,s){try{let a=this._getStat(t);return this._makeEntry(a,r)}...
  method _getStat (line 140) | _getStat(t){return this._statSync(t,this._fsStatSettings)}
  method constructor (line 140) | constructor(){super(...arguments),this._reader=new mZe.default(this._set...
  method read (line 140) | read(t){let r=this._getRootDirectory(t),s=this._getReaderOptions(t);retu...
  method api (line 140) | api(t,r,s){return r.dynamic?this._reader.dynamic(t,s):this._reader.stati...
  method constructor (line 140) | constructor(t={}){this._options=t,this.absolute=this._getValue(this._opt...
  method _getValue (line 140) | _getValue(t,r){return t===void 0?r:t}
  method _getFileSystemMethods (line 140) | _getFileSystemMethods(t={}){return Object.assign(Object.assign({},nI.DEF...
  function s8 (line 140) | async function s8(e,t){_u(e);let r=o8(e,CZe.default,t),s=await Promise.a...
  function t (line 140) | function t(h,E){_u(h);let C=o8(h,BZe.default,E);return Rc.array.flatten(C)}
    method constructor (line 226) | constructor(s){super(s)}
    method submit (line 226) | async submit(){this.value=await e.call(this,this.values,this.state),su...
    method create (line 226) | static create(s){return ege(s)}
  function r (line 140) | function r(h,E){_u(h);let C=o8(h,wZe.default,E);return Rc.stream.merge(C)}
    method constructor (line 226) | constructor(a){super({...a,choices:t})}
    method create (line 226) | static create(a){return rge(a)}
  function s (line 140) | function s(h,E){_u(h);let C=[].concat(h),S=new i8.default(E);return Ace....
  function a (line 140) | function a(h,E){_u(h);let C=new i8.default(E);return Rc.pattern.isDynami...
  function n (line 140) | function n(h){return _u(h),Rc.path.escape(h)}
  function c (line 140) | function c(h){return _u(h),Rc.path.convertPathToPattern(h)}
  function E (line 140) | function E(S){return _u(S),Rc.path.escapePosixPath(S)}
  function C (line 140) | function C(S){return _u(S),Rc.path.convertPosixPathToPattern(S)}
  function E (line 140) | function E(S){return _u(S),Rc.path.escapeWindowsPath(S)}
  function C (line 140) | function C(S){return _u(S),Rc.path.convertWindowsPathToPattern(S)}
  function o8 (line 140) | function o8(e,t,r){let s=[].concat(e),a=new i8.default(r),n=Ace.generate...
  function _u (line 140) | function _u(e){if(![].concat(e).every(s=>Rc.string.isString(s)&&!Rc.stri...
  function fs (line 140) | function fs(...e){let t=(0,BQ.createHash)("sha512"),r="";for(let s of e)...
  function vQ (line 140) | async function vQ(e,{baseFs:t,algorithm:r}={baseFs:le,algorithm:"sha512"...
  function SQ (line 140) | async function SQ(e,{cwd:t}){let s=(await(0,a8.default)(e,{cwd:fe.fromPo...
  function xa (line 140) | function xa(e,t){if(e?.startsWith("@"))throw new Error("Invalid scope: d...
  function Mn (line 140) | function Mn(e,t){return{identHash:e.identHash,scope:e.scope,name:e.name,...
  function Ks (line 140) | function Ks(e,t){return{identHash:e.identHash,scope:e.scope,name:e.name,...
  function DZe (line 140) | function DZe(e){return{identHash:e.identHash,scope:e.scope,name:e.name}}
  function DQ (line 140) | function DQ(e){return{identHash:e.identHash,scope:e.scope,name:e.name,lo...
  function c8 (line 140) | function c8(e){return{identHash:e.identHash,scope:e.scope,name:e.name,de...
  function bZe (line 140) | function bZe(e){return{identHash:e.identHash,scope:e.scope,name:e.name,l...
  function u8 (line 140) | function u8(e,t){return{identHash:t.identHash,scope:t.scope,name:t.name,...
  function x2 (line 140) | function x2(e){return u8(e,e)}
  function f8 (line 140) | function f8(e,t){if(t.includes("#"))throw new Error("Invalid entropy");r...
  function A8 (line 140) | function A8(e,t){if(t.includes("#"))throw new Error("Invalid entropy");r...
  function Qp (line 140) | function Qp(e){return e.range.startsWith(P2)}
  function Hu (line 140) | function Hu(e){return e.reference.startsWith(P2)}
  function k2 (line 140) | function k2(e){if(!Qp(e))throw new Error("Not a virtual descriptor");ret...
  function sI (line 140) | function sI(e){if(!Hu(e))throw new Error("Not a virtual descriptor");ret...
  function PZe (line 140) | function PZe(e){return Qp(e)?Mn(e,e.range.replace(bQ,"")):e}
  function xZe (line 140) | function xZe(e){return Hu(e)?Ks(e,e.reference.replace(bQ,"")):e}
  function kZe (line 140) | function kZe(e,t){return e.range.includes("::")?e:Mn(e,`${e.range}::${iI...
  function QZe (line 140) | function QZe(e,t){return e.reference.includes("::")?e:Ks(e,`${e.referenc...
  function Q2 (line 140) | function Q2(e,t){return e.identHash===t.identHash}
  function yce (line 140) | function yce(e,t){return e.descriptorHash===t.descriptorHash}
  function R2 (line 140) | function R2(e,t){return e.locatorHash===t.locatorHash}
  function RZe (line 140) | function RZe(e,t){if(!Hu(e))throw new Error("Invalid package type");if(!...
  function Pa (line 140) | function Pa(e){let t=Ece(e);if(!t)throw new Error(`Invalid ident (${e})`...
  function Ece (line 140) | function Ece(e){let t=e.match(TZe);if(!t)return null;let[,r,s]=t;return ...
  function E0 (line 140) | function E0(e,t=!1){let r=T2(e,t);if(!r)throw new Error(`Invalid descrip...
  function T2 (line 140) | function T2(e,t=!1){let r=t?e.match(FZe):e.match(NZe);if(!r)return null;...
  function Rp (line 140) | function Rp(e,t=!1){let r=PQ(e,t);if(!r)throw new Error(`Invalid locator...
  function PQ (line 140) | function PQ(e,t=!1){let r=t?e.match(OZe):e.match(LZe);if(!r)return null;...
  function Xd (line 140) | function Xd(e,t){let r=e.match(MZe);if(r===null)throw new Error(`Invalid...
  function UZe (line 140) | function UZe(e,t){try{return Xd(e,t)}catch{return null}}
  function _Ze (line 140) | function _Ze(e,{protocol:t}){let{selector:r,params:s}=Xd(e,{requireProto...
  function hce (line 140) | function hce(e){return e=e.replaceAll("%","%25"),e=e.replaceAll(":","%3A...
  function HZe (line 140) | function HZe(e){return e===null?!1:Object.entries(e).length>0}
  function xQ (line 140) | function xQ({protocol:e,source:t,selector:r,params:s}){let a="";return e...
  function jZe (line 140) | function jZe(e){let{params:t,protocol:r,source:s,selector:a}=Xd(e);for(l...
  function fn (line 140) | function fn(e){return e.scope?`@${e.scope}/${e.name}`:`${e.name}`}
  function GZe (line 140) | function GZe(e,t){return e.scope?xa(t,`${e.scope}__${e.name}`):xa(t,e.na...
  function qZe (line 140) | function qZe(e,t){if(e.scope!==t)return e;let r=e.name.indexOf("__");if(...
  function hl (line 140) | function hl(e){return e.scope?`@${e.scope}/${e.name}@${e.range}`:`${e.na...
  function gl (line 140) | function gl(e){return e.scope?`@${e.scope}/${e.name}@${e.reference}`:`${...
  function l8 (line 140) | function l8(e){return e.scope!==null?`@${e.scope}-${e.name}`:e.name}
  function oI (line 140) | function oI(e){let{protocol:t,selector:r}=Xd(e.reference),s=t!==null?t.r...
  function $i (line 140) | function $i(e,t){return t.scope?`${jt(e,`@${t.scope}/`,gt.SCOPE)}${jt(e,...
  function kQ (line 140) | function kQ(e){if(e.startsWith(P2)){let t=kQ(e.substring(e.indexOf("#")+...
  function aI (line 140) | function aI(e,t){return`${jt(e,kQ(t),gt.RANGE)}`}
  function oi (line 140) | function oi(e,t){return`${$i(e,t)}${jt(e,"@",gt.RANGE)}${aI(e,t.range)}`}
  function F2 (line 140) | function F2(e,t){return`${jt(e,kQ(t),gt.REFERENCE)}`}
  function Vr (line 140) | function Vr(e,t){return`${$i(e,t)}${jt(e,"@",gt.REFERENCE)}${F2(e,t.refe...
  function M4 (line 140) | function M4(e){return`${fn(e)}@${kQ(e.reference)}`}
  function lI (line 140) | function lI(e){return Ys(e,[t=>fn(t),t=>t.range])}
  function N2 (line 140) | function N2(e,t){return $i(e,t.anchoredLocator)}
  function D2 (line 140) | function D2(e,t,r){let s=Qp(t)?k2(t):t;return r===null?`${oi(e,s)} \u219...
  function U4 (line 140) | function U4(e,t,r){return r===null?`${Vr(e,t)}`:`${Vr(e,t)} (via ${aI(e,...
  function p8 (line 140) | function p8(e){return`node_modules/${fn(e)}`}
  function QQ (line 140) | function QQ(e,t){return e.conditions?SZe(e.conditions,r=>{let[,s,a]=r.ma...
  function O2 (line 140) | function O2(e){let t=new Set;if("children"in e)t.add(e);else for(let r o...
  method supportsDescriptor (line 140) | supportsDescriptor(t,r){return!!(t.range.startsWith(e.protocol)||r.proje...
  method supportsLocator (line 140) | supportsLocator(t,r){return!!t.reference.startsWith(e.protocol)}
  method shouldPersistResolution (line 140) | shouldPersistResolution(t,r){return!1}
  method bindDescriptor (line 140) | bindDescriptor(t,r,s){return t}
  method getResolutionDependencies (line 140) | getResolutionDependencies(t,r){return{}}
  method getCandidates (line 140) | async getCandidates(t,r,s){return[s.project.getWorkspaceByDescriptor(t)....
  method getSatisfying (line 140) | async getSatisfying(t,r,s,a){let[n]=await this.getCandidates(t,r,a);retu...
  method resolve (line 140) | async resolve(t,r){let s=r.project.getWorkspaceByCwd(t.reference.slice(e...
  function eA (line 140) | function eA(e,t,r=!1){if(!e)return!1;let s=`${t}${r}`,a=wce.get(s);if(ty...
  function dl (line 140) | function dl(e){if(e.indexOf(":")!==-1)return null;let t=Bce.get(e);if(ty...
  function KZe (line 140) | function KZe(e){let t=YZe.exec(e);return t?t[1]:null}
  function vce (line 140) | function vce(e){if(e.semver===Tp.default.Comparator.ANY)return{gt:null,l...
  function h8 (line 140) | function h8(e){if(e.length===0)return null;let t=null,r=null;for(let s o...
  function Sce (line 140) | function Sce(e){if(e.gt&&e.lt){if(e.gt[0]===">="&&e.lt[0]==="<="&&e.gt[1...
  function g8 (line 140) | function g8(e){let t=e.map(JZe).map(s=>dl(s).set.map(a=>a.map(n=>vce(n))...
  function JZe (line 140) | function JZe(e){let t=e.split("||");if(t.length>1){let r=new Set;for(let...
  function bce (line 140) | function bce(e){let t=e.match(/^[ \t]+/m);return t?t[0]:"  "}
  function Pce (line 140) | function Pce(e){return e.charCodeAt(0)===65279?e.slice(1):e}
  function ka (line 140) | function ka(e){return e.replace(/\\/g,"/")}
  function RQ (line 140) | function RQ(e,{yamlCompatibilityMode:t}){return t?k4(e):typeof e>"u"||ty...
  function xce (line 140) | function xce(e,t){let r=t.search(/[^!]/);if(r===-1)return"invalid";let s...
  function d8 (line 140) | function d8(e,t){return t.length===1?xce(e,t[0]):`(${t.map(r=>xce(e,r))....
  method constructor (line 140) | constructor(){this.indent="  ";this.name=null;this.version=null;this.os=...
  method tryFind (line 140) | static async tryFind(t,{baseFs:r=new Yn}={}){let s=K.join(t,"package.jso...
  method find (line 140) | static async find(t,{baseFs:r}={}){let s=await e.tryFind(t,{baseFs:r});i...
  method fromFile (line 140) | static async fromFile(t,{baseFs:r=new Yn}={}){let s=new e;return await s...
  method fromText (line 140) | static fromText(t){let r=new e;return r.loadFromText(t),r}
  method loadFromText (line 140) | loadFromText(t){let r;try{r=JSON.parse(Pce(t)||"{}")}catch(s){throw s.me...
  method loadFile (line 140) | async loadFile(t,{baseFs:r=new Yn}){let s=await r.readFilePromise(t,"utf...
  method load (line 140) | load(t,{yamlCompatibilityMode:r=!1}={}){if(typeof t!="object"||t===null)...
  method getForScope (line 140) | getForScope(t){switch(t){case"dependencies":return this.dependencies;cas...
  method hasConsumerDependency (line 140) | hasConsumerDependency(t){return!!(this.dependencies.has(t.identHash)||th...
  method hasHardDependency (line 140) | hasHardDependency(t){return!!(this.dependencies.has(t.identHash)||this.d...
  method hasSoftDependency (line 140) | hasSoftDependency(t){return!!this.peerDependencies.has(t.identHash)}
  method hasDependency (line 140) | hasDependency(t){return!!(this.hasHardDependency(t)||this.hasSoftDepende...
  method getConditions (line 140) | getConditions(){let t=[];return this.os&&this.os.length>0&&t.push(d8("os...
  method ensureDependencyMeta (line 140) | ensureDependencyMeta(t){if(t.range!=="unknown"&&!kce.default.valid(t.ran...
  method ensurePeerDependencyMeta (line 140) | ensurePeerDependencyMeta(t){if(t.range!=="unknown")throw new Error(`Inva...
  method setRawField (line 140) | setRawField(t,r,{after:s=[]}={}){let a=new Set(s.filter(n=>Object.hasOwn...
  method exportTo (line 140) | exportTo(t,{compatibilityMode:r=!0}={}){if(Object.assign(t,this.raw),thi...
  function ZZe (line 140) | function ZZe(e){return typeof e.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(t){this.cacheHits.add(t.locatorHash)}
  method reportCacheMiss (line 140) | reportCacheMiss(t,r){this.cacheMisses.add(t.locatorHash)}
  method progressViaCounter (line 140) | static progressViaCounter(t){let r=0,s,a=new Promise(p=>{s=p}),n=p=>{let...
  method progressViaTitle (line 140) | static progressViaTitle(){let t,r,s=new Promise(c=>{r=c}),a=g4(c=>{let f...
  method startProgressPromise (line 140) | async startProgressPromise(t,r){let s=this.reportProgress(t);try{return ...
  method startProgressSync (line 140) | startProgressSync(t,r){let s=this.reportProgress(t);try{return r(t)}fina...
  method reportInfoOnce (line 140) | reportInfoOnce(t,r,s){let a=s&&s.key?s.key:r;this.reportedInfos.has(a)||...
  method reportWarningOnce (line 140) | reportWarningOnce(t,r,s){let a=s&&s.key?s.key:r;this.reportedWarnings.ha...
  method reportErrorOnce (line 140) | reportErrorOnce(t,r,s){let a=s&&s.key?s.key:r;this.reportedErrors.has(a)...
  method reportExceptionOnce (line 140) | reportExceptionOnce(t){ZZe(t)?this.reportErrorOnce(t.reportCode,t.messag...
  method createStreamReporter (line 140) | createStreamReporter(t=null){let r=new Qce.PassThrough,s=new Rce.StringD...
  method constructor (line 141) | constructor(t){this.fetchers=t}
  method supports (line 141) | supports(t,r){return!!this.tryFetcher(t,r)}
  method getLocalPath (line 141) | getLocalPath(t,r){return this.getFetcher(t,r).getLocalPath(t,r)}
  method fetch (line 141) | async fetch(t,r){return await this.getFetcher(t,r).fetch(t,r)}
  method tryFetcher (line 141) | tryFetcher(t,r){let s=this.fetchers.find(a=>a.supports(t,r));return s||n...
  method getFetcher (line 141) | getFetcher(t,r){let s=this.fetchers.find(a=>a.supports(t,r));if(!s)throw...
  method constructor (line 141) | constructor(t){this.resolvers=t.filter(r=>r)}
  method supportsDescriptor (line 141) | supportsDescriptor(t,r){return!!this.tryResolverByDescriptor(t,r)}
  method supportsLocator (line 141) | supportsLocator(t,r){return!!this.tryResolverByLocator(t,r)}
  method shouldPersistResolution (line 141) | shouldPersistResolution(t,r){return this.getResolverByLocator(t,r).shoul...
  method bindDescriptor (line 141) | bindDescriptor(t,r,s){return this.getResolverByDescriptor(t,s).bindDescr...
  method getResolutionDependencies (line 141) | getResolutionDependencies(t,r){return this.getResolverByDescriptor(t,r)....
  method getCandidates (line 141) | async getCandidates(t,r,s){return await this.getResolverByDescriptor(t,s...
  method getSatisfying (line 141) | async getSatisfying(t,r,s,a){return this.getResolverByDescriptor(t,a).ge...
  method resolve (line 141) | async resolve(t,r){return await this.getResolverByLocator(t,r).resolve(t...
  method tryResolverByDescriptor (line 141) | tryResolverByDescriptor(t,r){let s=this.resolvers.find(a=>a.supportsDesc...
  method getResolverByDescriptor (line 141) | getResolverByDescriptor(t,r){let s=this.resolvers.find(a=>a.supportsDesc...
  method tryResolverByLocator (line 141) | tryResolverByLocator(t,r){let s=this.resolvers.find(a=>a.supportsLocator...
  method getResolverByLocator (line 141) | getResolverByLocator(t,r){let s=this.resolvers.find(a=>a.supportsLocator...
  method supports (line 141) | supports(t){return!!t.reference.startsWith("virtual:")}
  method getLocalPath (line 141) | getLocalPath(t,r){let s=t.reference.indexOf("#");if(s===-1)throw new Err...
  method fetch (line 141) | async fetch(t,r){let s=t.reference.indexOf("#");if(s===-1)throw new Erro...
  method getLocatorFilename (line 141) | getLocatorFilename(t){return oI(t)}
  method ensureVirtualLink (line 141) | async ensureVirtualLink(t,r,s){let a=r.packageFs.getRealPath(),n=s.proje...
  method isVirtualDescriptor (line 141) | static isVirtualDescriptor(t){return!!t.range.startsWith(e.protocol)}
  method isVirtualLocator (line 141) | static isVirtualLocator(t){return!!t.reference.startsWith(e.protocol)}
  method supportsDescriptor (line 141) | supportsDescriptor(t,r){return e.isVirtualDescriptor(t)}
  method supportsLocator (line 141) | supportsLocator(t,r){return e.isVirtualLocator(t)}
  method shouldPersistResolution (line 141) | shouldPersistResolution(t,r){return!1}
  method bindDescriptor (line 141) | bindDescriptor(t,r,s){throw new Error('Assertion failed: calling "bindDe...
  method getResolutionDependencies (line 141) | getResolutionDependencies(t,r){throw new Error('Assertion failed: callin...
  method getCandidates (line 141) | async getCandidates(t,r,s){throw new Error('Assertion failed: calling "g...
  method getSatisfying (line 141) | async getSatisfying(t,r,s,a){throw new Error('Assertion failed: calling ...
  method resolve (line 141) | async resolve(t,r){throw new Error('Assertion failed: calling "resolve" ...
  method supports (line 141) | supports(t){return!!t.reference.startsWith(Ii.protocol)}
  method getLocalPath (line 141) | getLocalPath(t,r){return this.getWorkspace(t,r).cwd}
  method fetch (line 141) | async fetch(t,r){let s=this.getWorkspace(t,r).cwd;return{packageFs:new b...
  method getWorkspace (line 141) | getWorkspace(t,r){return r.project.getWorkspaceByCwd(t.reference.slice(I...
  function L2 (line 141) | function L2(e){return typeof e=="object"&&e!==null&&!Array.isArray(e)}
  function Fce (line 141) | function Fce(e){return typeof e>"u"?3:L2(e)?0:Array.isArray(e)?1:2}
  function B8 (line 141) | function B8(e,t){return Object.hasOwn(e,t)}
  function $Ze (line 141) | function $Ze(e){return L2(e)&&B8(e,"onConflict")&&typeof e.onConflict=="...
  function eXe (line 141) | function eXe(e){if(typeof e>"u")return{onConflict:"default",value:e};if(...
  function Nce (line 141) | function Nce(e,t){let r=L2(e)&&B8(e,t)?e[t]:void 0;return eXe(r)}
  function pI (line 141) | function pI(e,t){return[e,t,Oce]}
  function v8 (line 141) | function v8(e){return Array.isArray(e)?e[2]===Oce:!1}
  function C8 (line 141) | function C8(e,t){if(L2(e)){let r={};for(let s of Object.keys(e))r[s]=C8(...
  function w8 (line 141) | function w8(e,t,r,s,a){let n,c=[],f=a,p=0;for(let E=a-1;E>=s;--E){let[C,...
  function Lce (line 141) | function Lce(e){return w8(e.map(([t,r])=>[t,{".":r}]),[],".",0,e.length)}
  function M2 (line 141) | function M2(e){return v8(e)?e[1]:e}
  function FQ (line 141) | function FQ(e){let t=v8(e)?e[1]:e;if(Array.isArray(t))return t.map(r=>FQ...
  function S8 (line 141) | function S8(e){return v8(e)?e[0]:null}
  function b8 (line 141) | function b8(){if(process.platform==="win32"){let e=fe.toPortablePath(pro...
  function hI (line 141) | function hI(){return fe.toPortablePath((0,D8.homedir)()||"/usr/local/sha...
  function P8 (line 141) | function P8(e,t){let r=K.relative(t,e);return r&&!r.startsWith("..")&&!K...
  method constructor (line 141) | constructor(t){let{proxy:r,proxyRequestOptions:s,...a}=t;super(a),this.p...
  method createConnection (line 141) | createConnection(t,r){let s={...this.proxyRequestOptions,method:"CONNECT...
  method constructor (line 141) | constructor(t){let{proxy:r,proxyRequestOptions:s,...a}=t;super(a),this.p...
  method createConnection (line 141) | createConnection(t,r){let s={...this.proxyRequestOptions,method:"CONNECT...
  function rXe (line 141) | function rXe(e){return Wce.includes(e)}
  function iXe (line 141) | function iXe(e){return nXe.includes(e)}
  function oXe (line 141) | function oXe(e){return sXe.includes(e)}
  function gI (line 141) | function gI(e){return t=>typeof t===e}
  function Pe (line 141) | function Pe(e){if(e===null)return"null";switch(typeof e){case"undefined"...
  method constructor (line 141) | constructor(t){super(t||"Promise was canceled"),this.name="CancelError"}
  method isCanceled (line 141) | get isCanceled(){return!0}
  method fn (line 141) | static fn(t){return(...r)=>new e((s,a,n)=>{r.push(n),t(...r).then(s,a)})}
  method constructor (line 141) | constructor(t){this._cancelHandlers=[],this._isPending=!0,this._isCancel...
  method then (line 141) | then(t,r){return this._promise.then(t,r)}
  method catch (line 141) | catch(t){return this._promise.catch(t)}
  method finally (line 141) | finally(t){return this._promise.finally(t)}
  method cancel (line 141) | cancel(t){if(!(!this._isPending||this._isCanceled)){if(this._cancelHandl...
  method isCanceled (line 141) | get isCanceled(){return this._isCanceled}
  function pXe (line 141) | function pXe(e){return e.encrypted}
  method constructor (line 141) | constructor({cache:t=new Map,maxTtl:r=1/0,fallbackDuration:s=3600,errorT...
  method servers (line 141) | set servers(t){this.clear(),this._resolver.setServers(t)}
  method servers (line 141) | get servers(){return this._resolver.getServers()}
  method lookup (line 141) | lookup(t,r,s){if(typeof r=="function"?(s=r,r={}):typeof r=="number"&&(r=...
  method lookupAsync (line 141) | async lookupAsync(t,r={}){typeof r=="number"&&(r={family:r});let s=await...
  method query (line 141) | async query(t){let r=await this._cache.get(t);if(!r){let s=this._pending...
  method _resolve (line 141) | async _resolve(t){let r=async h=>{try{return await h}catch(E){if(E.code=...
  method _lookup (line 141) | async _lookup(t){try{return{entries:await this._dnsLookup(t,{all:!0}),ca...
  method _set (line 141) | async _set(t,r,s){if(this.maxTtl>0&&s>0){s=Math.min(s,this.maxTtl)*1e3,r...
  method queryAndCache (line 141) | async queryAndCache(t){if(this._hostnamesToFallback.has(t))return this._...
  method _tick (line 141) | _tick(t){let r=this._nextRemovalTime;(!r||t<r)&&(clearTimeout(this._remo...
  method install (line 141) | install(t){if(eue(t),dI in t)throw new Error("CacheableLookup has been a...
  method uninstall (line 141) | uninstall(t){if(eue(t),t[dI]){if(t[j8]!==this)throw new Error("The agent...
  method updateInterfaceInfo (line 141) | updateInterfaceInfo(){let{_iface:t}=this;this._iface=tue(),(t.has4&&!thi...
  method clear (line 141) | clear(t){if(t){this._cache.delete(t);return}this._cache.clear()}
  function lue (line 141) | function lue(e,t){if(e&&t)return lue(e)(t);if(typeof e!="function")throw...
  function HQ (line 141) | function HQ(e){var t=function(){return t.called?t.value:(t.called=!0,t.v...
  function Aue (line 141) | function Aue(e){var t=function(){if(t.called)throw new Error(t.onceError...
  method constructor (line 141) | constructor(){super("maxBuffer exceeded"),this.name="MaxBufferError"}
  function qQ (line 141) | async function qQ(e,t){if(!e)return Promise.reject(new Error("Expected a...
  function tm (line 141) | function tm(e){let t=parseInt(e,10);return isFinite(t)?t:0}
  function KXe (line 141) | function KXe(e){return e?WXe.has(e.status):!0}
  function J8 (line 141) | function J8(e){let t={};if(!e)return t;let r=e.trim().split(/,/);for(let...
  function JXe (line 141) | function JXe(e){let t=[];for(let r in e){let s=e[r];t.push(s===!0?r:r+"=...
  method constructor (line 141) | constructor(t,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(t){if(!t||!t.headers)throw Error("Request heade...
  method satisfiesWithoutRevalidation (line 141) | satisfiesWithoutRevalidation(t){this._assertRequestHasHeaders(t);let r=J...
  method _requestMatches (line 141) | _requestMatches(t,r){return(!this._url||this._url===t.url)&&this._host==...
  method _allowsStoringAuthenticated (line 141) | _allowsStoringAuthenticated(){return this._rescc["must-revalidate"]||thi...
  method _varyMatches (line 141) | _varyMatches(t){if(!this._resHeaders.vary)return!0;if(this._resHeaders.v...
  method _copyWithoutHopByHopHeaders (line 141) | _copyWithoutHopByHopHeaders(t){let r={};for(let s in t)VXe[s]||(r[s]=t[s...
  method responseHeaders (line 141) | responseHeaders(){let t=this._copyWithoutHopByHopHeaders(this._resHeader...
  method date (line 141) | date(){let t=Date.parse(this._resHeaders.date);return isFinite(t)?t:this...
  method age (line 141) | age(){let t=this._ageValue(),r=(this.now()-this._responseTime)/1e3;retur...
  method _ageValue (line 141) | _ageValue(){return tm(this._resHeaders.age)}
  method maxAge (line 141) | maxAge(){if(!this.storable()||this._rescc["no-cache"]||this._isShared&&t...
  method timeToLive (line 141) | timeToLive(){let t=this.maxAge()-this.age(),r=t+tm(this._rescc["stale-if...
  method stale (line 141) | stale(){return this.maxAge()<=this.age()}
  method _useStaleIfError (line 141) | _useStaleIfError(){return this.maxAge()+tm(this._rescc["stale-if-error"]...
  method useStaleWhileRevalidate (line 141) | useStaleWhileRevalidate(){return this.maxAge()+tm(this._rescc["stale-whi...
  method fromObject (line 141) | static fromObject(t){return new this(void 0,void 0,{_fromObject:t})}
  method _fromObject (line 141) | _fromObject(t){if(this._responseTime)throw Error("Reinitialized");if(!t|...
  method toObject (line 141) | toObject(){return{v:1,t:this._responseTime,sh:this._isShared,ch:this._ca...
  method revalidationHeaders (line 141) | revalidationHeaders(t){this._assertRequestHasHeaders(t);let r=this._copy...
  method revalidatedPolicy (line 141) | revalidatedPolicy(t,r){if(this._assertRequestHasHeaders(t),this._useStal...
  method constructor (line 141) | constructor(t,r,s,a){if(typeof t!="number")throw new TypeError("Argument...
  method _read (line 141) | _read(){this.push(this.body),this.push(null)}
  method constructor (line 141) | constructor(t,{emitErrors:r=!0,...s}={}){if(super(),this.opts={namespace...
  method _checkIterableAdaptar (line 141) | _checkIterableAdaptar(){return Rue.includes(this.opts.store.opts.dialect...
  method _getKeyPrefix (line 141) | _getKeyPrefix(t){return`${this.opts.namespace}:${t}`}
  method _getKeyPrefixArray (line 141) | _getKeyPrefixArray(t){return t.map(r=>`${this.opts.namespace}:${r}`)}
  method _getKeyUnprefix (line 141) | _getKeyUnprefix(t){return t.split(":").splice(1).join(":")}
  method get (line 141) | get(t,r){let{store:s}=this.opts,a=Array.isArray(t),n=a?this._getKeyPrefi...
  method set (line 141) | set(t,r,s){let a=this._getKeyPrefix(t);typeof s>"u"&&(s=this.opts.ttl),s...
  method delete (line 141) | delete(t){let{store:r}=this.opts;if(Array.isArray(t)){let a=this._getKey...
  method clear (line 141) | clear(){let{store:t}=this.opts;return Promise.resolve().then(()=>t.clear...
  method has (line 141) | has(t){let r=this._getKeyPrefix(t),{store:s}=this.opts;return Promise.re...
  method disconnect (line 141) | disconnect(){let{store:t}=this.opts;if(typeof t.disconnect=="function")r...
  method constructor (line 141) | constructor(t,r){if(typeof t!="function")throw new TypeError("Parameter ...
  method createCacheableRequest (line 141) | createCacheableRequest(t){return(r,s)=>{let a;if(typeof r=="string")a=eH...
  function u$e (line 141) | function u$e(e){let t={...e};return t.path=`${e.pathname||"/"}${e.search...
  function eH (line 141) | function eH(e){return{protocol:e.protocol,auth:e.auth,hostname:e.hostnam...
  method constructor (line 141) | constructor(e){super(e.message),this.name="RequestError",Object.assign(t...
  method constructor (line 141) | constructor(e){super(e.message),this.name="CacheError",Object.assign(thi...
  method get (line 141) | get(){let n=e[a];return typeof n=="function"?n.bind(e):n}
  method set (line 141) | set(n){e[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){e.destroy(),p(f)}
  method constructor (line 141) | constructor(t={}){if(!(t.maxSize&&t.maxSize>0))throw new TypeError("`max...
  method _set (line 141) | _set(t,r){if(this.cache.set(t,r),this._size++,this._size>=this.maxSize){...
  method get (line 141) | get(t){if(this.cache.has(t))return this.cache.get(t);if(this.oldCache.ha...
  method set (line 141) | set(t,r){return this.cache.has(t)?this.cache.set(t,r):this._set(t,r),this}
  method has (line 141) | has(t){return this.cache.has(t)||this.oldCache.has(t)}
  method peek (line 141) | peek(t){if(this.cache.has(t))return this.cache.get(t);if(this.oldCache.h...
  method delete (line 141) | delete(t){let r=this.cache.delete(t);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[t]of this)yield t}
  method values (line 141) | *values(){for(let[,t]of this)yield t}
  method [Symbol.iterator] (line 141) | *[Symbol.iterator](){for(let t of this.cache)yield t;for(let t of this.o...
  method size (line 141) | get size(){let t=0;for(let r of this.oldCache.keys())this.cache.has(r)||...
  method constructor (line 141) | constructor({timeout:t=6e4,maxSessions:r=1/0,maxFreeSessions:s=10,maxCac...
  method normalizeOrigin (line 141) | static normalizeOrigin(t,r){return typeof t=="string"&&(t=new URL(t)),r&...
  method normalizeOptions (line 141) | normalizeOptions(t){let r="";if(t)for(let s of E$e)t[s]&&(r+=`:${t[s]}`)...
  method _tryToCreateNewSession (line 141) | _tryToCreateNewSession(t,r){if(!(t in this.queue)||!(r in this.queue[t])...
  method getSession (line 141) | getSession(t,r,s){return new Promise((a,n)=>{Array.isArray(s)?(s=[...s],...
  method request (line 142) | request(t,r,s,a){return new Promise((n,c)=>{this.getSession(t,r,[{reject...
  method createConnection (line 142) | createConnection(t,r){return e.connect(t,r)}
  method connect (line 142) | static connect(t,r){r.ALPNProtocols=["h2"];let s=t.port||443,a=t.hostnam...
  method closeFreeSessions (line 142) | closeFreeSessions(){for(let t of Object.values(this.sessions))for(let r ...
  method destroy (line 142) | destroy(t){for(let r of Object.values(this.sessions))for(let s of r)s.de...
  method freeSessions (line 142) | get freeSessions(){return que({agent:this,isFree:!0})}
  method busySessions (line 142) | get busySessions(){return que({agent:this,isFree:!1})}
  method constructor (line 142) | constructor(t,r){super({highWaterMark:r,autoDestroy:!1}),this.statusCode...
  method _destroy (line 142) | _destroy(t){this.req._request.destroy(t)}
  method setTimeout (line 142) | setTimeout(t,r){return this.req.setTimeout(t,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(t,r,s){super({autoDestroy:!1});let a=typeof t=="string"||t i...
  method method (line 142) | get method(){return this[ea][ife]}
  method method (line 142) | set method(t){t&&(this[ea][ife]=t.toUpperCase())}
  method path (line 142) | get path(){return this[ea][sfe]}
  method path (line 142) | set path(t){t&&(this[ea][sfe]=t)}
  method _mustNotHaveABody (line 142) | get _mustNotHaveABody(){return this.method==="GET"||this.method==="HEAD"...
  method _write (line 142) | _write(t,r,s){if(this._mustNotHaveABody){s(new Error("The GET, HEAD and ...
  method _final (line 142) | _final(t){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(t,r){this.res&&this.res._dump(),this._request&&this._request.de...
  method flushHeaders (line 142) | async flushHeaders(){if(this[YQ]||this.destroyed)return;this[YQ]=!0;let ...
  method getHeader (line 142) | getHeader(t){if(typeof t!="string")throw new cH("name","string",t);retur...
  method headersSent (line 142) | get headersSent(){return this[YQ]}
  method removeHeader (line 142) | removeHeader(t){if(typeof t!="string")throw new cH("name","string",t);if...
  method setHeader (line 142) | setHeader(t,r){if(this.headersSent)throw new rfe("set");if(typeof t!="st...
  method setNoDelay (line 142) | setNoDelay(){}
  method setSocketKeepAlive (line 142) | setSocketKeepAlive(){}
  method setTimeout (line 142) | setTimeout(t,r){let s=()=>this._request.setTimeout(t,r);return this._req...
  method maxHeadersCount (line 142) | get maxHeadersCount(){if(!this.destroyed&&this._request)return this._req...
  method maxHeadersCount (line 142) | set maxHeadersCount(t){}
  function eet (line 142) | function eet(e,t,r){let s={};for(let a of r)s[a]=(...n)=>{t.emit(a,...n)...
  method once (line 142) | once(t,r,s){t.once(r,s),e.push({origin:t,event:r,fn:s})}
  method unhandleAll (line 142) | unhandleAll(){for(let t of e){let{origin:r,event:s,fn:a}=t;r.removeListe...
  method constructor (line 142) | constructor(t,r){super(`Timeout awaiting '${r}' for ${t}ms`),this.event=...
  method constructor (line 142) | constructor(){this.weakMap=new WeakMap,this.map=new Map}
  method set (line 142) | set(t,r){typeof t=="object"?this.weakMap.set(t,r):this.map.set(t,r)}
  method get (line 142) | get(t){return typeof t=="object"?this.weakMap.get(t):this.map.get(t)}
  method has (line 142) | has(t){return typeof t=="object"?this.weakMap.has(t):this.map.has(t)}
  function bet (line 142) | function bet(e){for(let t in e){let r=e[t];if(!lt.default.string(r)&&!lt...
  function Pet (line 142) | function Pet(e){return lt.default.object(e)&&!("statusCode"in e)}
  method constructor (line 142) | constructor(t,r,s){var a;if(super(t),Error.captureStackTrace(this,this.c...
  method constructor (line 146) | constructor(t){super(`Redirected ${t.options.maxRedirects} times. Aborti...
  method constructor (line 146) | constructor(t){super(`Response code ${t.statusCode} (${t.statusMessage})...
  method constructor (line 146) | constructor(t,r){super(t.message,t,r),this.name="CacheError"}
  method constructor (line 146) | constructor(t,r){super(t.message,t,r),this.name="UploadError"}
  method constructor (line 146) | constructor(t,r,s){super(t.message,t,s),this.name="TimeoutError",this.ev...
  method constructor (line 146) | constructor(t,r){super(t.message,t,r),this.name="ReadError"}
  method constructor (line 146) | constructor(t){super(`Unsupported protocol "${t.url.protocol}"`,{},t),th...
  method constructor (line 146) | constructor(t,r={},s){super({autoDestroy:!1,highWaterMark:0}),this[CI]=0...
  method normalizeArguments (line 146) | static normalizeArguments(t,r,s){var a,n,c,f,p;let h=r;if(lt.default.obj...
  method _lockWrite (line 146) | _lockWrite(){let t=()=>{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:t}=this,{headers:r}=t,s=!lt.default.un...
  method _onResponseBase (line 146) | async _onResponseBase(t){let{options:r}=this,{url:s}=r;this[Vfe]=t,r.dec...
  method _onResponse (line 146) | async _onResponse(t){try{await this._onResponseBase(t)}catch(r){this._be...
  method _onRequest (line 146) | _onRequest(t){let{options:r}=this,{timeout:s,url:a}=r;Aet.default(t),thi...
  method _createCacheableRequest (line 146) | async _createCacheableRequest(t,r){return new Promise((s,a)=>{Object.ass...
  method _makeRequest (line 146) | async _makeRequest(){var t,r,s,a,n;let{options:c}=this,{headers:f}=c;for...
  method _error (line 146) | async _error(t){try{for(let r of this.options.hooks.beforeError)t=await ...
  method _beforeError (line 146) | _beforeError(t){if(this[vI])return;let{options:r}=this,s=this.retryCount...
  method _read (line 146) | _read(){this[XQ]=!0;let t=this[$Q];if(t&&!this[vI]){t.readableLength&&(t...
  method _write (line 146) | _write(t,r,s){let a=()=>{this._writeRequest(t,r,s)};this.requestInitiali...
  method _writeRequest (line 146) | _writeRequest(t,r,s){this[Eo].destroyed||(this._progressCallbacks.push((...
  method _final (line 146) | _final(t){let r=()=>{for(;this._progressCallbacks.length!==0;)this._prog...
  method _destroy (line 146) | _destroy(t,r){var s;this[vI]=!0,clearTimeout(this[Yfe]),Eo in this&&(thi...
  method _isAboutToError (line 146) | get _isAboutToError(){return this[vI]}
  method ip (line 146) | get ip(){var t;return(t=this.socket)===null||t===void 0?void 0:t.remoteA...
  method aborted (line 146) | get aborted(){var t,r,s;return((r=(t=this[Eo])===null||t===void 0?void 0...
  method socket (line 146) | get socket(){var t,r;return(r=(t=this[Eo])===null||t===void 0?void 0:t.s...
  method downloadProgress (line 146) | get downloadProgress(){let t;return this[II]?t=this[CI]/this[II]:this[II...
  method uploadProgress (line 146) | get uploadProgress(){let t;return this[wI]?t=this[BI]/this[wI]:this[wI]=...
  method timings (line 146) | get timings(){var t;return(t=this[Eo])===null||t===void 0?void 0:t.timings}
  method isFromCache (line 146) | get isFromCache(){return this[qfe]}
  method pipe (line 146) | pipe(t,r){if(this[Wfe])throw new Error("Failed to pipe. The response has...
  method unpipe (line 146) | unpipe(t){return t instanceof RH.ServerResponse&&this[ZQ].delete(t),supe...
  method constructor (line 146) | constructor(t,r){let{options:s}=r.request;super(`${t.message} in "${s.ur...
  method constructor (line 146) | constructor(t){super("Promise was canceled",{},t),this.name="CancelError"}
  method isCanceled (line 146) | get isCanceled(){return!0}
  function eAe (line 146) | function eAe(e){let t,r,s=new Met.EventEmitter,a=new _et((c,f,p)=>{let h...
  function Wet (line 146) | function Wet(e,...t){let r=(async()=>{if(e instanceof qet.RequestError)t...
  function nAe (line 146) | function nAe(e){for(let t of Object.values(e))(rAe.default.plainObject(t...
  function qH (line 146) | async function qH(e){return Zl(gAe,e,()=>le.readFilePromise(e).then(t=>(...
  function ott (line 146) | function ott({statusCode:e,statusMessage:t},r){let s=jt(r,e,gt.NUMBER),a...
  function fR (line 146) | async function fR(e,{configuration:t,customErrorMessage:r}){try{return a...
  function yAe (line 146) | function yAe(e,t){let r=[...t.configuration.get("networkSettings")].sort...
  function z2 (line 146) | async function z2(e,t,{configuration:r,headers:s,jsonRequest:a,jsonRespo...
  function VH (line 146) | async function VH(e,{configuration:t,jsonResponse:r,customErrorMessage:s...
  function att (line 146) | async function att(e,t,{customErrorMessage:r,...s}){return(await fR(z2(e...
  function YH (line 146) | async function YH(e,t,{customErrorMessage:r,...s}){return(await fR(z2(e,...
  function ltt (line 146) | async function ltt(e,{customErrorMessage:t,...r}){return(await fR(z2(e,n...
  function ctt (line 146) | async function ctt(e,t,{configuration:r,headers:s,jsonRequest:a,jsonResp...
  function ptt (line 146) | function ptt(){if(process.platform!=="linux")return null;let e;try{e=le....
  function Z2 (line 146) | function Z2(){return CAe=CAe??{os:(process.env.YARN_IS_TEST_ENV?process....
  function htt (line 146) | function htt(e=Z2()){return e.libc?`${e.os}-${e.cpu}-${e.libc}`:`${e.os}...
  function KH (line 146) | function KH(){let e=Z2();return wAe=wAe??{os:[e.os],cpu:[e.cpu],libc:e.l...
  function mtt (line 146) | function mtt(e){let t=gtt.exec(e);if(!t)return null;let r=t[2]&&t[2].ind...
  function ytt (line 146) | function ytt(){let t=new Error().stack.split(`
  function JH (line 147) | function JH(){return typeof pR.default.availableParallelism<"u"?pR.defau...
  function rj (line 147) | function rj(e,t,r,s,a){let n=M2(r);if(s.isArray||s.type==="ANY"&&Array.i...
  function ZH (line 147) | function ZH(e,t,r,s,a){let n=M2(r);switch(s.type){case"ANY":return FQ(n)...
  function wtt (line 147) | function wtt(e,t,r,s,a){let n=M2(r);if(typeof n!="object"||Array.isArray...
  function Btt (line 147) | function Btt(e,t,r,s,a){let n=M2(r),c=new Map;if(typeof n!="object"||Arr...
  function nj (line 147) | function nj(e,t,{ignoreArrays:r=!1}={}){switch(t.type){case"SHAPE":{if(t...
  function mR (line 147) | function mR(e,t,r){if(t.type==="SECRET"&&typeof e=="string"&&r.hideSecre...
  function vtt (line 147) | function vtt(){let e={};for(let[t,r]of Object.entries(process.env))t=t.t...
  function $H (line 147) | function $H(){let e=`${yR}rc_filename`;for(let[t,r]of Object.entries(pro...
  function BAe (line 147) | async function BAe(e){try{return await le.readFilePromise(e)}catch{retur...
  function Stt (line 147) | async function Stt(e,t){return Buffer.compare(...await Promise.all([BAe(...
  function Dtt (line 147) | async function Dtt(e,t){let[r,s]=await Promise.all([le.statPromise(e),le...
  function Ptt (line 147) | async function Ptt({configuration:e,selfPath:t}){let r=e.get("yarnPath")...
  method constructor (line 147) | constructor(t){this.isCI=Mp.isCI;this.projectCwd=null;this.plugins=new M...
  method create (line 147) | static create(t,r,s){let a=new e(t);typeof r<"u"&&!(r instanceof Map)&&(...
  method find (line 147) | static async find(t,r,{strict:s=!0,usePathCheck:a=null,useRc:n=!0}={}){l...
  method findRcFiles (line 147) | static async findRcFiles(t){let r=$H(),s=[],a=t,n=null;for(;a!==n;){n=a;...
  method findFolderRcFile (line 147) | static async findFolderRcFile(t){let r=K.join(t,Er.rc),s;try{s=await le....
  method findProjectCwd (line 147) | static async findProjectCwd(t){let r=null,s=t,a=null;for(;s!==a;){if(a=s...
  method updateConfiguration (line 147) | static async updateConfiguration(t,r,s={}){let a=$H(),n=K.join(t,a),c=le...
  method addPlugin (line 147) | static async addPlugin(t,r){r.length!==0&&await e.updateConfiguration(t,...
  method updateHomeConfiguration (line 147) | static async updateHomeConfiguration(t){let r=hI();return await e.update...
  method activatePlugin (line 147) | activatePlugin(t,r){this.plugins.set(t,r),typeof r.configuration<"u"&&th...
  method importSettings (line 147) | importSettings(t){for(let[r,s]of Object.entries(t))if(s!=null){if(this.s...
  method useWithSource (line 147) | useWithSource(t,r,s,a){try{this.use(t,r,s,a)}catch(n){throw n.message+=`...
  method use (line 147) | use(t,r,s,{strict:a=!0,overwrite:n=!1}={}){a=a&&this.get("enableStrictSe...
  method get (line 147) | get(t){if(!this.values.has(t))throw new Error(`Invalid configuration key...
  method getSpecial (line 147) | getSpecial(t,{hideSecrets:r=!1,getNativePaths:s=!1}){let a=this.get(t),n...
  method getSubprocessStreams (line 147) | getSubprocessStreams(t,{header:r,prefix:s,report:a}){let n,c,f=le.create...
  method makeResolver (line 148) | makeResolver(){let t=[];for(let r of this.plugins.values())for(let s of ...
  method makeFetcher (line 148) | makeFetcher(){let t=[];for(let r of this.plugins.values())for(let s of r...
  method getLinkers (line 148) | getLinkers(){let t=[];for(let r of this.plugins.values())for(let s of r....
  method getSupportedArchitectures (line 148) | getSupportedArchitectures(){let t=Z2(),r=this.get("supportedArchitecture...
  method isInteractive (line 148) | isInteractive({interactive:t,stdout:r}){return r.isTTY?t??this.get("pref...
  method getPackageExtensions (line 148) | async getPackageExtensions(){if(this.packageExtensions!==null)return thi...
  method normalizeLocator (line 148) | normalizeLocator(t){return dl(t.reference)?Ks(t,`${this.get("defaultProt...
  method normalizeDependency (line 148) | normalizeDependency(t){return dl(t.range)?Mn(t,`${this.get("defaultProto...
  method normalizeDependencyMap (line 148) | normalizeDependencyMap(t){return new Map([...t].map(([r,s])=>[r,this.nor...
  method normalizePackage (line 148) | normalizePackage(t,{packageExtensions:r}){let s=x2(t),a=r.get(t.identHas...
  method getLimit (line 148) | getLimit(t){return Zl(this.limits,t,()=>(0,bAe.default)(this.get(t)))}
  method triggerHook (line 148) | async triggerHook(t,...r){for(let s of this.plugins.values()){let a=s.ho...
  method triggerMultipleHooks (line 148) | async triggerMultipleHooks(t,r){for(let s of r)await this.triggerHook(t,...
  method reduceHook (line 148) | async reduceHook(t,r,...s){let a=r;for(let n of this.plugins.values()){l...
  method firstHook (line 148) | async firstHook(t,...r){for(let s of this.plugins.values()){let a=s.hook...
  function im (line 148) | function im(e){return e!==null&&typeof e.fd=="number"}
  function ij (line 148) | function ij(){}
  function sj (line 148) | function sj(){for(let e of sm)e.kill()}
  function Gu (line 148) | async function Gu(e,t,{cwd:r,env:s=process.env,strict:a=!1,stdin:n=null,...
  function zH (line 148) | async function zH(e,t,{cwd:r,env:s=process.env,encoding:a="utf8",strict:...
  function lj (line 148) | function lj(e,t){let r=xtt.get(t);return typeof r<"u"?128+r:e??1}
  function ktt (line 148) | function ktt(e,t,{configuration:r,report:s}){s.reportError(1,`  ${Zf(r,e...
  method constructor (line 148) | constructor({fileName:t,code:r,signal:s}){let a=ze.create(K.cwd()),n=jt(...
  method constructor (line 148) | constructor({fileName:t,code:r,signal:s,stdout:a,stderr:n}){super({fileN...
  function kAe (line 148) | function kAe(e){xAe=e}
  function tv (line 148) | function tv(){return typeof cj>"u"&&(cj=xAe()),cj}
  function x (line 148) | function x(Je){return r.locateFile?r.locateFile(Je,S):S+Je}
  function Ae (line 148) | function Ae(Je,ot,St){switch(ot=ot||"i8",ot.charAt(ot.length-1)==="*"&&(...
  function Se (line 148) | function Se(Je,ot){Je||ns("Assertion failed: "+ot)}
  function Be (line 148) | function Be(Je){var ot=r["_"+Je];return Se(ot,"Cannot call unknown funct...
  function me (line 148) | function me(Je,ot,St,lr,ee){var ye={string:function(qi){var Fn=0;if(qi!=...
  function ce (line 148) | function ce(Je,ot,St,lr){St=St||[];var ee=St.every(function(Oe){return O...
  function De (line 148) | function De(Je,ot){if(!Je)return"";for(var St=Je+ot,lr=Je;!(lr>=St)&&Re[...
  function Qe (line 148) | function Qe(Je,ot,St,lr){if(!(lr>0))return 0;for(var ee=St,ye=St+lr-1,Oe...
  function it (line 148) | function it(Je,ot,St){return Qe(Je,Re,ot,St)}
  function _ (line 148) | function _(Je){for(var ot=0,St=0;St<Je.length;++St){var lr=Je.charCodeAt...
  function tt (line 148) | function tt(Je){var ot=_(Je)+1,St=qa(ot);return St&&Qe(Je,je,St,ot),St}
  function Ne (line 148) | function Ne(Je,ot){je.set(Je,ot)}
  function ke (line 148) | function ke(Je,ot){return Je%ot>0&&(Je+=ot-Je%ot),Je}
  function z (line 148) | function z(Je){be=Je,r.HEAP_DATA_VIEW=F=new DataView(Je),r.HEAP8=je=new ...
  function Ct (line 148) | function Ct(){if(r.preRun)for(typeof r.preRun=="function"&&(r.preRun=[r....
  function qt (line 148) | function qt(){ut=!0,Ns(xe)}
  function ir (line 148) | function ir(){if(r.postRun)for(typeof r.postRun=="function"&&(r.postRun=...
  function Pt (line 148) | function Pt(Je){se.unshift(Je)}
  function dn (line 148) | function dn(Je){xe.unshift(Je)}
  function Pr (line 148) | function Pr(Je){Fe.unshift(Je)}
  function li (line 148) | function li(Je){Ir++,r.monitorRunDependencies&&r.monitorRunDependencies(...
  function So (line 148) | function So(Je){if(Ir--,r.monitorRunDependencies&&r.monitorRunDependenci...
  function ns (line 148) | function ns(Je){r.onAbort&&r.onAbort(Je),Je+="",te(Je),Ee=!0,g=1,Je="abo...
  function Do (line 148) | function Do(Je){return Je.startsWith(so)}
  function oo (line 148) | function oo(Je){try{if(Je==ji&&ae)return new Uint8Array(ae);var ot=Ue(Je...
  function bo (line 148) | function bo(Je,ot){var St,lr,ee;try{ee=oo(Je),lr=new WebAssembly.Module(...
  function RA (line 148) | function RA(){var Je={a:au};function ot(ee,ye){var Oe=ee.exports;r.asm=O...
  function hf (line 148) | function hf(Je){return F.getFloat32(Je,!0)}
  function hh (line 148) | function hh(Je){return F.getFloat64(Je,!0)}
  function gh (line 148) | function gh(Je){return F.getInt16(Je,!0)}
  function ao (line 148) | function ao(Je){return F.getInt32(Je,!0)}
  function Gn (line 148) | function Gn(Je,ot){F.setInt32(Je,ot,!0)}
  function Ns (line 148) | function Ns(Je){for(;Je.length>0;){var ot=Je.shift();if(typeof ot=="func...
  function lo (line 148) | function lo(Je,ot){var St=new Date(ao((Je>>2)*4)*1e3);Gn((ot>>2)*4,St.ge...
  function iu (line 148) | function iu(Je,ot){return lo(Je,ot)}
  function su (line 148) | function su(Je,ot,St){Re.copyWithin(Je,ot,ot+St)}
  function ou (line 148) | function ou(Je){try{return Ce.grow(Je-be.byteLength+65535>>>16),z(Ce.buf...
  function TA (line 148) | function TA(Je){var ot=Re.length;Je=Je>>>0;var St=2147483648;if(Je>St)re...
  function FA (line 148) | function FA(Je){ue(Je)}
  function ua (line 148) | function ua(Je){var ot=Date.now()/1e3|0;return Je&&Gn((Je>>2)*4,ot),ot}
  function fa (line 148) | function fa(){if(fa.called)return;fa.called=!0;var Je=new Date().getFull...
  function NA (line 148) | function NA(Je){fa();var ot=Date.UTC(ao((Je+20>>2)*4)+1900,ao((Je+16>>2)...
  function Po (line 148) | function Po(Je){if(typeof C=="boolean"&&C){var ot;try{ot=Buffer.from(Je,...
  function Ue (line 148) | function Ue(Je){if(Do(Je))return Po(Je.slice(so.length))}
  function pc (line 148) | function pc(Je){if(Je=Je||f,Ir>0||(Ct(),Ir>0))return;function ot(){Tn||(...
  method HEAPU8 (line 148) | get HEAPU8(){return e.HEAPU8}
  function pj (line 148) | function pj(e,t){let r=e.indexOf(t);if(r<=0)return null;let s=r;for(;r>=...
  method openPromise (line 148) | static async openPromise(t,r){let s=new e(r);try{return await t(s)}final...
  method constructor (line 148) | constructor(t={}){let r=t.fileExtensions,s=t.readOnlyArchives,a=typeof r...
  method constructor (line 148) | constructor(t,r){super(t),this.name="Libzip Error",this.code=r}
  method constructor (line 148) | constructor(t){this.filesShouldBeCached=!0;let r="buffer"in t?t.buffer:t...
  method getSymlinkCount (line 148) | getSymlinkCount(){return this.symlinkCount}
  method getListings (line 148) | getListings(){return this.listings}
  method stat (line 148) | stat(t){let r=this.libzip.struct.statS();if(this.libzip.statIndex(this.z...
  method makeLibzipError (line 148) | makeLibzipError(t){let r=this.libzip.struct.errorCodeZip(t),s=this.libzi...
  method setFileSource (line 148) | setFileSource(t,r,s){let a=this.allocateSource(s);try{let n=this.libzip....
  method setMtime (line 148) | setMtime(t,r){if(this.libzip.file.setMtime(this.zip,t,0,r,0)===-1)throw ...
  method getExternalAttributes (line 148) | getExternalAttributes(t){if(this.libzip.file.getExternalAttributes(this....
  method setExternalAttributes (line 148) | setExternalAttributes(t,r,s){if(this.libzip.file.setExternalAttributes(t...
  method locate (line 148) | locate(t){return this.libzip.name.locate(this.zip,t,0)}
  method getFileSource (line 148) | getFileSource(t){let r=this.libzip.struct.statS();if(this.libzip.statInd...
  method deleteEntry (line 148) | deleteEntry(t){if(this.libzip.delete(this.zip,t)===-1)throw this.makeLib...
  method addDirectory (line 148) | addDirectory(t){let r=this.libzip.dir.add(this.zip,t);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(t){Buffer.isBuffer(t)||(t=Buffer.from(t));let r=this.libz...
  method allocateUnattachedSource (line 148) | allocateUnattachedSource(t){let r=this.libzip.struct.errorS(),{buffer:s,...
  method allocateSource (line 148) | allocateSource(t){let{buffer:r,byteLength:s}=this.allocateBuffer(t),a=th...
  method discard (line 148) | discard(){this.libzip.discard(this.zip)}
  function Rtt (line 148) | function Rtt(e){if(typeof e=="string"&&String(+e)===e)return+e;if(typeof...
  function wR (line 148) | function wR(){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");dd...
  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 K.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=Ra.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(K.dirname(r)).add(K.basename(r))...
  method unregisterListing (line 148) | unregisterListing(r){this.listings.delete(r),this.listings.get(K.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=K.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(K.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=K.resolve(vt.root,r);return lE(this,n,s,a)}
  method unwatchFile (line 148) | unwatchFile(r,s){let a=K.resolve(vt.root,r);return gd(this,a,s)}
  function UAe (line 148) | function UAe(e,t,r=Buffer.alloc(0),s){let a=new ps(r),n=C=>C===t||C.star...
  method constructor (line 148) | constructor(t){this.filesShouldBeCached=!1;if("buffer"in t)throw new Err...
  method readZipSync (line 148) | static readZipSync(t,r,s){if(s<rv)throw new Error("Invalid ZIP file: EOC...
  method getExternalAttributes (line 148) | getExternalAttributes(t){let r=this.entries[t];return[r.os,r.externalAtt...
  method getListings (line 148) | getListings(){return this.entries.map(t=>t.name)}
  method getSymlinkCount (line 148) | getSymlinkCount(){let t=0;for(let r of this.entries)r.isSymbolicLink&&(t...
  method stat (line 148) | stat(t){let r=this.entries[t];return{crc:r.crc,mtime:r.mtime,size:r.size}}
  method locate (line 148) | locate(t){for(let r=0;r<this.entries.length;r++)if(this.entries[r].name=...
  method getFileSource (line 148) | getFileSource(t){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(t){throw new Error("Not implemented")}
  method deleteEntry (line 148) | deleteEntry(t){throw new Error("Not implemented")}
  method setMtime (line 148) | setMtime(t,r){throw new Error("Not implemented")}
  method getBufferAndClose (line 148) | getBufferAndClose(){throw new Error("Not implemented")}
  method setFileSource (line 148) | setFileSource(t,r,s){throw new Error("Not implemented")}
  method setExternalAttributes (line 148) | setExternalAttributes(t,r,s){throw new Error("Not implemented")}
  function Ttt (line 148) | function Ttt(){return tv()}
  function Ftt (line 148) | async function Ftt(){return tv()}
  method constructor (line 148) | constructor(){super(...arguments);this.cwd=he.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(t){super(t),this.name="ShellError"}
  function Ntt (line 158) | function Ntt(e){if(!SR.default.scan(e,DR).isGlob)return!1;try{SR.default...
  function Ott (line 158) | function Ott(e,{cwd:t,baseFs:r}){return(0,VAe.default)(e,{...KAe,cwd:fe....
  function Cj (line 158) | function Cj(e){return SR.default.scan(e,DR).isBrace}
  function wj (line 158) | function wj(){}
  function Bj (line 158) | function Bj(){for(let e of am)e.kill()}
  function $Ae (line 158) | function $Ae(e,t,r,s){return a=>{let n=a[0]instanceof nA.Transform?"pipe...
  function epe (line 161) | function epe(e){return t=>{let r=t[0]==="pipe"?new nA.PassThrough:t[0];r...
  function PR (line 161) | function PR(e,t){return Sj.start(e,t)}
  function zAe (line 161) | function zAe(e,t=null){let r=new nA.PassThrough,s=new XAe.StringDecoder,...
  function tpe (line 162) | function tpe(e,{prefix:t}){return{stdout:zAe(r=>e.stdout.write(`${r}
  method constructor (line 164) | constructor(t){this.stream=t}
  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(t){this.stream=t}
  method get (line 164) | get(){if(this.stream===null)throw new Error("Assertion failed: No stream...
  method constructor (line 164) | constructor(t,r){this.stdin=null;this.stdout=null;this.stderr=null;this....
  method start (line 164) | static start(t,{stdin:r,stdout:s,stderr:a}){let n=new e(null,t);return n...
  method pipeTo (line 164) | pipeTo(t,r=1){let s=new e(this,t),a=new vj;return s.pipe=a,s.stdout=this...
  method exec (line 164) | async exec(){let t=["ignore","ignore","ignore"];if(this.pipe)t[0]="pipe"...
  method run (line 164) | async run(){let t=[];for(let s=this;s;s=s.ancestor)t.push(s.exec());retu...
  function rpe (line 164) | function rpe(e,t,r){let s=new $l.PassThrough({autoDestroy:!0});switch(e)...
  function kR (line 164) | function kR(e,t={}){let r={...e,...t};return r.environment={...e.environ...
  function Mtt (line 164) | async function Mtt(e,t,r){let s=[],a=new $l.PassThrough;return a.on("dat...
  function npe (line 164) | async function npe(e,t,r){let s=e.map(async n=>{let c=await lm(n.args,t,...
  function xR (line 164) | function xR(e){return e.match(/[^ \r\n\t]+/g)||[]}
  function cpe (line 164) | async function cpe(e,t,r,s,a=s){switch(e.name){case"$":s(String(process....
  function ov (line 164) | async function ov(e,t,r){if(e.type==="number"){if(Number.isInteger(e.val...
  function lm (line 164) | async function lm(e,t,r){let s=new Map,a=[],n=[],c=E=>{n.push(E)},f=()=>...
  function av (line 164) | function av(e,t,r){t.builtins.has(e[0])||(e=["command",...e]);let s=fe.f...
  function _tt (line 164) | function _tt(e,t,r){return s=>{let a=new $l.PassThrough,n=QR(e,t,kR(r,{s...
  function Htt (line 164) | function Htt(e,t,r){return s=>{let a=new $l.PassThrough,n=QR(e,t,r);retu...
  function ipe (line 164) | function ipe(e,t,r,s){if(t.length===0)return e;{let a;do a=String(Math.r...
  function spe (line 164) | async function spe(e,t,r){let s=e,a=null,n=null;for(;s;){let c=s.then?{....
  function jtt (line 164) | async function jtt(e,t,r,{background:s=!1}={}){function a(n){let c=["#2E...
  function Gtt (line 166) | async function Gtt(e,t,r,{background:s=!1}={}){let a,n=f=>{a=f,r.variabl...
  function QR (line 167) | async function QR(e,t,r){let s=r.backgroundJobs;r.backgroundJobs=[];let ...
  function upe (line 167) | function upe(e){switch(e.type){case"variable":return e.name==="@"||e.nam...
  function lv (line 167) | function lv(e){switch(e.type){case"redirection":return e.args.some(t=>lv...
  function bj (line 167) | function bj(e){switch(e.type){case"variable":return upe(e);case"number":...
  function Pj (line 167) | function Pj(e){return e.some(({command:t})=>{for(;t;){let r=t.chain;for(...
  function bI (line 167) | async function bI(e,t=[],{baseFs:r=new Yn,builtins:s={},cwd:a=fe.toPorta...
  method write (line 170) | write(ie,ue,ae){setImmediate(ae)}
  function qtt (line 170) | function qtt(){var e=0,t=1,r=2,s=3,a=4,n=5,c=6,f=7,p=8,h=9,E=10,C=11,S=1...
  function Vtt (line 170) | function Vtt(){if(TR)return TR;if(typeof Intl.Segmenter<"u"){let e=new I...
  function Epe (line 170) | function Epe(e,{configuration:t,json:r}){if(!t.get("enableMessageNames")...
  function xj (line 170) | function xj(e,{configuration:t,json:r}){let s=Epe(e,{configuration:t,jso...
  function PI (line 170) | async function PI({configuration:e,stdout:t,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(!v0)return;let a=`${v0.start(r)}${s}${v0.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?Epe(r,{configuration:this.configu...
  method formatPrefix (line 178) | formatPrefix(r,s){return this.includePrefix?`${jt(this.configuration,"\u...
  method formatNameWithHyperlink (line 178) | formatNameWithHyperlink(r){return this.includeNames?xj(r,{configuration:...
  method formatIndent (line 178) | formatIndent(){return this.level>0||!this.forceSectionAlignment?"\u2502 ...
  function S0 (line 178) | async function S0(e,t,r,s=[]){if(process.platform==="win32"){let a=`@got...
  function wpe (line 180) | async function wpe(e){let t=await Ut.tryFind(e);if(t?.packageManager){le...
  function Av (line 180) | async function Av({project:e,locator:t,binFolder:r,ignoreCorepack:s,life...
  function $tt (line 180) | async function $tt(e,t,{configuration:r,report:s,workspace:a=null,locato...
  function ert (line 188) | async function ert(e,t,{project:r}){let s=r.tryWorkspaceByLocator(e);if(...
  function OR (line 188) | async function OR(e,t,r,{cwd:s,project:a,stdin:n,stdout:c,stderr:f}){ret...
  function kj (line 188) | async function kj(e,t,r,{cwd:s,project:a,stdin:n,stdout:c,stderr:f}){ret...
  function trt (line 188) | async function trt(e,{binFolder:t,cwd:r,lifecycleScript:s}){let a=await ...
  function Bpe (line 188) | async function Bpe(e,{project:t,binFolder:r,cwd:s,lifecycleScript:a}){le...
  function vpe (line 188) | async function vpe(e,t,r,{cwd:s,stdin:a,stdout:n,stderr:c}){return await...
  function Qj (line 188) | function Qj(e,t){return e.manifest.scripts.has(t)}
  function Spe (line 188) | async function Spe(e,t,{cwd:r,report:s}){let{configuration:a}=e.project,...
  function rrt (line 189) | async function rrt(e,t,r){Qj(e,t)&&await Spe(e,t,r)}
  function Rj (line 189) | function Rj(e){let t=K.extname(e);if(t.match(/\.[cm]?[jt]sx?$/))return!0...
  function LR (line 189) | async function LR(e,{project:t}){let r=t.configuration,s=new Map,a=t.sto...
  function Dpe (line 189) | async function Dpe(e){return await LR(e.anchoredLocator,{project:e.proje...
  function Tj (line 189) | async function Tj(e,t){await Promise.all(Array.from(t,([r,[,s,a]])=>a?S0...
  function bpe (line 189) | async function bpe(e,t,r,{cwd:s,project:a,stdin:n,stdout:c,stderr:f,node...
  function nrt (line 189) | async function nrt(e,t,r,{cwd:s,stdin:a,stdout:n,stderr:c,packageAccessi...
  function dnt (line 189) | function dnt(e,t,r){let s=t,a=t?t.next:e.head,n=new M6(r,s,a,e);return n...
  function mnt (line 189) | function mnt(e,t){e.tail=new M6(t,e.tail,void 0,e),e.head||(e.head=e.tai...
  function ynt (line 189) | function ynt(e,t){e.head=new M6(t,void 0,e.head,e),e.tail||(e.tail=e.hea...
  method constructor (line 189) | constructor(e,t,r){this.src=e,this.dest=t,this.opts=r,this.ondrain=()=>e...
  method unpipe (line 189) | unpipe(){this.dest.removeListener("drain",this.ondrain)}
  method proxyErrors (line 189) | proxyErrors(e){}
  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,t,r){super(e,t,r),this.proxyErrors=s=>t.emit("error",s),e....
  method constructor (line 189) | constructor(...e){let t=e[0]||{};if(super(),t.objectMode&&typeof t.encod...
  method bufferLength (line 189) | get bufferLength(){return this[Zs]}
  method encoding (line 189) | get encoding(){return this[qu]}
  method encoding (line 189) | set encoding(e){throw new Error("Encoding must be set at instantiation t...
  method setEncoding (line 189) | setEncoding(e){throw new Error("Encoding must be set at instantiation ti...
  method objectMode (line 189) | get objectMode(){return this[ta]}
  method objectMode (line 189) | set objectMode(e){throw new Error("objectMode must be set at instantiati...
  method async (line 189) | get async(){return this[iA]}
  method async (line 189) | set async(e){this[iA]=this[iA]||!!e}
  method [Uj] (line 189) | [Uj](){this[jR]=!0,this.emit("abort",this[gv]?.reason),this.destroy(this...
  method aborted (line 189) | get aborted(){return this[jR]}
  method aborted (line 189) | set aborted(e){}
  method write (line 189) | write(e,t,r){if(this[jR])return!1;if(this[Hp])throw new Error("write aft...
  method read (line 189) | read(e){if(this[es])return null;if(this[ec]=!1,this[Zs]===0||e===0||e&&e...
  method [xpe] (line 189) | [xpe](e,t){if(this[ta])this[HR]();else{let r=t;e===r.length||e===null?th...
  method end (line 189) | end(e,t,r){return typeof e=="function"&&(r=e,e=void 0),typeof t=="functi...
  method [TI] (line 189) | [TI](){this[es]||(!this[cm]&&!this[Ta].length&&(this[ec]=!0),this[hv]=!1...
  method resume (line 189) | resume(){return this[TI]()}
  method pause (line 189) | pause(){this[Js]=!1,this[hv]=!0,this[ec]=!1}
  method destroyed (line 189) | get destroyed(){return this[es]}
  method flowing (line 189) | get flowing(){return this[Js]}
  method paused (line 189) | get paused(){return this[hv]}
  method [Nj] (line 189) | [Nj](e){this[ta]?this[Zs]+=1:this[Zs]+=e.length,this[zs].push(e)}
  method [HR] (line 189) | [HR](){return this[ta]?this[Zs]-=1:this[Zs]-=this[zs][0].length,this[zs]...
  method [_R] (line 189) | [_R](e=!1){do;while(this[kpe](this[HR]())&&this[zs].length);!e&&!this[zs...
  method [kpe] (line 189) | [kpe](e){return this.emit("data",e),this[Js]}
  method pipe (line 189) | pipe(e,t){if(this[es])return e;this[ec]=!1;let r=this[b0];return t=t||{}...
  method unpipe (line 189) | unpipe(e){let t=this[Ta].find(r=>r.dest===e);t&&(this[Ta].length===1?(th...
  method addListener (line 189) | addListener(e,t){return this.on(e,t)}
  method on (line 189) | on(e,t){let r=super.on(e,t);if(e==="data")this[ec]=!1,this[cm]++,!this[T...
  method removeListener (line 189) | removeListener(e,t){return this.off(e,t)}
  method off (line 189) | off(e,t){let r=super.off(e,t);return e==="data"&&(this[cm]=this.listener...
  method removeAllListeners (line 189) | removeAllListeners(e){let t=super.removeAllListeners(e);return(e==="data...
  method emittedEnd (line 189) | get emittedEnd(){return this[b0]}
  method [jp] (line 189) | [jp](){!this[MR]&&!this[b0]&&!this[es]&&this[zs].length===0&&this[Hp]&&(...
  method emit (line 189) | emit(e,...t){let r=t[0];if(e!=="error"&&e!=="close"&&e!==es&&this[es])re...
  method [Lj] (line 189) | [Lj](e){for(let r of this[Ta])r.dest.write(e)===!1&&this.pause();let t=t...
  method [Qpe] (line 189) | [Qpe](){return this[b0]?!1:(this[b0]=!0,this.readable=!1,this[iA]?(dv(()...
  method [Mj] (line 189) | [Mj](){if(this[xI]){let t=this[xI].end();if(t){for(let r of this[Ta])r.d...
  method collect (line 189) | async collect(){let e=Object.assign([],{dataLength:0});this[ta]||(e.data...
  method concat (line 189) | async concat(){if(this[ta])throw new Error("cannot concat in objectMode"...
  method promise (line 189) | async promise(){return new Promise((e,t)=>{this.on(es,()=>t(new Error("s...
  method [Symbol.asyncIterator] (line 189) | [Symbol.asyncIterator](){this[ec]=!1;let e=!1,t=async()=>(this.pause(),e...
  method [Symbol.iterator] (line 189) | [Symbol.iterator](){this[ec]=!1;let e=!1,t=()=>(this.pause(),this.off(Oj...
  method destroy (line 189) | destroy(e){if(this[es])return e?this.emit("error",e):this.emit(es),this;...
  method isStream (line 189) | static get isStream(){return ort}
  method constructor (line 189) | constructor(e,t){if(t=t||{},super(t),this.readable=!0,this.writable=!1,t...
  method fd (line 189) | get fd(){return this[Kn]}
  method path (line 189) | get path(){return this[Ku]}
  method write (line 189) | write(){throw new TypeError("this is a readable stream")}
  method end (line 189) | end(){throw new TypeError("this is a readable stream")}
  method [M0] (line 189) | [M0](){Fa.default.open(this[Ku],"r",(e,t)=>this[UI](e,t))}
  method [UI] (line 189) | [UI](e,t){e?this[LI](e):(this[Kn]=t,this.emit("open",t),this[NI]())}
  method [c6] (line 189) | [c6](){return Buffer.allocUnsafe(Math.min(this[Gj],this[yv]))}
  method [NI] (line 189) | [NI](){if(!this[Wp]){this[Wp]=!0;let e=this[c6]();if(e.length===0)return...
  method [jj] (line 189) | [jj](e,t,r){this[Wp]=!1,e?this[LI](e):this[l6](t,r)&&this[NI]()}
  method [Ju] (line 189) | [Ju](){if(this[L0]&&typeof this[Kn]=="number"){let e=this[Kn];this[Kn]=v...
  method [LI] (line 189) | [LI](e){this[Wp]=!0,this[Ju](),this.emit("error",e)}
  method [l6] (line 189) | [l6](e,t){let r=!1;return this[yv]-=e,e>0&&(r=super.write(e<t.length?t.s...
  method emit (line 189) | emit(e,...t){switch(e){case"prefinish":case"finish":return!1;case"drain"...
  method [M0] (line 189) | [M0](){let e=!0;try{this[UI](null,Fa.default.openSync(this[Ku],"r")),e=!...
  method [NI] (line 189) | [NI](){let e=!0;try{if(!this[Wp]){this[Wp]=!0;do{let t=this[c6](),r=t.le...
  method [Ju] (line 189) | [Ju](){if(this[L0]&&typeof this[Kn]=="number"){let e=this[Kn];this[Kn]=v...
  method constructor (line 189) | constructor(e,t){t=t||{},super(t),this[Ku]=e,this[Kn]=typeof t.fd=="numb...
  method emit (line 189) | emit(e,...t){if(e==="error"){if(this[Im])return!1;this[Im]=!0}return sup...
  method fd (line 189) | get fd(){return this[Kn]}
  method path (line 189) | get path(){return this[Ku]}
  method [LI] (line 189) | [LI](e){this[Ju](),this[um]=!0,this.emit("error",e)}
  method [M0] (line 189) | [M0](){Fa.default.open(this[Ku],this[Vp],this[bv],(e,t)=>this[UI](e,t))}
  method [UI] (line 189) | [UI](e,t){this[$R]&&this[Vp]==="r+"&&e&&e.code==="ENOENT"?(this[Vp]="w",...
  method end (line 189) | end(e,t){return e&&this.write(e,t),this[mv]=!0,!this[um]&&!this[sA].leng...
  method write (line 189) | write(e,t){return typeof e=="string"&&(e=Buffer.from(e,t)),this[mv]?(thi...
  method [XR] (line 189) | [XR](e){Fa.default.write(this[Kn],e,0,e.length,this[Q0],(t,r)=>this[FI](...
  method [FI] (line 189) | [FI](e,t){e?this[LI](e):(this[Q0]!==void 0&&typeof t=="number"&&(this[Q0...
  method [Hj] (line 189) | [Hj](){if(this[sA].length===0)this[mv]&&this[FI](null,0);else if(this[sA...
  method [Ju] (line 189) | [Ju](){if(this[L0]&&typeof this[Kn]=="number"){let e=this[Kn];this[Kn]=v...
  method [M0] (line 189) | [M0](){let e;if(this[$R]&&this[Vp]==="r+")try{e=Fa.default.openSync(this...
  method [Ju] (line 189) | [Ju](){if(this[L0]&&typeof this[Kn]=="number"){let e=this[Kn];this[Kn]=v...
  method [XR] (line 189) | [XR](e){let t=!0;try{this[FI](null,Fa.default.writeSync(this[Kn],e,0,e.l...
  method constructor (line 189) | constructor(e,t){super("zlib: "+e.message,{cause:e}),this.code=e.code,th...
  method name (line 189) | get name(){return"ZlibError"}
  method sawError (line 189) | get sawError(){return this.#e}
  method handle (line 189) | get handle(){return this.#n}
  method flushFlag (line 189) | get flushFlag(){return this.#s}
  method constructor (line 189) | constructor(e,t){if(!e||typeof e!="object")throw new TypeError("invalid ...
  method close (line 189) | close(){this.#n&&(this.#n.close(),this.#n=void 0,this.emit("close"))}
  method reset (line 189) | reset(){if(!this.#e)return(0,cT.default)(this.#n,"zlib binding closed"),...
  method flush (line 189) | flush(e){this.ended||(typeof e!="number"&&(e=this.#i),this.write(Object....
  method end (line 189) | end(e,t,r){return typeof e=="function"&&(r=e,t=void 0,e=void 0),typeof t...
  method ended (line 189) | get ended(){return this.#t}
  method [Cm] (line 189) | [Cm](e){return super.write(e)}
  method write (line 189) | write(e,t,r){if(typeof t=="function"&&(r=t,t="utf8"),typeof e=="string"&...
  method constructor (line 189) | constructor(e,t){e=e||{},e.flush=e.flush||lA.Z_NO_FLUSH,e.finishFlush=e....
  method params (line 189) | params(e,t){if(!this.sawError){if(!this.handle)throw new Error("cannot s...
  method constructor (line 189) | constructor(e){super(e,"Gzip"),this.#e=e&&!!e.portable}
  method [Cm] (line 189) | [Cm](e){return this.#e?(this.#e=!1,e[9]=255,super[Cm](e)):super[Cm](e)}
  method constructor (line 189) | constructor(e){super(e,"Unzip")}
  method constructor (line 189) | constructor(e,t){e=e||{},e.flush=e.flush||lA.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(e,t){e=e||{},e.flush=e.flush||lA.ZSTD_e_continue,e.finishFlu...
  method constructor (line 189) | constructor(e){super(e,"ZstdCompress")}
  method constructor (line 189) | constructor(e){super(e,"ZstdDecompress")}
  method constructor (line 189) | constructor(e,t=0,r,s){Buffer.isBuffer(e)?this.decode(e,t||0,r,s):e&&thi...
  method decode (line 189) | decode(e,t,r,s){if(t||(t=0),!e||!(e.length>=t+5
Condensed preview — 492 files, each showing path, character count, and a content snippet. Download the .json file or copy for the full structured content (5,491K chars).
[
  {
    "path": ".dockerignore",
    "chars": 39,
    "preview": "target\ntest_module/target\nnode_modules\n"
  },
  {
    "path": ".editorconfig",
    "chars": 147,
    "preview": "root = true\n\n[*]\ncharset = utf-8\nend_of_line = lf\ninsert_final_newline = true\ntrim_trailing_whitespace = true\nindent_siz"
  },
  {
    "path": ".gitattributes",
    "chars": 320,
    "preview": "# Auto detect text files and perform LF normalization\n*        text=auto\n\n\n*.ts    text eol=lf merge=union \n*.tsx   text"
  },
  {
    "path": ".github/FUNDING.yml",
    "chars": 77,
    "preview": "github: [napi-rs, Brooooooklyn, forehalo, messense]\nopen_collective: napi-rs\n"
  },
  {
    "path": ".github/publish.js",
    "chars": 585,
    "preview": "const { execSync } = require('node:child_process')\n\nconst commitMessage = execSync('git log -1 --pretty=%B', {\n  encodin"
  },
  {
    "path": ".github/renovate.json",
    "chars": 610,
    "preview": "{\n  \"extends\": [\"config:base\", \":preserveSemverRanges\"],\n  \"ignorePaths\": [\n    \"**/node_modules/**\",\n    \"**/bower_comp"
  },
  {
    "path": ".github/workflows/asan.yml",
    "chars": 4866,
    "preview": "name: Address Sanitizer\n\nenv:\n  DEBUG: 'napi:*'\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel"
  },
  {
    "path": ".github/workflows/cleanup-cache.yml",
    "chars": 808,
    "preview": "name: Cleanup github runner caches on closed pull requests\non:\n  pull_request:\n    types:\n      - closed\n\njobs:\n  cleanu"
  },
  {
    "path": ".github/workflows/docker.yaml",
    "chars": 4288,
    "preview": "name: Docker nightly build\n\non:\n  workflow_dispatch:\n\njobs:\n  build-alpine-image:\n    name: Build alpine image\n    runs-"
  },
  {
    "path": ".github/workflows/memory-test.yml",
    "chars": 1536,
    "preview": "name: Memory Leak Detect\n\nenv:\n  DEBUG: 'napi:*'\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cance"
  },
  {
    "path": ".github/workflows/release-crates.yml",
    "chars": 1729,
    "preview": "name: Release-plz\n\npermissions:\n  pull-requests: write\n  contents: write\n\non:\n  push:\n    branches:\n      - main\n\njobs:\n"
  },
  {
    "path": ".github/workflows/test-release.yaml",
    "chars": 26991,
    "preview": "name: Test & Release\n\nenv:\n  DEBUG: 'napi:*'\n  RUST_BACKTRACE: 1\n  # https://github.com/nodejs/node/issues/51555#issueco"
  },
  {
    "path": ".github/workflows/zig.yaml",
    "chars": 6237,
    "preview": "name: Zig-Cross-Compile\n\nenv:\n  DEBUG: 'napi:*'\n  TEST_ZIG_CROSS: '1'\n\npermissions: {}\n\nconcurrency:\n  group: ${{ github"
  },
  {
    "path": ".gitignore",
    "chars": 2635,
    "preview": ".idea/\ntarget/\n*.log\n.DS_Store\nCargo.lock\nnode_modules\n*.node\nbuild/LICENSE\nnapi/LICENSE\nnapi-derive/LICENSE\nsys/LICENSE"
  },
  {
    "path": ".husky/.gitignore",
    "chars": 2,
    "preview": "_\n"
  },
  {
    "path": ".husky/pre-commit",
    "chars": 36,
    "preview": "yarn lint-staged && cargo fmt --all\n"
  },
  {
    "path": ".npmignore",
    "chars": 206,
    "preview": "target\nbuild\nsys\nnapi\nnapi-derive\nnapi-derive-example\ntest_module\n.yarnrc\nCargo.lock\nrustfmt.toml\n.github\n.dockerignore\n"
  },
  {
    "path": ".oxlintignore",
    "chars": 32,
    "preview": ".yarn\ndist\ntarget\nbench/**/*.ts\n"
  },
  {
    "path": ".prettierignore",
    "chars": 185,
    "preview": "target\nnode_modules\nscripts\ntriples/index.js\nexamples/napi/index.d.ts\n.yarn\nyarn.lock\nexamples/napi/wasi-worker.mjs\nexam"
  },
  {
    "path": ".yarn/patches/buffer-npm-6.0.3-cd90dfedfe.patch",
    "chars": 1450,
    "preview": "diff --git a/index.js b/index.js\nindex 7a0e9c2a123bc9d26c20bb3de4a3c4e49b24ee40..b1a53729c2900ddfca88a0f312a785c51a5aac8"
  },
  {
    "path": ".yarn/patches/node-inspect-extracted-npm-3.0.0-f661b6c334.patch",
    "chars": 190434,
    "preview": "diff --git a/dist/inspect.js b/dist/inspect.js\nindex 8a323f4df754c11beffd03bb63c5d24c0ea43724..da0515280b09ea8d7bcd2c3ae"
  },
  {
    "path": ".yarn/releases/yarn-4.13.0.cjs",
    "chars": 3004026,
    "preview": "#!/usr/bin/env node\n/* eslint-disable */\n//prettier-ignore\n(()=>{var gje=Object.create;var tU=Object.defineProperty;var "
  },
  {
    "path": ".yarnrc.yml",
    "chars": 130,
    "preview": "nodeLinker: node-modules\n\nnpmScopes:\n  jsr:\n    npmRegistryServer: 'https://npm.jsr.io'\n\nyarnPath: .yarn/releases/yarn-4"
  },
  {
    "path": "CLAUDE.md",
    "chars": 1966,
    "preview": "# NAPI-RS Project Guide\n\n## Project Structure\n\n**Core Architecture:**\n\n- `/crates/` - Rust implementation\n  - `napi/` - "
  },
  {
    "path": "CODE_OF_CONDUCT.md",
    "chars": 5219,
    "preview": "# Contributor Covenant Code of Conduct\n\n## Our Pledge\n\nWe as members, contributors, and leaders pledge to make participa"
  },
  {
    "path": "Cargo.toml",
    "chars": 831,
    "preview": "[workspace]\nresolver = \"2\"\nmembers = [\n  \"./crates/backend\",\n  \"./crates/build\",\n  \"./crates/macro\",\n  \"./crates/napi\",\n"
  },
  {
    "path": "LICENSE",
    "chars": 2138,
    "preview": "MIT License\n\nCopyright (c) 2020-present LongYinan\n\nPermission is hereby granted, free of charge, to any person obtaining"
  },
  {
    "path": "SECURITY.md",
    "chars": 193,
    "preview": "## Security contact information\n\nTo report a security vulnerability, please use the\n[Tidelift security contact](https://"
  },
  {
    "path": "alpine-zig.Dockerfile",
    "chars": 541,
    "preview": "FROM ghcr.io/napi-rs/napi-rs/nodejs-rust:lts-alpine\n\nARG ZIG_VERSION=0.12.0\n\nRUN apk add --update --no-cache --repositor"
  },
  {
    "path": "alpine.Dockerfile",
    "chars": 851,
    "preview": "FROM node:18-alpine\n\nENV PATH=\"/aarch64-linux-musl-cross/bin:/usr/local/cargo/bin/rustup:/root/.cargo/bin:$PATH\" \\\n  RUS"
  },
  {
    "path": "bench/Cargo.toml",
    "chars": 550,
    "preview": "[package]\nauthors = [\"LongYinan <lynweklm@gmail.com>\"]\nedition = \"2021\"\nname = \"napi-bench\"\npublish = false\nversion = \"0"
  },
  {
    "path": "bench/async.bench.ts",
    "chars": 975,
    "preview": "import { cpus } from 'node:os'\nimport { createRequire } from 'node:module'\n\nimport { bench } from 'vitest'\n\nconst requir"
  },
  {
    "path": "bench/buffer.bench.ts",
    "chars": 386,
    "preview": "import { createRequire } from 'node:module'\n\nimport { bench } from 'vitest'\n\nconst require = createRequire(import.meta.u"
  },
  {
    "path": "bench/build.rs",
    "chars": 63,
    "preview": "extern crate napi_build;\n\nfn main() {\n  napi_build::setup();\n}\n"
  },
  {
    "path": "bench/create-array.bench.ts",
    "chars": 433,
    "preview": "import { createRequire } from 'node:module'\n\nimport { bench } from 'vitest'\n\nconst require = createRequire(import.meta.u"
  },
  {
    "path": "bench/get-array-from-js.bench.ts",
    "chars": 523,
    "preview": "import { createRequire } from 'node:module'\n\nimport { bench } from 'vitest'\n\nconst require = createRequire(import.meta.u"
  },
  {
    "path": "bench/get-set-property.bench.ts",
    "chars": 986,
    "preview": "import { createRequire } from 'node:module'\n\nimport { bench } from 'vitest'\n\nconst require = createRequire(import.meta.u"
  },
  {
    "path": "bench/noop.bench.ts",
    "chars": 279,
    "preview": "import { createRequire } from 'node:module'\n\nimport { bench } from 'vitest'\n\nconst require = createRequire(import.meta.u"
  },
  {
    "path": "bench/package.json",
    "chars": 297,
    "preview": "{\n  \"name\": \"bench\",\n  \"version\": \"1.0.0\",\n  \"private\": true,\n  \"type\": \"module\",\n  \"scripts\": {\n    \"bench\": \"vitest be"
  },
  {
    "path": "bench/plus.bench.ts",
    "chars": 333,
    "preview": "import { createRequire } from 'node:module'\n\nimport { bench } from 'vitest'\n\nconst require = createRequire(import.meta.u"
  },
  {
    "path": "bench/query.bench.ts",
    "chars": 369,
    "preview": "import { createRequire } from 'node:module'\n\nimport { bench } from 'vitest'\n\nconst require = createRequire(import.meta.u"
  },
  {
    "path": "bench/src/async_compute.rs",
    "chars": 1496,
    "preview": "use napi::threadsafe_function::*;\nuse napi::{bindgen_prelude::*, *};\n\nstruct BufferLength(Buffer);\n\nimpl Task for Buffer"
  },
  {
    "path": "bench/src/buffer.rs",
    "chars": 463,
    "preview": "use napi::{ContextlessResult, Env, JsBuffer, JsObject, Result};\n\n#[contextless_function]\npub fn bench_create_buffer(env:"
  },
  {
    "path": "bench/src/create_array.rs",
    "chars": 1063,
    "preview": "use napi::{ContextlessResult, Env, JsObject, Result, Unknown};\nuse serde_json::to_string;\n\npub fn register_js(exports: &"
  },
  {
    "path": "bench/src/get_set_property.rs",
    "chars": 3924,
    "preview": "use std::str::FromStr;\n\nuse napi::*;\n\nstruct TestNative {\n  miter_limit: u32,\n  line_join: LineJoin,\n}\n\nenum LineJoin {\n"
  },
  {
    "path": "bench/src/get_value_from_js.rs",
    "chars": 1143,
    "preview": "use napi::{bindgen_prelude::Object, CallContext, JsObject, JsString, Result, Unknown};\nuse serde_json::from_str;\n\npub fn"
  },
  {
    "path": "bench/src/lib.rs",
    "chars": 922,
    "preview": "#![allow(clippy::uninlined_format_args)]\n#![allow(clippy::zero_repeat_side_effects)]\n#![allow(deprecated)]\n\n#[macro_use]"
  },
  {
    "path": "bench/src/noop.rs",
    "chars": 146,
    "preview": "use napi::{ContextlessResult, Env, JsUndefined};\n\n#[contextless_function]\npub fn noop(_env: Env) -> ContextlessResult<Js"
  },
  {
    "path": "bench/src/plus.rs",
    "chars": 414,
    "preview": "use std::convert::TryInto;\n\nuse napi::{CallContext, JsNumber, JsObject, Result};\n\n#[js_function(2)]\nfn bench_plus(ctx: C"
  },
  {
    "path": "bench/src/query.rs",
    "chars": 1798,
    "preview": "use napi::{CallContext, JsExternal, JsObject, JsString};\n\n#[derive(Clone)]\npub struct QueryEngine {\n  pub _datamodel: St"
  },
  {
    "path": "bench/tsconfig.json",
    "chars": 218,
    "preview": "{\n  \"extends\": \"../tsconfig.json\",\n  \"compilerOptions\": {\n    \"target\": \"ESNext\",\n    \"module\": \"ESNext\",\n    \"moduleRes"
  },
  {
    "path": "bench/vite.config.ts",
    "chars": 100,
    "preview": "import { defineConfig } from 'vitest/config'\n\nexport default defineConfig({\n  mode: 'benchmark',\n})\n"
  },
  {
    "path": "cli/.npmignore",
    "chars": 70,
    "preview": ".git\nyarn.lock\ntarget\npackage-template/npm\npackage-template/README.md\n"
  },
  {
    "path": "cli/CHANGELOG.md",
    "chars": 82480,
    "preview": "# Change Log\n\nAll notable changes to this project will be documented in this file.\nSee [Conventional Commits](https://co"
  },
  {
    "path": "cli/LICENSE",
    "chars": 1066,
    "preview": "MIT License\n\nCopyright (c) 2020 LongYinan\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\n"
  },
  {
    "path": "cli/README.md",
    "chars": 1950,
    "preview": "# `@napi-rs/cli`\n\n[![Download](https://img.shields.io/npm/dm/@napi-rs/cli)](https://www.npmjs.com/package/@napi-rs/cli)\n"
  },
  {
    "path": "cli/cli.mjs",
    "chars": 339,
    "preview": "#!/usr/bin/env node\n\nimport { execSync } from 'node:child_process'\nimport { resolve } from 'node:path'\nimport { fileURLT"
  },
  {
    "path": "cli/codegen/commands.ts",
    "chars": 15089,
    "preview": "export interface ArgSchema {\n  name: string\n  type: 'string'\n  description: string\n  required?: boolean\n}\n\nexport interf"
  },
  {
    "path": "cli/codegen/index.ts",
    "chars": 7328,
    "preview": "import { execSync } from 'node:child_process'\nimport fs from 'node:fs'\nimport path from 'node:path'\nimport { fileURLToPa"
  },
  {
    "path": "cli/docs/artifacts.md",
    "chars": 2112,
    "preview": "# Artifacts\n\n> This file is generated by cli/codegen. Do not edit this file manually.\n\nCopy artifacts from Github Action"
  },
  {
    "path": "cli/docs/build.md",
    "chars": 6954,
    "preview": "# Build\n\n> This file is generated by cli/codegen. Do not edit this file manually.\n\nBuild the NAPI-RS project\n\n## Usage\n\n"
  },
  {
    "path": "cli/docs/create-npm-dirs.md",
    "chars": 1914,
    "preview": "# Create Npm Dirs\n\n> This file is generated by cli/codegen. Do not edit this file manually.\n\nCreate npm package dirs for"
  },
  {
    "path": "cli/docs/new.md",
    "chars": 2821,
    "preview": "# New\n\n> This file is generated by cli/codegen. Do not edit this file manually.\n\nCreate a new project with pre-configure"
  },
  {
    "path": "cli/docs/pre-publish.md",
    "chars": 3150,
    "preview": "# Pre Publish\n\n> This file is generated by cli/codegen. Do not edit this file manually.\n\nUpdate package.json and copy ad"
  },
  {
    "path": "cli/docs/rename.md",
    "chars": 2840,
    "preview": "# Rename\n\n> This file is generated by cli/codegen. Do not edit this file manually.\n\nRename the NAPI-RS project\n\n## Usage"
  },
  {
    "path": "cli/docs/universalize.md",
    "chars": 1704,
    "preview": "# Universalize\n\n> This file is generated by cli/codegen. Do not edit this file manually.\n\nCombile built binaries into on"
  },
  {
    "path": "cli/docs/version.md",
    "chars": 1679,
    "preview": "# Version\n\n> This file is generated by cli/codegen. Do not edit this file manually.\n\nUpdate version in created npm packa"
  },
  {
    "path": "cli/e2e/cli.spec.ts",
    "chars": 4943,
    "preview": "import { exec, type ExecOptions } from 'node:child_process'\nimport { join } from 'node:path'\n// use posix path to preven"
  },
  {
    "path": "cli/package.json",
    "chars": 2716,
    "preview": "{\n  \"name\": \"@napi-rs/cli\",\n  \"version\": \"3.5.1\",\n  \"description\": \"Cli tools for napi-rs\",\n  \"author\": \"LongYinan <lynw"
  },
  {
    "path": "cli/src/api/__tests__/build.spec.ts",
    "chars": 5027,
    "preview": "import { existsSync } from 'node:fs'\nimport { exec } from 'node:child_process'\nimport {\n  copyFile,\n  mkdir,\n  readFile,"
  },
  {
    "path": "cli/src/api/__tests__/create-npm-dirs.spec.ts",
    "chars": 6416,
    "preview": "import { existsSync } from 'node:fs'\nimport { mkdir, readFile, rm, writeFile } from 'node:fs/promises'\nimport { tmpdir }"
  },
  {
    "path": "cli/src/api/__tests__/new.spec.ts",
    "chars": 12689,
    "preview": "import { existsSync } from 'node:fs'\nimport { readFile, rm } from 'node:fs/promises'\nimport { tmpdir } from 'node:os'\nim"
  },
  {
    "path": "cli/src/api/artifacts.ts",
    "chars": 5316,
    "preview": "import { join, resolve, parse } from 'node:path'\n\nimport * as colors from 'colorette'\n\nimport {\n  applyDefaultArtifactsO"
  },
  {
    "path": "cli/src/api/build.ts",
    "chars": 34294,
    "preview": "import { spawn } from 'node:child_process'\nimport { createHash } from 'node:crypto'\nimport { existsSync, mkdirSync, rmSy"
  },
  {
    "path": "cli/src/api/create-npm-dirs.ts",
    "chars": 4295,
    "preview": "import { join, resolve } from 'node:path'\n\nimport { parse } from 'semver'\n\nimport {\n  applyDefaultCreateNpmDirsOptions,\n"
  },
  {
    "path": "cli/src/api/new.ts",
    "chars": 13744,
    "preview": "import { exec, execSync } from 'node:child_process'\nimport { existsSync } from 'node:fs'\nimport { homedir } from 'node:o"
  },
  {
    "path": "cli/src/api/pre-publish.ts",
    "chars": 6579,
    "preview": "import { execSync } from 'node:child_process'\nimport { existsSync, statSync } from 'node:fs'\nimport { join, resolve } fr"
  },
  {
    "path": "cli/src/api/rename.ts",
    "chars": 4523,
    "preview": "import { existsSync } from 'node:fs'\nimport { rename } from 'node:fs/promises'\nimport { resolve, join } from 'node:path'"
  },
  {
    "path": "cli/src/api/templates/index.ts",
    "chars": 32,
    "preview": "export * from './js-binding.js'\n"
  },
  {
    "path": "cli/src/api/templates/js-binding.ts",
    "chars": 8511,
    "preview": "export function createCjsBinding(\n  localName: string,\n  pkgName: string,\n  idents: string[],\n  packageVersion?: string,"
  },
  {
    "path": "cli/src/api/templates/load-wasi-template.ts",
    "chars": 6104,
    "preview": "export const createWasiBrowserBinding = (\n  wasiFilename: string,\n  initialMemory = 4000,\n  maximumMemory = 65536,\n  fs "
  },
  {
    "path": "cli/src/api/templates/wasi-worker-template.ts",
    "chars": 3098,
    "preview": "export const WASI_WORKER_TEMPLATE = `import fs from \"node:fs\";\nimport { createRequire } from \"node:module\";\nimport { par"
  },
  {
    "path": "cli/src/api/universalize.ts",
    "chars": 2258,
    "preview": "import { spawnSync } from 'node:child_process'\nimport { join, resolve } from 'node:path'\n\nimport {\n  applyDefaultUnivers"
  },
  {
    "path": "cli/src/api/version.ts",
    "chars": 915,
    "preview": "import { join, resolve } from 'node:path'\n\nimport {\n  applyDefaultVersionOptions,\n  type VersionOptions,\n} from '../def/"
  },
  {
    "path": "cli/src/cli.ts",
    "chars": 95,
    "preview": "#!/usr/bin/env node\n\nimport { cli } from './index.js'\n\nvoid cli.runExit(process.argv.slice(2))\n"
  },
  {
    "path": "cli/src/commands/artifacts.ts",
    "chars": 708,
    "preview": "import { Command } from 'clipanion'\n\nimport { collectArtifacts } from '../api/artifacts.js'\nimport { BaseArtifactsComman"
  },
  {
    "path": "cli/src/commands/build.ts",
    "chars": 1089,
    "preview": "import { execSync } from 'node:child_process'\n\nimport { Option } from 'clipanion'\n\nimport { buildProject } from '../api/"
  },
  {
    "path": "cli/src/commands/cli-version.ts",
    "chars": 350,
    "preview": "import { Command } from 'clipanion'\n\nimport { CLI_VERSION } from '../utils/misc.js'\n\n/**\n * A command that prints the ve"
  },
  {
    "path": "cli/src/commands/create-npm-dirs.ts",
    "chars": 266,
    "preview": "import { createNpmDirs } from '../api/create-npm-dirs.js'\nimport { BaseCreateNpmDirsCommand } from '../def/create-npm-di"
  },
  {
    "path": "cli/src/commands/help.ts",
    "chars": 291,
    "preview": "import { Command } from 'clipanion'\n\n/**\n * A command that prints the usage of all commands.\n *\n * Paths: `-h`, `--help`"
  },
  {
    "path": "cli/src/commands/new.ts",
    "chars": 3537,
    "preview": "import path from 'node:path'\n\nimport { input, select, checkbox, confirm } from '@inquirer/prompts'\nimport { Option } fro"
  },
  {
    "path": "cli/src/commands/pre-publish.ts",
    "chars": 299,
    "preview": "import { prePublish } from '../api/pre-publish.js'\nimport { BasePrePublishCommand } from '../def/pre-publish.js'\n\nexport"
  },
  {
    "path": "cli/src/commands/rename.ts",
    "chars": 681,
    "preview": "import { input } from '@inquirer/prompts'\n\nimport { renameProject } from '../api/rename.js'\nimport { BaseRenameCommand }"
  },
  {
    "path": "cli/src/commands/universalize.ts",
    "chars": 271,
    "preview": "import { universalizeBinaries } from '../api/universalize.js'\nimport { BaseUniversalizeCommand } from '../def/universali"
  },
  {
    "path": "cli/src/commands/version.ts",
    "chars": 220,
    "preview": "import { version } from '../api/version.js'\nimport { BaseVersionCommand } from '../def/version.js'\n\nexport class Version"
  },
  {
    "path": "cli/src/def/artifacts.ts",
    "chars": 2620,
    "preview": "// This file is generated by codegen/index.ts\n// Do not edit this file manually\nimport { Command, Option } from 'clipani"
  },
  {
    "path": "cli/src/def/build.ts",
    "chars": 9135,
    "preview": "// This file is generated by codegen/index.ts\n// Do not edit this file manually\nimport { Command, Option } from 'clipani"
  },
  {
    "path": "cli/src/def/create-npm-dirs.ts",
    "chars": 2079,
    "preview": "// This file is generated by codegen/index.ts\n// Do not edit this file manually\nimport { Command, Option } from 'clipani"
  },
  {
    "path": "cli/src/def/new.ts",
    "chars": 4261,
    "preview": "// This file is generated by codegen/index.ts\n// Do not edit this file manually\nimport { Command, Option } from 'clipani"
  },
  {
    "path": "cli/src/def/pre-publish.ts",
    "chars": 3445,
    "preview": "// This file is generated by codegen/index.ts\n// Do not edit this file manually\nimport { Command, Option } from 'clipani"
  },
  {
    "path": "cli/src/def/rename.ts",
    "chars": 3122,
    "preview": "// This file is generated by codegen/index.ts\n// Do not edit this file manually\nimport { Command, Option } from 'clipani"
  },
  {
    "path": "cli/src/def/universalize.ts",
    "chars": 1934,
    "preview": "// This file is generated by codegen/index.ts\n// Do not edit this file manually\nimport { Command, Option } from 'clipani"
  },
  {
    "path": "cli/src/def/version.ts",
    "chars": 1769,
    "preview": "// This file is generated by codegen/index.ts\n// Do not edit this file manually\nimport { Command, Option } from 'clipani"
  },
  {
    "path": "cli/src/index.ts",
    "chars": 3160,
    "preview": "import { Cli } from 'clipanion'\n\nimport { collectArtifacts } from './api/artifacts.js'\nimport { buildProject } from './a"
  },
  {
    "path": "cli/src/utils/__tests__/__fixtures__/napi_type_def",
    "chars": 26110,
    "preview": "{\"kind\": \"const\", \"name\": \"DEFAULT_COST\", \"js_doc\": \"/** This is a const */\\n\", \"def\": \"export const DEFAULT_COST: numbe"
  },
  {
    "path": "cli/src/utils/__tests__/__snapshots__/config.spec.ts.md",
    "chars": 2315,
    "preview": "# Snapshot report for `src/utils/__tests__/config.spec.ts`\n\nThe actual snapshot is saved in `config.spec.ts.snap`.\n\nGene"
  },
  {
    "path": "cli/src/utils/__tests__/__snapshots__/target.spec.ts.md",
    "chars": 4433,
    "preview": "# Snapshot report for `src/utils/__tests__/target.spec.ts`\n\nThe actual snapshot is saved in `target.spec.ts.snap`.\n\nGene"
  },
  {
    "path": "cli/src/utils/__tests__/__snapshots__/typegen.spec.ts.md",
    "chars": 37334,
    "preview": "# Snapshot report for `src/utils/__tests__/typegen.spec.ts`\n\nThe actual snapshot is saved in `typegen.spec.ts.snap`.\n\nGe"
  },
  {
    "path": "cli/src/utils/__tests__/__snapshots__/version.spec.ts.md",
    "chars": 790,
    "preview": "# Snapshot report for `src/utils/__tests__/version.spec.ts`\n\nThe actual snapshot is saved in `version.spec.ts.snap`.\n\nGe"
  },
  {
    "path": "cli/src/utils/__tests__/config.spec.ts",
    "chars": 2210,
    "preview": "import { unlink, writeFile } from 'node:fs/promises'\nimport { tmpdir } from 'node:os'\nimport { join } from 'node:path'\n\n"
  },
  {
    "path": "cli/src/utils/__tests__/target.spec.ts",
    "chars": 384,
    "preview": "import os from 'os'\n\nimport test from 'ava'\n\nimport {\n  parseTriple,\n  getSystemDefaultTarget,\n  AVAILABLE_TARGETS,\n} fr"
  },
  {
    "path": "cli/src/utils/__tests__/typegen.spec.ts",
    "chars": 1110,
    "preview": "import { join } from 'path'\nimport { fileURLToPath } from 'url'\n\nimport test from 'ava'\n\nimport { correctStringIdent, pr"
  },
  {
    "path": "cli/src/utils/__tests__/version.spec.ts",
    "chars": 322,
    "preview": "import test from 'ava'\n\nimport { napiEngineRequirement, NapiVersion } from '../version.js'\n\ntest('should generate correc"
  },
  {
    "path": "cli/src/utils/cargo.ts",
    "chars": 789,
    "preview": "import { execSync } from 'node:child_process'\n\nimport { debug } from './log.js'\n\nexport function tryInstallCargoBinary(n"
  },
  {
    "path": "cli/src/utils/config.ts",
    "chars": 6315,
    "preview": "import { underline, yellow } from 'colorette'\nimport { merge, omit } from 'es-toolkit'\n\nimport { fileExists, readFileAsy"
  },
  {
    "path": "cli/src/utils/index.ts",
    "chars": 255,
    "preview": "export * from './log.js'\nexport * from './misc.js'\nexport * from './target.js'\nexport * from './version.js'\nexport * fro"
  },
  {
    "path": "cli/src/utils/log.ts",
    "chars": 924,
    "preview": "import * as colors from 'colorette'\nimport { createDebug } from 'obug'\n\ndeclare module 'obug' {\n  interface Debugger {\n "
  },
  {
    "path": "cli/src/utils/metadata.ts",
    "chars": 2066,
    "preview": "import { spawn } from 'node:child_process'\nimport fs from 'node:fs'\n\nexport type CrateTargetKind =\n  | 'bin'\n  | 'exampl"
  },
  {
    "path": "cli/src/utils/misc.ts",
    "chars": 1318,
    "preview": "import {\n  readFile,\n  writeFile,\n  unlink,\n  copyFile,\n  mkdir,\n  stat,\n  readdir,\n  access,\n} from 'node:fs/promises'\n"
  },
  {
    "path": "cli/src/utils/read-config.ts",
    "chars": 512,
    "preview": "import { resolve } from 'node:path'\n\nimport { readNapiConfig } from './config.js'\n\ninterface MinimalNapiOptions {\n  cwd:"
  },
  {
    "path": "cli/src/utils/target.ts",
    "chars": 5346,
    "preview": "import { execSync } from 'node:child_process'\n\nexport type Platform = NodeJS.Platform | 'wasm' | 'wasi' | 'openharmony'\n"
  },
  {
    "path": "cli/src/utils/typegen.ts",
    "chars": 7437,
    "preview": "import { sortBy } from 'es-toolkit'\n\nimport { readFileAsync } from './misc.js'\n\nconst TOP_LEVEL_NAMESPACE = '__TOP_LEVEL"
  },
  {
    "path": "cli/src/utils/version.ts",
    "chars": 2171,
    "preview": "export enum NapiVersion {\n  Napi1 = 1,\n  Napi2,\n  Napi3,\n  Napi4,\n  Napi5,\n  Napi6,\n  Napi7,\n  Napi8,\n  Napi9,\n}\n\n/// be"
  },
  {
    "path": "cli/tsconfig.json",
    "chars": 496,
    "preview": "{\n  \"extends\": \"../tsconfig.json\",\n  \"compilerOptions\": {\n    \"strict\": true,\n    \"target\": \"ES2022\",\n    \"module\": \"Nod"
  },
  {
    "path": "cli/tsdown.config.ts",
    "chars": 531,
    "preview": "import { defineConfig } from 'tsdown'\n\nexport default defineConfig([\n  {\n    entry: './src/index.ts',\n    fixedExtension"
  },
  {
    "path": "crates/backend/CHANGELOG.md",
    "chars": 5366,
    "preview": "# Changelog\n\nAll notable changes to this project will be documented in this file.\n\nThe format is based on [Keep a Change"
  },
  {
    "path": "crates/backend/Cargo.toml",
    "chars": 624,
    "preview": "[package]\ndescription = \"Codegen backend for napi procedural macro\"\nedition = \"2021\"\nhomepage = \"https://napi.rs\"\nlicens"
  },
  {
    "path": "crates/backend/README.md",
    "chars": 129,
    "preview": "# napi-derive-backend\n\nTake care the ast parsing from `napi-derive` and generate \"bridge\" runtime code for both nodejs a"
  },
  {
    "path": "crates/backend/src/ast.rs",
    "chars": 5658,
    "preview": "use convert_case::Case;\nuse proc_macro2::{Ident, Literal};\nuse syn::{Attribute, Expr, Type};\n\n#[derive(Debug, Clone)]\npu"
  },
  {
    "path": "crates/backend/src/codegen/const.rs",
    "chars": 1741,
    "preview": "use proc_macro2::{Ident, Literal, TokenStream};\nuse quote::ToTokens;\n\nuse crate::{codegen::js_mod_to_token_stream, Bindg"
  },
  {
    "path": "crates/backend/src/codegen/enum.rs",
    "chars": 9486,
    "preview": "use proc_macro2::{Ident, Literal, Span, TokenStream};\nuse quote::ToTokens;\n\nuse crate::{codegen::js_mod_to_token_stream,"
  },
  {
    "path": "crates/backend/src/codegen/fn.rs",
    "chars": 31565,
    "preview": "use proc_macro2::{Ident, Span, TokenStream};\nuse quote::ToTokens;\nuse syn::{spanned::Spanned, Type, TypePath, TypeRefere"
  },
  {
    "path": "crates/backend/src/codegen/struct.rs",
    "chars": 58649,
    "preview": "use std::collections::HashMap;\nuse std::sync::atomic::{AtomicU32, Ordering};\n\nuse proc_macro2::{Ident, Literal, Span, To"
  },
  {
    "path": "crates/backend/src/codegen/type.rs",
    "chars": 263,
    "preview": "use proc_macro2::TokenStream;\nuse quote::ToTokens;\n\nuse crate::{BindgenResult, NapiType, TryToTokens};\n\nimpl TryToTokens"
  },
  {
    "path": "crates/backend/src/codegen.rs",
    "chars": 992,
    "preview": "use proc_macro2::{Ident, Span, TokenStream};\n\nuse crate::BindgenResult;\n\nmod r#const;\nmod r#enum;\nmod r#fn;\nmod r#struct"
  },
  {
    "path": "crates/backend/src/error.rs",
    "chars": 3618,
    "preview": "use proc_macro2::*;\nuse quote::{ToTokens, TokenStreamExt};\nuse syn::parse::Error;\n\n/// Provide a Diagnostic with the giv"
  },
  {
    "path": "crates/backend/src/lib.rs",
    "chars": 3605,
    "preview": "#[macro_use]\nextern crate quote;\n\nuse std::collections::HashMap;\nuse std::sync::LazyLock;\n\nuse proc_macro2::TokenStream;"
  },
  {
    "path": "crates/backend/src/typegen/const.rs",
    "chars": 685,
    "preview": "use super::{ToTypeDef, TypeDef};\n\nuse crate::{\n  ty_to_ts_type,\n  typegen::{add_alias, JSDoc},\n  NapiConst,\n};\n\nimpl ToT"
  },
  {
    "path": "crates/backend/src/typegen/enum.rs",
    "chars": 1059,
    "preview": "use super::{add_alias, ToTypeDef, TypeDef};\nuse crate::{typegen::JSDoc, NapiEnum, NapiEnumValue};\n\nimpl ToTypeDef for Na"
  },
  {
    "path": "crates/backend/src/typegen/fn.rs",
    "chars": 10387,
    "preview": "use std::fmt::{Display, Formatter};\n\nuse convert_case::Case;\nuse quote::ToTokens;\nuse syn::{Member, Pat, PathArguments, "
  },
  {
    "path": "crates/backend/src/typegen/struct.rs",
    "chars": 8448,
    "preview": "use std::collections::HashMap;\nuse std::vec::Vec;\nuse std::{cell::RefCell, iter};\n\nuse super::{add_alias, format_js_prop"
  },
  {
    "path": "crates/backend/src/typegen/type.rs",
    "chars": 599,
    "preview": "use super::{ToTypeDef, TypeDef};\n\nuse crate::{\n  ty_to_ts_type,\n  typegen::{add_alias, JSDoc},\n  NapiType,\n};\n\nimpl ToTy"
  },
  {
    "path": "crates/backend/src/typegen.rs",
    "chars": 32437,
    "preview": "use std::{\n  cell::RefCell,\n  collections::HashMap,\n  fmt::{self, Display, Formatter},\n  sync::LazyLock,\n};\n\nmod r#const"
  },
  {
    "path": "crates/backend/src/util.rs",
    "chars": 281,
    "preview": "use convert_case::{Case, Casing};\n\npub fn to_case<T: AsRef<str>>(input: T, case: Case<'static>) -> String {\n  if input.a"
  },
  {
    "path": "crates/build/CHANGELOG.md",
    "chars": 1264,
    "preview": "# Changelog\n\nAll notable changes to this project will be documented in this file.\n\nThe format is based on [Keep a Change"
  },
  {
    "path": "crates/build/Cargo.toml",
    "chars": 420,
    "preview": "[package]\nauthors = [\"LongYinan <lynweklm@gmail.com>\"]\ndescription = \"N-API build support\"\nedition = \"2021\"\ninclude = [\""
  },
  {
    "path": "crates/build/README.md",
    "chars": 539,
    "preview": "# napi-build\n\n<a href=\"https://docs.rs/crate/napi-build\"><img src=\"https://docs.rs/napi-build/badge.svg\"></img></a>\n<a h"
  },
  {
    "path": "crates/build/src/android.rs",
    "chars": 503,
    "preview": "use std::env;\nuse std::fs;\nuse std::io::{Error, Write};\nuse std::path;\n\n// Workaround from https://github.com/rust-lang/"
  },
  {
    "path": "crates/build/src/lib.rs",
    "chars": 1799,
    "preview": "use std::env;\n\nmod android;\nmod wasi;\nmod windows;\n\npub fn setup() {\n  // compatible with the v2 versions, will remove i"
  },
  {
    "path": "crates/build/src/wasi.rs",
    "chars": 2475,
    "preview": "use std::{env, path::Path};\n\npub fn setup() {\n  let link_dir = env::var(\"EMNAPI_LINK_DIR\").expect(\"EMNAPI_LINK_DIR must "
  },
  {
    "path": "crates/build/src/windows.rs",
    "chars": 1088,
    "preview": "use std::env;\nuse std::path::PathBuf;\n\npub fn setup_gnu() {\n  let libnode_path = search_libnode_path();\n  if let Some(li"
  },
  {
    "path": "crates/macro/CHANGELOG.md",
    "chars": 4705,
    "preview": "# Changelog\n\nAll notable changes to this project will be documented in this file.\n\nThe format is based on [Keep a Change"
  },
  {
    "path": "crates/macro/Cargo.toml",
    "chars": 945,
    "preview": "[package]\nauthors = [\"LongYinan <lynweklm@gmail.com>\", \"Forehalo <forehalo@gmail.com>\"]\ndescription = \"N-API procedural "
  },
  {
    "path": "crates/macro/README.md",
    "chars": 818,
    "preview": "# napi-derive\n\n<a href=\"https://docs.rs/crate/napi-derive\"><img src=\"https://docs.rs/napi-derive/badge.svg\"></img></a>\n<"
  },
  {
    "path": "crates/macro/src/compat_macro.rs",
    "chars": 3216,
    "preview": "use proc_macro2::{Ident, Literal, TokenStream};\nuse quote::{format_ident, quote};\nuse syn::fold::{fold_fn_arg, fold_sign"
  },
  {
    "path": "crates/macro/src/expand/napi.rs",
    "chars": 4025,
    "preview": "use super::typedef;\nuse crate::parser::{attrs::BindgenAttrs, ParseNapi};\nuse napi_derive_backend::{BindgenResult, TryToT"
  },
  {
    "path": "crates/macro/src/expand/noop.rs",
    "chars": 824,
    "preview": "use napi_derive_backend::BindgenResult;\nuse proc_macro2::TokenStream;\nuse quote::ToTokens;\nuse syn::Attribute;\n\npub fn e"
  },
  {
    "path": "crates/macro/src/expand/typedef/noop.rs",
    "chars": 106,
    "preview": "use napi_derive_backend::Napi;\n\npub fn prepare_type_def_file() {}\npub fn output_type_def(_napi: &Napi) {}\n"
  },
  {
    "path": "crates/macro/src/expand/typedef/type_def.rs",
    "chars": 1761,
    "preview": "use std::env;\nuse std::fs;\nuse std::io::{BufWriter, Write};\nuse std::path::PathBuf;\nuse std::sync::LazyLock;\n\nuse napi_d"
  },
  {
    "path": "crates/macro/src/expand/typedef.rs",
    "chars": 261,
    "preview": "#[cfg(all(feature = \"type-def\", not(feature = \"noop\")))]\nmod type_def;\n#[cfg(all(feature = \"type-def\", not(feature = \"no"
  },
  {
    "path": "crates/macro/src/expand.rs",
    "chars": 191,
    "preview": "mod typedef;\n\n#[cfg(feature = \"noop\")]\nmod noop;\n#[cfg(feature = \"noop\")]\npub use self::noop::*;\n\n#[cfg(not(feature = \"n"
  },
  {
    "path": "crates/macro/src/lib.rs",
    "chars": 5708,
    "preview": "#[cfg(feature = \"compat-mode\")]\nmod compat_macro;\nmod expand;\n#[cfg(not(feature = \"noop\"))]\nmod parser;\n\n#[cfg(not(featu"
  },
  {
    "path": "crates/macro/src/parser/attrs.rs",
    "chars": 15984,
    "preview": "use std::cell::Cell;\nuse std::collections::HashMap;\nuse std::sync::{\n  atomic::{AtomicUsize, Ordering},\n  Mutex, OnceLoc"
  },
  {
    "path": "crates/macro/src/parser/mod.rs",
    "chars": 56027,
    "preview": "#[macro_use]\npub mod attrs;\n\nuse std::collections::{HashMap, HashSet};\nuse std::str::Chars;\nuse std::sync::{atomic::Atom"
  },
  {
    "path": "crates/napi/CHANGELOG.md",
    "chars": 9597,
    "preview": "# Changelog\n\nAll notable changes to this project will be documented in this file.\n\nThe format is based on [Keep a Change"
  },
  {
    "path": "crates/napi/Cargo.toml",
    "chars": 3086,
    "preview": "[package]\nauthors = [\"Nathan Sobo <nathan@github.com>\", \"Yinan Long <lynweklm@gmail.com>\"]\ndescription = \"N-API bindings"
  },
  {
    "path": "crates/napi/README.md",
    "chars": 10973,
    "preview": "# napi-rs\n\n> This project was initialized from [xray](https://github.com/atom/xray)\n\nA framework for building compiled `"
  },
  {
    "path": "crates/napi/build.rs",
    "chars": 286,
    "preview": "fn main() {\n  println!(\"cargo::rustc-check-cfg=cfg(tokio_unstable)\");\n  let target_os = std::env::var(\"CARGO_CFG_TARGET_"
  },
  {
    "path": "crates/napi/src/async_cleanup_hook.rs",
    "chars": 733,
    "preview": "use std::mem;\n\nuse crate::{sys, Status};\n\n/// Notice\n/// The hook will be removed if `AsyncCleanupHook` was `dropped`.\n/"
  },
  {
    "path": "crates/napi/src/async_work.rs",
    "chars": 5706,
    "preview": "use std::cell::Cell;\nuse std::marker::PhantomData;\nuse std::mem;\nuse std::os::raw::c_void;\nuse std::panic::UnwindSafe;\nu"
  },
  {
    "path": "crates/napi/src/bindgen_runtime/async_iterator.rs",
    "chars": 13125,
    "preview": "use std::ffi::CStr;\nuse std::future::Future;\nuse std::ptr;\n\nuse crate::{\n  bindgen_runtime::{FromNapiValue, Object, ToNa"
  },
  {
    "path": "crates/napi/src/bindgen_runtime/callback_info.rs",
    "chars": 8490,
    "preview": "use std::cell::Cell;\nuse std::ffi::c_void;\nuse std::ptr;\nuse std::rc::Rc;\n\nuse crate::{bindgen_prelude::*, check_status,"
  },
  {
    "path": "crates/napi/src/bindgen_runtime/env.rs",
    "chars": 602,
    "preview": "use crate::{sys, JsGlobal, Result};\n\nuse super::Array;\n\npub use crate::Env;\n\nimpl Env {\n  pub fn create_array(&self, len"
  },
  {
    "path": "crates/napi/src/bindgen_runtime/error.rs",
    "chars": 276,
    "preview": "#[doc(hidden)]\n#[macro_export]\nmacro_rules! check_status_or_throw {\n  ($env:expr, $code:expr, $($msg:tt)*) => {\n    if l"
  },
  {
    "path": "crates/napi/src/bindgen_runtime/iterator.rs",
    "chars": 17035,
    "preview": "use std::ffi::{c_void, CStr};\nuse std::ptr;\n\nuse crate::Value;\nuse crate::{bindgen_runtime::Unknown, check_status_or_thr"
  },
  {
    "path": "crates/napi/src/bindgen_runtime/js_values/array.rs",
    "chars": 10426,
    "preview": "use std::{marker::PhantomData, ptr};\n\nuse crate::{bindgen_prelude::*, check_status, Value};\n\n#[derive(Clone, Copy)]\npub "
  },
  {
    "path": "crates/napi/src/bindgen_runtime/js_values/arraybuffer.rs",
    "chars": 63392,
    "preview": "use std::ffi::{c_void, CString};\nuse std::marker::PhantomData;\nuse std::mem;\nuse std::ops::Deref;\nuse std::ptr::{self, N"
  },
  {
    "path": "crates/napi/src/bindgen_runtime/js_values/bigint.rs",
    "chars": 9982,
    "preview": "/// We don't implement `FromNapiValue` for `i64` `u64` `i128` `u128` `isize` `usize` here\n/// Because converting directl"
  },
  {
    "path": "crates/napi/src/bindgen_runtime/js_values/boolean.rs",
    "chars": 1216,
    "preview": "use crate::{bindgen_prelude::*, check_status, sys, ValueType};\n\nimpl TypeName for bool {\n  fn type_name() -> &'static st"
  },
  {
    "path": "crates/napi/src/bindgen_runtime/js_values/buffer.rs",
    "chars": 17251,
    "preview": "#[cfg(all(debug_assertions, not(windows), not(target_family = \"wasm\")))]\nuse std::collections::HashSet;\nuse std::ffi::c_"
  },
  {
    "path": "crates/napi/src/bindgen_runtime/js_values/class.rs",
    "chars": 7069,
    "preview": "use std::any::type_name;\nuse std::ffi::CString;\nuse std::marker::PhantomData;\nuse std::ops::{Deref, DerefMut};\nuse std::"
  },
  {
    "path": "crates/napi/src/bindgen_runtime/js_values/date.rs",
    "chars": 4259,
    "preview": "use std::{ptr, str::FromStr};\n\nuse chrono::{DateTime, Local, LocalResult, NaiveDateTime, TimeZone};\n\nuse crate::{bindgen"
  },
  {
    "path": "crates/napi/src/bindgen_runtime/js_values/either.rs",
    "chars": 6939,
    "preview": "use super::{FromNapiValue, ToNapiValue, TypeName, ValidateNapiValue};\nuse crate::{\n  bindgen_runtime::{Null, Undefined, "
  },
  {
    "path": "crates/napi/src/bindgen_runtime/js_values/external.rs",
    "chars": 10141,
    "preview": "use std::{\n  any::TypeId,\n  ffi::c_void,\n  ops::{Deref, DerefMut},\n  ptr,\n};\n\nuse crate::{\n  bindgen_runtime::{\n    sys,"
  },
  {
    "path": "crates/napi/src/bindgen_runtime/js_values/function.rs",
    "chars": 21306,
    "preview": "use std::ptr;\n\nuse super::{Either, FromNapiValue, ToNapiValue, TypeName, Unknown, ValidateNapiValue};\n\n#[cfg(feature = \""
  },
  {
    "path": "crates/napi/src/bindgen_runtime/js_values/map.rs",
    "chars": 7402,
    "preview": "use std::collections::{BTreeMap, HashMap};\nuse std::hash::{BuildHasher, Hash};\n\n#[cfg(feature = \"object_indexmap\")]\nuse "
  },
  {
    "path": "crates/napi/src/bindgen_runtime/js_values/nil.rs",
    "chars": 2496,
    "preview": "use std::ptr;\n\nuse crate::{bindgen_prelude::*, check_status, sys, type_of, Error, Result, Status, ValueType};\n\n#[derive("
  },
  {
    "path": "crates/napi/src/bindgen_runtime/js_values/number.rs",
    "chars": 2843,
    "preview": "use crate::{bindgen_prelude::ToNapiValue, check_status, sys, type_of, Error, Result};\n\nmacro_rules! impl_number_conversi"
  },
  {
    "path": "crates/napi/src/bindgen_runtime/js_values/object.rs",
    "chars": 33246,
    "preview": "use std::any::{type_name, TypeId};\n#[cfg(feature = \"napi6\")]\nuse std::convert::TryFrom;\nuse std::ffi::{c_void, CStr, CSt"
  },
  {
    "path": "crates/napi/src/bindgen_runtime/js_values/promise.rs",
    "chars": 2780,
    "preview": "use std::{\n  cell::Cell,\n  convert::identity,\n  future,\n  pin::Pin,\n  rc::Rc,\n  task::{Context, Poll},\n};\n\nuse futures::"
  },
  {
    "path": "crates/napi/src/bindgen_runtime/js_values/promise_raw.rs",
    "chars": 14560,
    "preview": "use std::ffi::c_void;\nuse std::marker::PhantomData;\nuse std::ptr;\n\nuse crate::bindgen_runtime::Promise;\nuse crate::{\n  b"
  },
  {
    "path": "crates/napi/src/bindgen_runtime/js_values/scope.rs",
    "chars": 6266,
    "preview": "use std::ptr;\n\nuse crate::{bindgen_runtime::FromNapiValue, check_status, sys, Env, JsValue, Result};\n\npub struct HandleS"
  },
  {
    "path": "crates/napi/src/bindgen_runtime/js_values/serde.rs",
    "chars": 6827,
    "preview": "use std::marker::PhantomData;\n#[cfg(feature = \"napi6\")]\nuse std::ptr;\n\nuse serde_json::{Map, Number, Value};\n\nuse crate:"
  },
  {
    "path": "crates/napi/src/bindgen_runtime/js_values/set.rs",
    "chars": 4534,
    "preview": "use std::collections::{BTreeSet, HashSet};\nuse std::hash::{BuildHasher, Hash};\n\n#[cfg(feature = \"object_indexmap\")]\nuse "
  },
  {
    "path": "crates/napi/src/bindgen_runtime/js_values/stream/read.rs",
    "chars": 27595,
    "preview": "use std::{\n  ffi::c_void,\n  marker::PhantomData,\n  mem,\n  pin::Pin,\n  ptr,\n  sync::{\n    atomic::{AtomicBool, Ordering},"
  },
  {
    "path": "crates/napi/src/bindgen_runtime/js_values/stream/write.rs",
    "chars": 3979,
    "preview": "use std::{marker::PhantomData, ptr};\n\nuse crate::{\n  bindgen_prelude::{\n    FromNapiValue, Function, JsObjectValue, Prom"
  },
  {
    "path": "crates/napi/src/bindgen_runtime/js_values/stream.rs",
    "chars": 57,
    "preview": "pub use read::*;\npub use write::*;\n\nmod read;\nmod write;\n"
  },
  {
    "path": "crates/napi/src/bindgen_runtime/js_values/string.rs",
    "chars": 7464,
    "preview": "use std::ffi::c_char;\nuse std::fmt::Display;\nuse std::ops::Deref;\nuse std::ptr;\n\nuse crate::{bindgen_prelude::*, check_s"
  },
  {
    "path": "crates/napi/src/bindgen_runtime/js_values/symbol.rs",
    "chars": 2516,
    "preview": "use std::ptr;\n\nuse crate::{\n  bindgen_runtime::{Env, FromNapiValue, Result, ToNapiValue, TypeName, ValidateNapiValue},\n "
  },
  {
    "path": "crates/napi/src/bindgen_runtime/js_values/task.rs",
    "chars": 6007,
    "preview": "use std::cell::RefCell;\nuse std::ffi::c_void;\nuse std::marker::PhantomData;\nuse std::ptr;\nuse std::rc::Rc;\nuse std::{cel"
  }
]

// ... and 292 more files (download for full content)

About this extraction

This page contains the full source code of the napi-rs/napi-rs GitHub repository, extracted and formatted as plain text for AI agents and large language models (LLMs). The extraction includes 492 files (5.1 MB), approximately 1.4M tokens, and a symbol index with 9209 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.

Copied to clipboard!